mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-11-22 14:57:02 +08:00
commit
1797e5f12d
34
.github/workflows/speed-test.yml
vendored
Normal file
34
.github/workflows/speed-test.yml
vendored
Normal file
@ -0,0 +1,34 @@
|
||||
name: Test ComfyUI Windows with Default Workflow 2
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
||||
|
||||
jobs:
|
||||
speed-test-runner:
|
||||
strategy:
|
||||
matrix:
|
||||
os: [macos, linux]
|
||||
include:
|
||||
- os: macos
|
||||
runner_label: [self-hosted, m2]
|
||||
- os: linux
|
||||
runner_label: [self-hosted, Linux, nvidia-tesla-t4]
|
||||
runs-on: ${{ matrix.runner_label }}
|
||||
steps:
|
||||
- name: Install speedtest-cli for Linux
|
||||
if : matrix.os == 'linux'
|
||||
run: |
|
||||
# For Ubuntu/Debian-based systems
|
||||
sudo apt-get install -y speedtest-cli
|
||||
|
||||
- name: Install speedtest-cli for MacOS
|
||||
if : matrix.os == 'macos'
|
||||
run: |
|
||||
# For macOS
|
||||
brew install speedtest-cli
|
||||
|
||||
- name: Check network speed
|
||||
run: |
|
||||
speedtest-cli
|
||||
|
||||
|
||||
4
.github/workflows/test-example-workflows.yml
vendored
4
.github/workflows/test-example-workflows.yml
vendored
@ -20,11 +20,9 @@ jobs:
|
||||
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 }}
|
||||
steps:
|
||||
@ -33,7 +31,6 @@ jobs:
|
||||
with:
|
||||
os: ${{ matrix.os }}
|
||||
cuda_version: ${{ matrix.cuda_version }}
|
||||
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"}}'
|
||||
workflow_name: "default-workflow"
|
||||
workflow_json_path: '.github/workflows/json_examples/workflow_api.json'
|
||||
@ -43,7 +40,6 @@ jobs:
|
||||
with:
|
||||
os: ${{ matrix.os }}
|
||||
cuda_version: ${{ matrix.cuda_version }}
|
||||
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"}}'
|
||||
workflow_name: "lora-workflow"
|
||||
workflow_json_path: '.github/workflows/json_examples/workflow_lora_api.json'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user