Skip to content

Commit

Permalink
FIX install correct cupy in cuda 12 wheel tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dantegd committed Mar 3, 2024
1 parent 9824dff commit ff29ec7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ci/build_wheel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ sed -r -i "s/pylibraft(.*)\"/pylibraft${PACKAGE_CUDA_SUFFIX}\1${alpha_spec}\"/g"

if [[ $PACKAGE_CUDA_SUFFIX == "-cu12" ]]; then
sed -i "s/cuda-python[<=>\.,0-9a]*/cuda-python>=12.0,<13.0a0/g" ${pyproject_file}
sed -i "s/cupy-cuda11x/cupy-cuda12x/g" ${pyproject_file}
fi

cd "${package_dir}"
Expand Down

0 comments on commit ff29ec7

Please sign in to comment.