diff --git a/.github/workflows/self-push-amd.yml b/.github/workflows/self-push-amd.yml index 7d548c440f8..f08e42283a3 100644 --- a/.github/workflows/self-push-amd.yml +++ b/.github/workflows/self-push-amd.yml @@ -22,7 +22,7 @@ jobs: strategy: matrix: machine_type: [single-gpu, multi-gpu] - runs-on: [rocm, '${{ matrix.machine_type }}', '${{ inputs.gpu_flavor }}'] + runs-on: rocm container: image: huggingface/transformers-pytorch-amd-gpu-push-ci # <--- We test only for PyTorch for now options: --device /dev/kfd --device /dev/dri --env HIP_VISIBLE_DEVICES --env ROCR_VISIBLE_DEVICES --shm-size "16gb" --ipc host -v /mnt/cache/.cache/huggingface:/mnt/cache/ @@ -41,7 +41,7 @@ jobs: strategy: matrix: machine_type: [single-gpu, multi-gpu] - runs-on: [rocm ,'${{ matrix.machine_type }}', '${{ inputs.gpu_flavor }}'] + runs-on: rocm container: image: huggingface/transformers-pytorch-amd-gpu-push-ci # <--- We test only for PyTorch for now options: --device /dev/kfd --device /dev/dri --env HIP_VISIBLE_DEVICES --env ROCR_VISIBLE_DEVICES --shm-size "16gb" --ipc host -v /mnt/cache/.cache/huggingface:/mnt/cache/