mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-01-11 23:00:51 +08:00
use newer image
This commit is contained in:
parent
1d29c97266
commit
fd5449c5b7
10
.github/workflows/test.yml
vendored
10
.github/workflows/test.yml
vendored
@ -19,13 +19,13 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
runner:
|
runner:
|
||||||
- labels: [self-hosted, Linux, X64, cuda-3060-12gb]
|
- labels: [self-hosted, Linux, X64, cuda-3060-12gb]
|
||||||
container: "nvcr.io/nvidia/pytorch:24.12-py3"
|
container: "nvcr.io/nvidia/pytorch:25.03-py3"
|
||||||
steps:
|
steps:
|
||||||
- run: |
|
- run: |
|
||||||
apt update || true
|
apt update || true
|
||||||
apt install -y curl nodejs python3 python3-pip git build-essential ffmpeg libsm6 libxext6 || true
|
apt install -y curl nodejs python3 python3-pip git build-essential ffmpeg libsm6 libxext6 || true
|
||||||
pip uninstall -y $(pip list --format=freeze | grep opencv) || true
|
pip uninstall -y $(pip list --format=freeze | grep opencv) || true
|
||||||
rm -rf /usr/local/lib/python3.10/dist-packages/cv2/ || rm -rf /usr/local/lib/python3.11/dist-packages/cv2/ || rm -rf /usr/local/lib/python3.12/dist-packages/cv2/ || true
|
rm -rf /usr/local/lib/python3.12/dist-packages/cv2/ || true
|
||||||
ln -s `which python3` /usr/bin/python || true
|
ln -s `which python3` /usr/bin/python || true
|
||||||
ln -s `which pip3` /usr/bin/pip || true
|
ln -s `which pip3` /usr/bin/pip || true
|
||||||
name: Prepare Python
|
name: Prepare Python
|
||||||
@ -38,12 +38,10 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
export UV_BREAK_SYSTEM_PACKAGES=true
|
export UV_BREAK_SYSTEM_PACKAGES=true
|
||||||
export UV_SYSTEM_PYTHON=true
|
export UV_SYSTEM_PYTHON=true
|
||||||
UV_TORCH_BACKEND=auto uv sync --inexact
|
uv sync --extra cu128 --inexact --frozen
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: |
|
run: |
|
||||||
export HSA_OVERRIDE_GFX_VERSION=11.0.0
|
nvidia-smi
|
||||||
export HIP_VISIBLE_DEVICES=0
|
|
||||||
nvidia-smi || rocminfo || true
|
|
||||||
uv run pytest -v tests/unit
|
uv run pytest -v tests/unit
|
||||||
- name: Lint for errors
|
- name: Lint for errors
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user