Skip to content

Update torch.load calls to include weights_only parameter#16

Open
Tauheed-Elahee wants to merge 2 commits intoJoshEngels:mainfrom
Tauheed-Elahee:torch-load-parameter
Open

Update torch.load calls to include weights_only parameter#16
Tauheed-Elahee wants to merge 2 commits intoJoshEngels:mainfrom
Tauheed-Elahee:torch-load-parameter

Conversation

@Tauheed-Elahee
Copy link

Fix for #14

Since PyTorch 2.6 weights_only parameter default value has been changed.

See changelog for PyTorch 2.6 here: https://github.com/pytorch/pytorch/releases/tag/v2.6.0

New pull request with a better name for the branch than a generic path-1 as was used in #15 .

@Tauheed-Elahee Tauheed-Elahee changed the title Torch load parameter Update torch.load calls to include weights_only parameter Mar 12, 2026
Tauheed-Elahee added a commit to Tauheed-Elahee/MultiDimensionalFeatures that referenced this pull request Mar 12, 2026
…ved: keep pathlib paths + add weights_only=False
Tauheed-Elahee added a commit to Tauheed-Elahee/MultiDimensionalFeatures that referenced this pull request Mar 13, 2026
…ved: keep pathlib paths + add weights_only=False
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant