Update patchzluda2.bat

This commit is contained in:
patientx 2025-05-31 16:56:39 +03:00 committed by GitHub
parent 21d330b238
commit cd052a3c61
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -87,10 +87,12 @@ echo Copying files to Torch library...
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
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
) 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
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
)