Skip to content

Update torch wheel urls #481

Update torch wheel urls

Update torch wheel urls #481

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