From 074d0ec8e50a9f45b484cd9b36efab2873dc1e86 Mon Sep 17 00:00:00 2001 From: David Hall Date: Tue, 3 Dec 2024 00:23:07 -0800 Subject: [PATCH] ok we're good --- tests/test_export_to_hf.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/tests/test_export_to_hf.py b/tests/test_export_to_hf.py index 31d44d34f..2e86900c6 100644 --- a/tests/test_export_to_hf.py +++ b/tests/test_export_to_hf.py @@ -41,13 +41,7 @@ def test_export_lm_to_hf(): config = export_lm_to_hf.ConvertLmConfig( checkpoint_path=f"{tmpdir}/ckpt", output_dir=f"{tmpdir}/output", - model=export_lm_to_hf.Gpt2Config( - num_layers=2, - num_heads=2, - seq_len=64, - use_flash_attention=True, - hidden_dim=32, - ), + model=model_config, ) export_lm_to_hf.main(config)