Re-enable ROCm tests

This commit is contained in:
Benjamin Berman 2024-10-17 11:16:17 -07:00
parent a83b561ea7
commit 7587e42d8b

View File

@ -54,6 +54,8 @@ jobs:
container: "ubuntu:22.04" container: "ubuntu:22.04"
- labels: [self-hosted, Linux, X64, cuda-3060-12gb] - labels: [self-hosted, Linux, X64, cuda-3060-12gb]
container: "nvcr.io/nvidia/pytorch:24.03-py3" container: "nvcr.io/nvidia/pytorch:24.03-py3"
- labels: [self-hosted, Linux, X64, rocm-7600-8gb]
container: "rocm/pytorch:rocm6.2.3_ubuntu22.04_py3.10_pytorch_release_2.3.0"
steps: steps:
- run: | - run: |
apt update apt update
@ -72,11 +74,8 @@ jobs:
- name: Run tests - name: Run tests
run: | run: |
export HSA_OVERRIDE_GFX_VERSION=11.0.0 export HSA_OVERRIDE_GFX_VERSION=11.0.0
export TORCH_BLAS_PREFER_HIPBLASLT=0
export HIP_VISIBLE_DEVICES=0 export HIP_VISIBLE_DEVICES=0
export PYTORCH_HIP_ALLOC_CONF=expandable_segments:True nvidia-smi || rocminfo || true
export NUMBA_THREADING_LAYER=omp
export AMD_SERIALIZE_KERNEL=1
pytest -v tests/unit pytest -v tests/unit
- name: Lint for errors - name: Lint for errors
run: | run: |