Skip to content

Commit

Permalink
update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
kentechx committed Jul 25, 2023
1 parent 2e86f2c commit 1ed20ca
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: cuda-toolkit
uses: Jimver/[email protected]
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
Expand All @@ -28,6 +30,8 @@ jobs:
python -m pip install --upgrade pip
pip install build
pip install torch==2.0.0
python -c "import torch; print('PyTorch:', torch.__version__)"
python -c "import torch; print('CUDA:', torch.version.cuda)"
- name: Build package
run: python setup.py sdist
- name: Publish package
Expand Down

0 comments on commit 1ed20ca

Please sign in to comment.