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 be39a5b commit fb663ce
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pypi-distribution-reusable.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,12 @@ jobs:
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 LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$(python -c 'import site; print(site.getsitepackages()[0])')/torch/lib/
PATH=$PATH:/usr/local/cuda/bin LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$(python -c 'import sys; print(sys.prefix + "/lib/python" + sys.version[:3] + "/site-packages")')/torch/lib/
CIBW_BEFORE_BUILD: >
python -m site &&
python -c 'import site; print(site.getsitepackages())' &&
python -c 'import sys; print(sys.prefix + "/lib/python" + sys.version[:3] + "/site-packages")' &&
echo $LD_LIBRARY_PATH &&
ls $(python -c 'import site; print(site.getsitepackages()[0])')
ls $(python -c 'import sys; print(sys.prefix + "/lib/python" + sys.version[:3] + "/site-packages")')
#- name: Build wheels
Expand Down

0 comments on commit fb663ce

Please sign in to comment.