Skip to content

Commit

Permalink
Fix ModelHub tests (#8986)
Browse files Browse the repository at this point in the history
  • Loading branch information
rusty1s committed Feb 28, 2024
1 parent 7282092 commit 9068831
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/nn/test_model_hub.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def test_from_pretrained(model, tmp_path):
model.save_pretrained(save_directory)

model = model.from_pretrained(save_directory)
assert model.model_config == CONFIG
assert isinstance(model, DummyModel)


@withPackage('huggingface_hub')
Expand Down

0 comments on commit 9068831

Please sign in to comment.