mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-07-21 23:41:28 +08:00
Update patchzluda2.bat
This commit is contained in:
@@ -87,10 +87,12 @@ echo Copying files to Torch library...
|
|||||||
if "%target_dir%"=="zluda" (
|
if "%target_dir%"=="zluda" (
|
||||||
copy cublas.dll "%torch_dir%\cublas64_11.dll" /Y >nul 2>&1
|
copy cublas.dll "%torch_dir%\cublas64_11.dll" /Y >nul 2>&1
|
||||||
copy cusparse.dll "%torch_dir%\cusparse64_11.dll" /Y >nul 2>&1
|
copy cusparse.dll "%torch_dir%\cusparse64_11.dll" /Y >nul 2>&1
|
||||||
|
rename "%torch_dir%\nvrtc64_112_0.dll" nvrtc_cuda.dll >nul 2>&1
|
||||||
copy nvrtc.dll "%torch_dir%\nvrtc64_112_0.dll" /Y >nul 2>&1
|
copy nvrtc.dll "%torch_dir%\nvrtc64_112_0.dll" /Y >nul 2>&1
|
||||||
) else (
|
) else (
|
||||||
copy zluda\cublas.dll "%torch_dir%\cublas64_11.dll" /Y >nul 2>&1
|
copy zluda\cublas.dll "%torch_dir%\cublas64_11.dll" /Y >nul 2>&1
|
||||||
copy zluda\cusparse.dll "%torch_dir%\cusparse64_11.dll" /Y >nul 2>&1
|
copy zluda\cusparse.dll "%torch_dir%\cusparse64_11.dll" /Y >nul 2>&1
|
||||||
|
rename "%torch_dir%\nvrtc64_112_0.dll" nvrtc_cuda.dll >nul 2>&1
|
||||||
copy zluda\nvrtc.dll "%torch_dir%\nvrtc64_112_0.dll" /Y >nul 2>&1
|
copy zluda\nvrtc.dll "%torch_dir%\nvrtc64_112_0.dll" /Y >nul 2>&1
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user