Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
milocress committed Mar 29, 2024
1 parent f32bb33 commit 133d6ba
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/a_scripts/inference/test_convert_composer_to_hf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 133d6ba

Please sign in to comment.