mirror of https://github.com/commaai/tinygrad.git
revert hsa autogen removal (#4914)
* Revert "only install comgr in AMD CI (#4909)"
This reverts commit 7f03420d05
.
* rocm-llvm only removal
This commit is contained in:
parent
58cf6eaba9
commit
7f3d9e6d94
|
@ -451,7 +451,7 @@ jobs:
|
|||
EOF
|
||||
echo -e 'Package: *\nPin: release o=repo.radeon.com\nPin-Priority: 600' | sudo tee /etc/apt/preferences.d/rocm-pin-600
|
||||
sudo apt update || true
|
||||
sudo apt install --no-install-recommends --allow-unauthenticated -y comgr
|
||||
sudo apt install --no-install-recommends --allow-unauthenticated -y hsa-rocr comgr hsa-rocr-dev
|
||||
curl -s https://api.github.com/repos/Qazalin/remu/releases/latest | \
|
||||
jq -r '.assets[] | select(.name == "libremu.so").browser_download_url' | \
|
||||
sudo xargs curl -L -o /usr/local/lib/libremu.so
|
||||
|
@ -484,10 +484,13 @@ jobs:
|
|||
- name: Verify AMD autogen
|
||||
if: matrix.backend == 'amd'
|
||||
run: |
|
||||
cp tinygrad/runtime/autogen/hsa.py /tmp/hsa.py.bak
|
||||
cp tinygrad/runtime/autogen/comgr.py /tmp/comgr.py.bak
|
||||
cp tinygrad/runtime/autogen/amd_gpu.py /tmp/amd_gpu.py.bak
|
||||
./autogen_stubs.sh hsa
|
||||
./autogen_stubs.sh comgr
|
||||
./autogen_stubs.sh amd
|
||||
diff /tmp/hsa.py.bak tinygrad/runtime/autogen/hsa.py
|
||||
diff /tmp/comgr.py.bak tinygrad/runtime/autogen/comgr.py
|
||||
diff /tmp/amd_gpu.py.bak tinygrad/runtime/autogen/amd_gpu.py
|
||||
- name: Run pytest (not cuda or amd)
|
||||
|
|
Loading…
Reference in New Issue