From 01a4b85db4297e378aefed303d538d4102cdb047 Mon Sep 17 00:00:00 2001 From: Robin Huang Date: Fri, 5 Apr 2024 13:42:47 -0600 Subject: [PATCH 1/5] Use rh branch for action. --- .github/workflows/test-example-workflows.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test-example-workflows.yml b/.github/workflows/test-example-workflows.yml index 7c5885f11..e777ce301 100644 --- a/.github/workflows/test-example-workflows.yml +++ b/.github/workflows/test-example-workflows.yml @@ -29,7 +29,7 @@ jobs: runs-on: ${{ matrix.runner_label }} steps: - name: Test Default Workflow - uses: drip-art/comfy-action@main + uses: drip-art/comfy-action@rh with: os: ${{ matrix.os }} cuda_version: ${{ matrix.cuda_version }} From 57fe2a2ba39472bb1324a5174dae6f076fb7d6d6 Mon Sep 17 00:00:00 2001 From: Robin Huang Date: Tue, 9 Apr 2024 13:08:16 -0700 Subject: [PATCH 2/5] Test using rh --- .github/workflows/test-example-workflows.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test-example-workflows.yml b/.github/workflows/test-example-workflows.yml index e777ce301..0a77c149a 100644 --- a/.github/workflows/test-example-workflows.yml +++ b/.github/workflows/test-example-workflows.yml @@ -39,7 +39,7 @@ jobs: workflow_json_path: '.github/workflows/json_examples/workflow_api.json' timeout: 50 - name: Test Lora Workflow - uses: drip-art/comfy-action@main + uses: drip-art/comfy-action@rh with: os: ${{ matrix.os }} cuda_version: ${{ matrix.cuda_version }} From daf2e2259b0f3f99ab7b72bc655cc14ad33c27d1 Mon Sep 17 00:00:00 2001 From: Robin Huang Date: Tue, 9 Apr 2024 14:08:25 -0700 Subject: [PATCH 3/5] Update. --- .github/workflows/test-example-workflows.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.github/workflows/test-example-workflows.yml b/.github/workflows/test-example-workflows.yml index 0a77c149a..c6764b8fe 100644 --- a/.github/workflows/test-example-workflows.yml +++ b/.github/workflows/test-example-workflows.yml @@ -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' From 34c481be8b32dc29c619036406ca7617a071c0dc Mon Sep 17 00:00:00 2001 From: Robin Huang Date: Tue, 9 Apr 2024 16:52:25 -0700 Subject: [PATCH 4/5] back to main. --- .github/workflows/test-example-workflows.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-example-workflows.yml b/.github/workflows/test-example-workflows.yml index c6764b8fe..f2220f72b 100644 --- a/.github/workflows/test-example-workflows.yml +++ b/.github/workflows/test-example-workflows.yml @@ -27,7 +27,7 @@ jobs: runs-on: ${{ matrix.runner_label }} steps: - name: Test Default Workflow - uses: drip-art/comfy-action@rh + uses: drip-art/comfy-action@main with: os: ${{ matrix.os }} cuda_version: ${{ matrix.cuda_version }} @@ -36,7 +36,7 @@ jobs: workflow_json_path: '.github/workflows/json_examples/workflow_api.json' timeout: 50 - name: Test Lora Workflow - uses: drip-art/comfy-action@rh + uses: drip-art/comfy-action@main with: os: ${{ matrix.os }} cuda_version: ${{ matrix.cuda_version }} From 5fce0430c1a35349cf25c1901494eda36d8d70c7 Mon Sep 17 00:00:00 2001 From: Robin Huang Date: Tue, 9 Apr 2024 16:53:45 -0700 Subject: [PATCH 5/5] Add speed check. --- .github/workflows/speed-test.yml | 34 ++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .github/workflows/speed-test.yml diff --git a/.github/workflows/speed-test.yml b/.github/workflows/speed-test.yml new file mode 100644 index 000000000..99ece76a4 --- /dev/null +++ b/.github/workflows/speed-test.yml @@ -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 + +