Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com>
  • Loading branch information
akoumpa committed Aug 27, 2024
1 parent abb6bd6 commit 8a76d36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/collections/llm/gpt/model/test_model_import.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def generate_twolayer_checkpoints(config_name, hf_id):
from transformers import AutoConfig, AutoModel, AutoTokenizer

config = AutoConfig.from_pretrained(hf_id, trust_remote_code=True)
# Redune number of layers to two.
# Reduce number of layers to two.
if hasattr(config, 'num_hidden_layers'):
print(config.num_hidden_layers)
config.num_hidden_layers = 2
Expand Down

0 comments on commit 8a76d36

Please sign in to comment.