Skip to content

Commit

Permalink
Actions: Fix torch URL
Browse files Browse the repository at this point in the history
We only build wheels for cuda 12

Signed-off-by: kingbri <bdashore3@proton.me>
  • Loading branch information
bdashore3 committed Feb 2, 2024
1 parent 0280f3e commit e4f2b9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
if (!(mamba list cuda)[-1].contains('cuda')) {sleep -s 10; mamba install -y 'cuda' $cudaChannels.TrimEnd().Split()}
if (!(mamba list cuda)[-1].contains('cuda')) {throw 'CUDA Toolkit failed to install!'}
python -m pip install --upgrade build setuptools wheel packaging ninja torch==${{ matrix.torchver }} --extra-index-url "https://download.pytorch.org/whl/cu$cudaVersionPytorch"
python -m pip install --upgrade build setuptools wheel packaging ninja torch==${{ matrix.torchver }} --extra-index-url "https://download.pytorch.org/whl/cu121"
- name: Build Wheel
id: build-wheel
Expand Down

0 comments on commit e4f2b9b

Please # to comment.