Skip to content

Commit

Permalink
Update pypi-distribution-reusable.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
ewanwm authored Sep 24, 2024
1 parent b344de2 commit b1ca2d2
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/pypi-distribution-reusable.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,11 @@ jobs:
echo gcc version: &&
gcc --version &&
export BUILD_WITH_CUDA=1 &&
export TORCH_CUDA_ARCH_LIST="8.0 8.6 8.9 9.0"
CIBW_ENVIRONMENT: PATH=$PATH:/usr/local/cuda/bin
export TORCH_CUDA_ARCH_LIST="8.0 8.6 8.9 9.0" &&
python -c 'import site; print(site.getsitepackages())
CIBW_ENVIRONMENT: >
PATH=$PATH:/usr/local/cuda/bin &&
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$(python -c 'import site; print(site.getsitepackages()[0])') &&
CIBW_BEFORE_BUILD: python -m site


Expand Down

0 comments on commit b1ca2d2

Please sign in to comment.