Update torch wheel urls #560
This file contains 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 torch wheel urls | |
on: | |
schedule: | |
- cron: '0 0 * * *' | |
workflow_dispatch: | |
jobs: | |
generate-image: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: "3.7.12" | |
- name: update wheel urls | |
run: | | |
cd colossalai/torch_build | |
pip install -r ./requirements.txt | |
python ./crawl_torch_distribution.py | |
pwd | |
- name: Commit changes | |
run: | | |
git config user.name "github-actions[bot]" | |
git config user.email "[email protected]" | |
git add . | |
git diff --staged --quiet || git commit -m "Update torch wheel urls" | |
git push |