mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-11-23 19:27:00 +08:00
Add OS strategies.
This commit is contained in:
parent
2faa9f7f51
commit
7a955acbf5
27
.github/workflows/linux-os-test.yml
vendored
27
.github/workflows/linux-os-test.yml
vendored
@ -21,28 +21,39 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test-default-workflow:
|
test-default-workflow:
|
||||||
runs-on: [self-hosted, Linux, nvidia-tesla-t4]
|
strategy:
|
||||||
|
matrix:
|
||||||
|
os: [macos, linux]
|
||||||
|
include:
|
||||||
|
- os: macos
|
||||||
|
torch_ver: 'nightly'
|
||||||
|
runner_label: [self-hosted, m2]
|
||||||
|
- os: linux
|
||||||
|
cuda_version: 12.1
|
||||||
|
torch_ver: 'stable'
|
||||||
|
runner_label: [self-hosted, Linux, nvidia-tesla-t4]
|
||||||
|
runs-on: ${{ matrix.runner_label }}
|
||||||
if: ${{ github.event.inputs.runTests == 'All' }} || ${{ github.event.inputs.runTests == 'Default' }}
|
if: ${{ github.event.inputs.runTests == 'All' }} || ${{ github.event.inputs.runTests == 'Default' }}
|
||||||
steps:
|
steps:
|
||||||
- name: Use ComfyUI GitHub Action
|
- name: Use ComfyUI GitHub Action
|
||||||
uses: drip-art/comfy-action@main
|
uses: drip-art/comfy-action@main
|
||||||
with:
|
with:
|
||||||
os: linux
|
os: ${{ matrix.os }}
|
||||||
cuda_version: 12.1
|
cuda_version: ${{ matrix.cuda_version }}
|
||||||
torch_ver: 'stable'
|
torch_ver: ${{ matrix.torch_ver }}
|
||||||
models-json: '{"v1-5-pruned-emaonly.ckpt": {"url": "https://huggingface.co/runwayml/stable-diffusion-v1-5/resolve/main/v1-5-pruned-emaonly.ckpt", "directory": "checkpoints"}}'
|
models-json: '{"v1-5-pruned-emaonly.ckpt": {"url": "https://huggingface.co/runwayml/stable-diffusion-v1-5/resolve/main/v1-5-pruned-emaonly.ckpt", "directory": "checkpoints"}}'
|
||||||
workflow_json_path: '.github/workflows/json_examples/workflow_api.json'
|
workflow_json_path: '.github/workflows/json_examples/workflow_api.json'
|
||||||
timeout: 50
|
timeout: 50
|
||||||
test-lora-workflow:
|
test-lora-workflow:
|
||||||
runs-on: [self-hosted, Linux, nvidia-tesla-t4]
|
runs-on: $${{ matrix.runner_label }}
|
||||||
if: ${{ github.event.inputs.runTests == 'All' }} || ${{ github.event.inputs.runTests == 'Lora' }}
|
if: ${{ github.event.inputs.runTests == 'All' }} || ${{ github.event.inputs.runTests == 'Lora' }}
|
||||||
steps:
|
steps:
|
||||||
- name: Use ComfyUI GitHub Action
|
- name: Use ComfyUI GitHub Action
|
||||||
uses: drip-art/comfy-action@main
|
uses: drip-art/comfy-action@main
|
||||||
with:
|
with:
|
||||||
os: linux
|
os: ${{ matrix.os }}
|
||||||
cuda_version: 12.1
|
cuda_version: ${{ matrix.cuda_version }}
|
||||||
torch_ver: 'stable'
|
torch_ver: ${{ matrix.torch_ver }}
|
||||||
models-json: '{"v1-5-pruned-emaonly.ckpt": {"url": "https://huggingface.co/runwayml/stable-diffusion-v1-5/resolve/main/v1-5-pruned-emaonly.ckpt", "directory": "checkpoints"}, "epiNoiseoffset_v2.safetensors": {"url": "https://huggingface.co/adhikjoshi/epi_noiseoffset/resolve/main/epiNoiseoffset_v2.safetensors", "directory": "loras"}}'
|
models-json: '{"v1-5-pruned-emaonly.ckpt": {"url": "https://huggingface.co/runwayml/stable-diffusion-v1-5/resolve/main/v1-5-pruned-emaonly.ckpt", "directory": "checkpoints"}, "epiNoiseoffset_v2.safetensors": {"url": "https://huggingface.co/adhikjoshi/epi_noiseoffset/resolve/main/epiNoiseoffset_v2.safetensors", "directory": "loras"}}'
|
||||||
workflow_json_path: '.github/workflows/json_examples/workflow_lora_api.json'
|
workflow_json_path: '.github/workflows/json_examples/workflow_lora_api.json'
|
||||||
timeout: 50
|
timeout: 50
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user