diff --git a/tests/a_scripts/inference/test_convert_composer_to_hf.py b/tests/a_scripts/inference/test_convert_composer_to_hf.py index f9032d44df..41254e6ba9 100644 --- a/tests/a_scripts/inference/test_convert_composer_to_hf.py +++ b/tests/a_scripts/inference/test_convert_composer_to_hf.py @@ -725,7 +725,8 @@ def test_huggingface_conversion_callback( device_batch_size, ) - original_model = build_composer_model(model, model_cfg, tokenizer) + original_model = build_composer_model(model_cfg['name'], model_cfg, + tokenizer) optimizer_name = optimizer_config.pop('name') optimizer = build_optimizer(original_model, optimizer_name, optimizer_config)