mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-01-11 14:50:49 +08:00
Re-enable ROCm tests
This commit is contained in:
parent
a83b561ea7
commit
7587e42d8b
7
.github/workflows/test.yml
vendored
7
.github/workflows/test.yml
vendored
@ -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: |
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user