File tree Expand file tree Collapse file tree 5 files changed +11
-5
lines changed
Expand file tree Collapse file tree 5 files changed +11
-5
lines changed Original file line number Diff line number Diff line change 6161 env :
6262 PYTHONPATH : ${{ github.workspace }}
6363 TEST_E2E : true
64- TEST_E2E_COMFY_INSTALL_FLAGS : --nvidia --cuda-version 11.8
64+ TEST_E2E_COMFY_INSTALL_FLAGS : --nvidia --cuda-version 12.4
6565 TEST_E2E_COMFY_LAUNCH_FLAGS_EXTRA : " "
6666 run : |
6767 pytest tests/e2e
Original file line number Diff line number Diff line change 2929 python -m pip install --upgrade pip
3030 pip install pytest
3131 pip install -e .
32- comfy --skip-prompt --workspace ./ComfyUI install --fast-deps --nvidia --cuda-version 12.1 --skip-manager
32+ comfy --skip-prompt --workspace ./ComfyUI install --fast-deps --nvidia --cuda-version 12.4 --skip-manager
3333 comfy --workspace ./ComfyUI standalone --platform windows --proc x86_64
3434 ls
3535 comfy standalone --rehydrate --platform windows --proc x86_64
Original file line number Diff line number Diff line change @@ -198,7 +198,7 @@ def install(
198198 callback = g_gpu_exclusivity .validate ,
199199 ),
200200 ] = None ,
201- cuda_version : Annotated [CUDAVersion , typer .Option (show_default = True )] = CUDAVersion .v12_1 ,
201+ cuda_version : Annotated [CUDAVersion , typer .Option (show_default = True )] = CUDAVersion .v12_4 ,
202202 amd : Annotated [
203203 Optional [bool ],
204204 typer .Option (
Original file line number Diff line number Diff line change @@ -68,7 +68,12 @@ def pip_install_comfyui_dependencies(
6868 "torchvision" ,
6969 "torchaudio" ,
7070 ]
71- if plat == constants .OS .WINDOWS and cuda_version == constants .CUDAVersion .v12_1 :
71+ if plat == constants .OS .WINDOWS and cuda_version == constants .CUDAVersion .v12_4 :
72+ base_command += [
73+ "--extra-index-url" ,
74+ "https://download.pytorch.org/whl/cu124" ,
75+ ]
76+ elif plat == constants .OS .WINDOWS and cuda_version == constants .CUDAVersion .v12_1 :
7277 base_command += [
7378 "--extra-index-url" ,
7479 "https://download.pytorch.org/whl/cu121" ,
@@ -159,7 +164,7 @@ def execute(
159164 commit : Optional [str ] = None ,
160165 manager_commit : Optional [str ] = None ,
161166 gpu : constants .GPU_OPTION = None ,
162- cuda_version : constants .CUDAVersion = constants .CUDAVersion .v12_1 ,
167+ cuda_version : constants .CUDAVersion = constants .CUDAVersion .v12_4 ,
163168 plat : constants .OS = None ,
164169 skip_torch_or_directml : bool = False ,
165170 skip_requirement : bool = False ,
Original file line number Diff line number Diff line change @@ -60,6 +60,7 @@ class PROC(str, Enum):
6060
6161
6262class CUDAVersion (str , Enum ):
63+ v12_4 = "12.4"
6364 v12_1 = "12.1"
6465 v11_8 = "11.8"
6566
You can’t perform that action at this time.
0 commit comments