Skip to content

Error loading optimizer state with torch.load weights_only=True default in PyTorch 2.6 #886

Error loading optimizer state with torch.load weights_only=True default in PyTorch 2.6

Error loading optimizer state with torch.load weights_only=True default in PyTorch 2.6 #886

Workflow file for this run

# To run this bot, comment "@bot /style" on a PR
name: Style Bot
on:
issue_comment:
types: [created]
permissions:
contents: write
pull-requests: write
jobs:
style:
uses: huggingface/huggingface_hub/.github/workflows/style-bot-action.yml@main
with:
python_quality_dependencies: "[quality]"
style_command_type: "default"
secrets:
bot_token: ${{ secrets.GITHUB_TOKEN }}