Skip to content

Commit 638f21e

Browse files
committed
zluda patcher for hip sdk 6.4.2
1 parent bf8b47c commit 638f21e

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

assets/zluda/patch-zluda-hip64.bat

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
rmdir /S /q zluda
2+
curl -s -L https://github.com/lshqqytiger/ZLUDA/releases/download/rel.854c58e1565c3597e17046d7cc2b1eab96fcdf55/ZLUDA-windows-amd64.zip > zluda.zip
3+
tar -xf zluda.zip
4+
del zluda.zip
5+
copy env\Lib\site-packages\torch\lib\nvrtc64_112_0.dll env\Lib\site-packages\torch\lib\nvrtc_cuda.dll /y
6+
copy zluda\cublas.dll env\Lib\site-packages\torch\lib\cublas64_11.dll /y
7+
copy zluda\cusparse.dll env\Lib\site-packages\torch\lib\cusparse64_11.dll /y
8+
copy zluda\nvrtc.dll env\Lib\site-packages\torch\lib\nvrtc64_112_0.dll /y
9+
copy zluda\cufft.dll env\Lib\site-packages\torch\lib\cufft64_10.dll /y
10+
copy zluda\cufftw.dll env\Lib\site-packages\torch\lib\cufftw64_10.dll /y
11+
pause

0 commit comments

Comments
 (0)