Skip to content

Commit 7ddb4f8

Browse files
committed
weights_only=False for hydra
1 parent 54b859a commit 7ddb4f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/tests_pytorch/models/test_hparams.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -791,7 +791,7 @@ def __init__(self, args_0, args_1, args_2, kwarg_1=None):
791791
logger=False,
792792
)
793793
trainer.fit(model)
794-
_ = TestHydraModel.load_from_checkpoint(checkpoint_callback.best_model_path)
794+
_ = TestHydraModel.load_from_checkpoint(checkpoint_callback.best_model_path, weights_only=False)
795795

796796

797797
@pytest.mark.parametrize("ignore", ["arg2", ("arg2", "arg3")])

0 commit comments

Comments
 (0)