mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-01-10 14:20:49 +08:00
corrected the copying part , now nightly builds correctly copied
This commit is contained in:
parent
1442e34d9e
commit
47f74f2265
@ -84,9 +84,15 @@ if not exist "%torch_dir%" (
|
||||
|
||||
:: Copy necessary files
|
||||
echo Copying files to Torch library...
|
||||
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\nvrtc.dll "%torch_dir%\nvrtc64_112_0.dll" /Y >nul 2>&1
|
||||
if "%target_dir%"=="zluda" (
|
||||
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 nvrtc.dll "%torch_dir%\nvrtc64_112_0.dll" /Y >nul 2>&1
|
||||
) else (
|
||||
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\nvrtc.dll "%torch_dir%\nvrtc64_112_0.dll" /Y >nul 2>&1
|
||||
)
|
||||
|
||||
if "%target_dir%"=="zluda" (
|
||||
cd ..
|
||||
@ -98,4 +104,4 @@ echo * ZLUDA has been successfully patched from the URL: %zl%
|
||||
echo.
|
||||
echo Press any key to close.
|
||||
pause
|
||||
exit /b
|
||||
exit /b
|
||||
|
||||
Loading…
Reference in New Issue
Block a user