Skip to content

Commit 3f1a955

Browse files
committed
removed CUDA 12.8 special case
1 parent 74b5f4d commit 3f1a955

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

init.bash

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,6 @@ if [ ! -f $it ]; then error_exit "$it missing, exiting"; fi
127127
BUILD_BASE=`cat $it`
128128
BUILD_BASE_FILE=$it
129129
BUILD_BASE_SPECIAL="ubuntu22_cuda12.3.2" # this is a special value: when this feature was introduced, will be used to mark exisitng venv if the marker is not present
130-
BUILD_BASE_RTX50xx="ubuntu24_cuda12.8"
131130
echo "-- BUILD_BASE: \"${BUILD_BASE}\""
132131
if test -z ${BUILD_BASE}; then error_exit "Empty BUILD_BASE variable"; fi
133132

@@ -381,13 +380,13 @@ echo -n " python bin: "; which python3
381380
echo -n " pip bin: "; which pip3
382381
echo -n " git bin: "; which git
383382

384-
# CUDA 12.8 special case -- now 2.7.0 is available in testing
385-
if [[ "${BUILD_BASE}" == "${BUILD_BASE_RTX50xx}"* ]]; then
386-
# https://github.com/pytorch/pytorch/issues/149044
387-
echo ""; echo "!! This is a special case, we are going to install the requirements for RTX 50xx series GPUs"
388-
echo " -- Installation CUDA 12.8 Torch 2.7.0 from test"
389-
pip3 install torch==2.7.0 torchvision torchaudio --index-url https://download.pytorch.org/whl/test/cu128
390-
fi
383+
# 20250424: No more CUDA 12.8 special case needed: PyTorch 2.7.0 is available
384+
#if [[ "${BUILD_BASE}" == "${BUILD_BASE_RTX50xx}"* ]]; then
385+
# # https://github.com/pytorch/pytorch/issues/149044
386+
# echo ""; echo "!! This is a special case, we are going to install the requirements for RTX 50xx series GPUs"
387+
# echo " -- Installation CUDA 12.8 Torch 2.7.0 from test"
388+
# pip3 install torch==2.7.0 torchvision torchaudio --index-url https://download.pytorch.org/whl/test/cu128
389+
#fi
391390

392391
# Install ComfyUI's requirements
393392
cd ComfyUI

0 commit comments

Comments
 (0)