Skip to content

Commit 762333d

Browse files
authored
Reduce memory requirement on export_llama tests with no params (#11175)
Differential Revision: D75498713 Pull Request resolved: #11339
1 parent 93a1b85 commit 762333d

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
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.

examples/models/llama/tests/test_export_llama_lib.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919

2020

2121
class ExportLlamaLibTest(unittest.TestCase):
22-
@unittest.skip("Keeps failing on trunk, temporarily skip")
2322
def test_has_expected_ops_and_op_counts(self):
2423
"""
2524
Checks the presence of unwanted expensive ops.

0 commit comments

Comments
 (0)