mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-01-23 04:40:15 +08:00
Update patchzluda2.bat
This commit is contained in:
parent
21d330b238
commit
cd052a3c61
@ -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
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user