Skip to content

Commit 1f635d7

Browse files
jackzhxngfacebook-github-bot
authored andcommitted
Reduce memory requirement on export_llama tests with no params (#11339)
Summary: Reviewed By: larryliu0820 Differential Revision: D75498713
1 parent 5ef38d3 commit 1f635d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/models/llama/model_args.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
@dataclass
66
class ModelArgs:
77
dim: int = 4096
8-
n_layers: int = 8
8+
n_layers: int = 1
99
n_heads: int = 32
1010
n_kv_heads: Optional[int] = None
1111
vocab_size: int = 512 # Arbitrary value, should be defined later by tokenizer.

0 commit comments

Comments
 (0)