This commit is contained in:
Robin Huang 2024-04-09 14:08:25 -07:00
parent 57fe2a2ba3
commit daf2e2259b

View File

@ -20,11 +20,9 @@ jobs:
os: [macos, linux] os: [macos, linux]
include: include:
- os: macos - os: macos
torch_ver: 'nightly'
runner_label: [self-hosted, m2] runner_label: [self-hosted, m2]
- os: linux - os: linux
cuda_version: 12.1 cuda_version: 12.1
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 }}
steps: steps:
@ -33,7 +31,6 @@ jobs:
with: with:
os: ${{ matrix.os }} os: ${{ matrix.os }}
cuda_version: ${{ matrix.cuda_version }} 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"}}' 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_name: "default-workflow"
workflow_json_path: '.github/workflows/json_examples/workflow_api.json' workflow_json_path: '.github/workflows/json_examples/workflow_api.json'
@ -43,7 +40,6 @@ jobs:
with: with:
os: ${{ matrix.os }} os: ${{ matrix.os }}
cuda_version: ${{ matrix.cuda_version }} 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"}}' 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_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'