Skip to content
This repository has been archived by the owner on Nov 25, 2024. It is now read-only.

Commit

Permalink
change pytorch cu121 to stable to fix ci (#97)
Browse files Browse the repository at this point in the history
This PR is to fix wheel-test in CI.
@chuangz0 also helped find the root course:
Pytorch cu121 nightly seems will initialize CUDA at import time, which will cause later forked subprocess failed in CUDA calls.
Fix:
Change pytorch cu121 back to stable.

Authors:
  - https://github.com/dongxuy04

Approvers:
  - Chuang Zhu (https://github.com/chuangz0)
  - Tingyu Wang (https://github.com/tingyu66)
  - Brad Rees (https://github.com/BradReesWork)
  - Ray Douglass (https://github.com/raydouglass)

URL: #97
  • Loading branch information
dongxuy04 authored Nov 21, 2023
1 parent 200decd commit 02794d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ci/test_wheel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ python -m pip install $(echo ./dist/pylibwholegraph*.whl)
PKG_CUDA_VER="$(echo ${CUDA_VERSION} | cut -d '.' -f1,2 | tr -d '.')"
PKG_CUDA_VER_MAJOR=${PKG_CUDA_VER:0:2}
if [[ "${PKG_CUDA_VER_MAJOR}" == "12" ]]; then
INDEX_URL="https://download.pytorch.org/whl/nightly/cu121"
INDEX_URL="https://download.pytorch.org/whl/cu121"
else
INDEX_URL="https://download.pytorch.org/whl/cu${PKG_CUDA_VER}"
fi
Expand Down

0 comments on commit 02794d9

Please sign in to comment.