mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-11-23 05:06:59 +08:00
Make Lora a step.
This commit is contained in:
parent
d1440b4a17
commit
7ff3e44693
16
.github/workflows/test-example-workflows.yml
vendored
16
.github/workflows/test-example-workflows.yml
vendored
@ -11,11 +11,6 @@ on:
|
|||||||
- 'tests/**'
|
- 'tests/**'
|
||||||
- 'tests-ui/**'
|
- 'tests-ui/**'
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
inputs:
|
|
||||||
runTests:
|
|
||||||
description: 'Specify which tests to run (e.g., "All", "Lora", "Default")'
|
|
||||||
required: true
|
|
||||||
default: 'All' # Default to running all tests
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test-default-workflow:
|
test-default-workflow:
|
||||||
@ -31,27 +26,24 @@ jobs:
|
|||||||
torch_ver: 'stable'
|
torch_ver: 'stable'
|
||||||
runner_label: [self-hosted, Linux, nvidia-tesla-t4]
|
runner_label: [self-hosted, Linux, nvidia-tesla-t4]
|
||||||
runs-on: ${{ matrix.runner_label }}
|
runs-on: ${{ matrix.runner_label }}
|
||||||
if: ${{ github.event.inputs.runTests == 'All' }} || ${{ github.event.inputs.runTests == 'Default' }}
|
|
||||||
steps:
|
steps:
|
||||||
- name: Use ComfyUI GitHub Action
|
- name: Test Default Workflow
|
||||||
uses: drip-art/comfy-action@main
|
uses: drip-art/comfy-action@main
|
||||||
with:
|
with:
|
||||||
os: ${{ matrix.os }}
|
os: ${{ matrix.os }}
|
||||||
cuda_version: ${{ matrix.cuda_version }}
|
cuda_version: ${{ matrix.cuda_version }}
|
||||||
torch_ver: ${{ matrix.torch_ver }}
|
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_name: "default-workflow"
|
||||||
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:
|
- name: Test Lora Workflow
|
||||||
runs-on: ${{ matrix.runner_label }}
|
|
||||||
if: ${{ github.event.inputs.runTests == 'All' }} || ${{ github.event.inputs.runTests == 'Lora' }}
|
|
||||||
steps:
|
|
||||||
- name: Use ComfyUI GitHub Action
|
|
||||||
uses: drip-art/comfy-action@main
|
uses: drip-art/comfy-action@main
|
||||||
with:
|
with:
|
||||||
os: ${{ matrix.os }}
|
os: ${{ matrix.os }}
|
||||||
cuda_version: ${{ matrix.cuda_version }}
|
cuda_version: ${{ matrix.cuda_version }}
|
||||||
torch_ver: ${{ matrix.torch_ver }}
|
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_name: "lora-workflow"
|
||||||
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