You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looks like PyTorch 2.4 was just released today, and they throw a FutureWarning for an upcoming API change (see changelog ):
User warning when using torch.load with default weights_only=False value (pytorch/pytorch#129239, pytorch/pytorch#129396, pytorch/pytorch#129509).
A warning is now raised if the weights_only value is not specified during a call to torch.load, encouraging users to
adopt the safest practice when loading weights.
I started seeing this in the CI's of another project I work on: https://github.com/lina-usc/pylossless/actions/runs/10085318831/job/27886113913
Looks like PyTorch 2.4 was just released today, and they throw a
FutureWarning
for an upcoming API change (see changelog ):It appears that the offending line is here:
https://github.com/mne-tools/mne-icalabel/blob/1c36710dac5600942d976ade0c2ee43afef2e368/mne_icalabel/iclabel/network/torch.py#L201C1-L202C1
I can open up a PR in the morning unless someone else beats me to it.
The text was updated successfully, but these errors were encountered: