Skip to content

Commit

Permalink
Merge branch 'main' into qkgn
Browse files Browse the repository at this point in the history
  • Loading branch information
vchiley authored Jan 15, 2024
2 parents 51b8942 + b40b805 commit b1fd3dd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/a_scripts/inference/test_convert_composer_to_hf.py
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,8 @@ def test_huggingface_conversion_callback_interval(
mlflow_logger_mock.save_model = MagicMock()
mlflow_logger_mock.register_model = MagicMock()
mlflow_logger_mock.model_registry_prefix = ''
mlflow_logger_mock._experiment_id = 'mlflow-experiment-id'
mlflow_logger_mock._run_id = 'mlflow-run-id'
trainer = Trainer(
model=original_model,
device='gpu',
Expand Down Expand Up @@ -534,6 +536,8 @@ def test_huggingface_conversion_callback(
mlflow_logger_mock.save_model = MagicMock()
mlflow_logger_mock.register_model = MagicMock()
mlflow_logger_mock.model_registry_prefix = ''
mlflow_logger_mock._experiment_id = 'mlflow-experiment-id'
mlflow_logger_mock._run_id = 'mlflow-run-id'
trainer = Trainer(
model=original_model,
device='gpu',
Expand Down

0 comments on commit b1fd3dd

Please sign in to comment.