Skip to content

Commit 93507d2

Browse files
authored
Omni: update comfyui gguf of windows (#322)
1 parent 19f4c2d commit 93507d2

File tree

1 file changed

+9
-17
lines changed

1 file changed

+9
-17
lines changed

omni/comfyui_windows_setup/setup_portable_env.bat

Lines changed: 9 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -327,28 +327,20 @@ if exist comfyui_controlnet_aux (
327327
)
328328
)
329329

330-
REM --- ComfyUI-GGUF ---
330+
REM --- ComfyUI-GGUF-XPU ---
331331
echo.
332-
echo Installing ComfyUI-GGUF...
333-
set "GGUF_COMMIT=6ea2651e7df66d7585f6ffee804b20e92fb38b8a"
334-
set "GGUF_PATCH=%PATCHES_DIR%\comfyui_gguf_xpu.patch"
332+
echo Installing ComfyUI-GGUF-XPU...
333+
set "GGUF_COMMIT=4b8a633e8434036820a2bb9d18cb77ae691e788c"
335334

336-
if exist ComfyUI-GGUF (
337-
echo ComfyUI-GGUF already exists, skipping...
335+
if exist ComfyUI-GGUF-XPU (
336+
echo ComfyUI-GGUF-XPU already exists, skipping...
338337
) else (
339-
git clone https://github.com/city96/ComfyUI-GGUF.git
338+
git clone https://github.com/analytics-zoo/ComfyUI-GGUF-XPU.git
340339
if errorlevel 1 (
341-
echo WARNING: Failed to clone ComfyUI-GGUF
340+
echo WARNING: Failed to clone ComfyUI-GGUF-XPU
342341
) else (
343-
cd ComfyUI-GGUF
342+
cd ComfyUI-GGUF-XPU
344343
git checkout %GGUF_COMMIT%
345-
if exist "%GGUF_PATCH%" (
346-
echo Applying XPU patch to ComfyUI-GGUF...
347-
git apply "%GGUF_PATCH%"
348-
if errorlevel 1 (
349-
echo WARNING: Failed to apply GGUF patch
350-
)
351-
)
352344
"%PYTHON_EXE%" -m pip install -r requirements.txt
353345
cd ..
354346
)
@@ -485,7 +477,7 @@ echo ^| +-- comfyui-manager
485477
echo ^| +-- comfyui-videohelpersuite
486478
echo ^| +-- comfyui-easy-use
487479
echo ^| +-- comfyui_controlnet_aux
488-
echo ^| +-- ComfyUI-GGUF
480+
echo ^| +-- ComfyUI-GGUF-XPU
489481
echo ^| +-- ComfyUI-KJNodes
490482
echo ^| +-- ComfyUI-CacheDiT
491483
echo +-- run_comfyui.bat (Launcher)

0 commit comments

Comments
 (0)