Set weights_only
in tests to avoid warnings in PyTorch 2.4
#9169
Loading
weights_only
in tests to avoid warnings in PyTorch 2.4
#9169