Skip to content

Reduce memory requirement on export_llama tests with no params (#11175) #11339

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 5, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/models/llama/model_args.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
@dataclass
class ModelArgs:
dim: int = 4096
n_layers: int = 8
n_layers: int = 1
n_heads: int = 32
n_kv_heads: Optional[int] = None
vocab_size: int = 512 # Arbitrary value, should be defined later by tokenizer.
Expand Down
1 change: 0 additions & 1 deletion examples/models/llama/tests/test_export_llama_lib.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@


class ExportLlamaLibTest(unittest.TestCase):
@unittest.skip("Keeps failing on trunk, temporarily skip")
def test_has_expected_ops_and_op_counts(self):
"""
Checks the presence of unwanted expensive ops.
Expand Down
Loading