Skip to content

Commit

Permalink
fix: restore pytorch DLL replacement
Browse files Browse the repository at this point in the history
  • Loading branch information
mat-sz committed Jan 4, 2025
1 parent f33804c commit d18ca43
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,20 @@ jobs:
steps:
- name: Prepare ZLUDA
run: |
mkdir -p python/Lib/site-packages/torch/lib
curl -L -o zluda.zip ${{ matrix.build.zluda_url }}
unzip zluda.zip
cp zluda/cublas.dll zluda/cublas64_11.dll
cp zluda/cusparse.dll zluda/cusparse64_11.dll
cp zluda/nvrtc.dll zluda/nvrtc64_112_0.dll
cp zluda/cublas.dll python/Lib/site-packages/torch/lib/cublas64_11.dll
cp zluda/cusparse.dll python/Lib/site-packages/torch/lib/cusparse64_11.dll
cp zluda/nvrtc.dll python/Lib/site-packages/torch/lib/nvrtc64_112_0.dll
cp -r zluda python/zluda
- name: Build artifact
run: |
cd zluda
cd python
tar -cf - * | brotli -6 > /tmp/${{ env.artifact_name }}
- name: Upload artifact
Expand Down

0 comments on commit d18ca43

Please sign in to comment.