Skip to content

Commit

Permalink
llama 3.1 has correct max_seq_len for all versions (#2203)
Browse files Browse the repository at this point in the history
  • Loading branch information
akashc1 authored Jan 10, 2025
1 parent b68cddd commit 262122b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions torchtune/models/llama3_1/_model_builders.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def llama3_1_405b() -> TransformerDecoder:
num_heads=128,
num_kv_heads=8,
embed_dim=16384,
max_seq_len=8192,
max_seq_len=131072,
intermediate_dim=53248,
attn_dropout=0.0,
norm_eps=1e-5,
Expand Down Expand Up @@ -236,7 +236,7 @@ def lora_llama3_1_405b(
num_heads=128,
num_kv_heads=8,
embed_dim=16384,
max_seq_len=8192,
max_seq_len=131072,
intermediate_dim=53248,
attn_dropout=0.0,
norm_eps=1e-5,
Expand Down

0 comments on commit 262122b

Please sign in to comment.