Fix tf32 issue: set torch.backends.cudnn.conv.fp32_precision explic…
#650
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: Update Transformers metadata | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - update_transformers_metadata* | |
| jobs: | |
| build_and_package: | |
| runs-on: ubuntu-22.04 | |
| defaults: | |
| run: | |
| shell: bash -l {0} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup environment | |
| run: | | |
| pip install --upgrade pip | |
| pip install datasets pandas | |
| pip install .[torch] | |
| - name: Update metadata | |
| env: | |
| HF_TOKEN: ${{ secrets.LYSANDRE_HF_TOKEN }} | |
| run: | | |
| python utils/update_metadata.py --token "$HF_TOKEN" --commit_sha ${{ github.sha }} |