From 957877686641585672d9aadc17b3de47aeb2a88a Mon Sep 17 00:00:00 2001 From: Robin Huang Date: Wed, 26 Jun 2024 16:46:40 -0700 Subject: [PATCH] Add conda environment file. --- .../conda-environments/linux-environment.yml | 28 +++++++++++++++++++ .github/workflows/linux-integration-test.yml | 1 + 2 files changed, 29 insertions(+) create mode 100644 .github/conda-environments/linux-environment.yml diff --git a/.github/conda-environments/linux-environment.yml b/.github/conda-environments/linux-environment.yml new file mode 100644 index 000000000..c9ebd6406 --- /dev/null +++ b/.github/conda-environments/linux-environment.yml @@ -0,0 +1,28 @@ +name: comfyui +channels: + - pytorch + - nvidia + - defaults +dependencies: + - python>=3.9 + - pip + - pytorch + - torchvision + - torchaudio + - pytorch-cuda=12.1 + - pip: + # comfyui requirements + - einops + - transformers>=4.25.1 + - safetensors>=0.4.2 + - aiohttp + - pyyaml + - Pillow + - scipy + - tqdm + - psutil + # comfy-action requirements + - requests + - google-cloud-storage + - comfy-cli + - charset-normalizer \ No newline at end of file diff --git a/.github/workflows/linux-integration-test.yml b/.github/workflows/linux-integration-test.yml index e7de3eb05..5a2953ca5 100644 --- a/.github/workflows/linux-integration-test.yml +++ b/.github/workflows/linux-integration-test.yml @@ -19,4 +19,5 @@ jobs: gcs_bucket_name: 'comfy-ci-results' google_credentials: ${{ secrets.GCS_SERVICE_ACCOUNT_JSON }} output_prefix: 'ComfyUI' + conda_env_file: '.github/workflows/conda-environments/linux-environment.yml' timeout: 50