From 02794d9034021dfab2b6ca143a2a6757df2528dd Mon Sep 17 00:00:00 2001 From: dongxuy04 <78518666+dongxuy04@users.noreply.github.com> Date: Tue, 21 Nov 2023 22:55:24 +0800 Subject: [PATCH] change pytorch cu121 to stable to fix ci (#97) 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: https://github.com/rapidsai/wholegraph/pull/97 --- ci/test_wheel.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/test_wheel.sh b/ci/test_wheel.sh index c89506532..041333d3a 100755 --- a/ci/test_wheel.sh +++ b/ci/test_wheel.sh @@ -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