Skip to content

Commit c08d358

Browse files
Update run.py
1 parent 973ec40 commit c08d358

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

recommendation/dlrm/run.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def run_single_pass(torch_runner, criteo):
8484
qr_threshold=200,
8585
md_threshold=200,
8686
)
87-
dlrm.load_state_dict(torch.load(model_path)["state_dict"])
87+
dlrm.load_state_dict(torch.load(model_path, weights_only=False)["state_dict"])
8888

8989
runner = PyTorchRunner(dlrm, example_inputs=dataset.get_inputs(), skip_script=True)
9090

0 commit comments

Comments
 (0)