Skip to content

Commit

Permalink
torch version string fix
Browse files Browse the repository at this point in the history
  • Loading branch information
teddykoker committed Jul 26, 2023
1 parent 6bf7968 commit ec52598
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
run: |
export FORCE_CUDA=1
export TORCH_CUDA_ARCH_LIST="3.5;5.0+PTX;6.0;7.0;7.5;8.0;8.6"
TORCH_VERSION=`echo "pt${{ matrix.torch-version }}" | sed "s/^\([0-9]\+\.[0-9]\+\).*$/\1/" | sed "s/\.//g"`
TORCH_VERSION=`echo "pt${{ matrix.torch-version }}" | sed "s/..$//" | sed "s/\.//g"`
CUDA_VERSION=`echo ${{ matrix.cuda-version }}`
export TORCHSORT_VERSION_SUFFIX="+$TORCH_VERSION$CUDA_VERSION"
python3 -m pip install wheel
Expand Down

0 comments on commit ec52598

Please sign in to comment.