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
This commit was created on GitHub.com and signed with GitHub’s verified signature.
What's Changed
Fix compatibility with PyTorch 2.11.0:
Add trust_repo=True to torch.hub.load() and torch.hub.list() calls (PyTorch 2.11 changed the default from None to "check", breaking non-interactive usage)
Explicitly pass weights_only=False to torch.hub.load_state_dict_from_url() and torch.load() since checkpoints contain config dicts alongside weights
Use Python 3.12 for pyright CI workflow (compatible with requires-python = ">=3.9,<3.13")