Cannot copy out of meta tensor; no data! Please use torch.nn.Module.to_empty() instead of torch.nn.Module.to() when moving module from meta to a different device. #4398
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: PR 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]" | |
| secrets: | |
| bot_token: ${{ secrets.HF_STYLE_BOT_ACTION }} |