From 6968017a80fadc2587badab2ba6d9aba7584d838 Mon Sep 17 00:00:00 2001 From: mauwii Date: Sun, 27 Nov 2022 01:49:30 +0100 Subject: [PATCH 1/2] update requirements files --- environments-and-requirements/requirements-base.txt | 3 +-- environments-and-requirements/requirements-lin-amd.txt | 2 ++ environments-and-requirements/requirements-lin-arm64.txt | 3 +++ environments-and-requirements/requirements-lin-cuda.txt | 3 ++- environments-and-requirements/requirements-mac-mps-cpu.txt | 4 ++-- environments-and-requirements/requirements-win-colab-cuda.txt | 4 ++-- 6 files changed, 12 insertions(+), 7 deletions(-) diff --git a/environments-and-requirements/requirements-base.txt b/environments-and-requirements/requirements-base.txt index 19aa0ab66b2..e1b605db97b 100644 --- a/environments-and-requirements/requirements-base.txt +++ b/environments-and-requirements/requirements-base.txt @@ -35,5 +35,4 @@ picklescan git+https://github.com/openai/CLIP.git@main#egg=clip git+https://github.com/Birch-san/k-diffusion.git@mps#egg=k-diffusion git+https://github.com/invoke-ai/clipseg.git@relaxed-python-requirement#egg=clipseg -git+https://github.com/invoke-ai/GFPGAN@basicsr-1.4.2#egg=gfpgan -git+https://github.com/invoke-ai/PyPatchMatch@0.1.1#egg=pypatchmatch \ No newline at end of file +git+https://github.com/invoke-ai/PyPatchMatch@0.1.1#egg=pypatchmatch diff --git a/environments-and-requirements/requirements-lin-amd.txt b/environments-and-requirements/requirements-lin-amd.txt index d627f99861d..2cf1835dbf6 100644 --- a/environments-and-requirements/requirements-lin-amd.txt +++ b/environments-and-requirements/requirements-lin-amd.txt @@ -1,5 +1,7 @@ -r environments-and-requirements/requirements-base.txt +git+https://github.com/invoke-ai/GFPGAN@basicsr-1.4.2#egg=gfpgan + # Get hardware-appropriate torch/torchvision --extra-index-url https://download.pytorch.org/whl/rocm5.1.1 --trusted-host https://download.pytorch.org torch diff --git a/environments-and-requirements/requirements-lin-arm64.txt b/environments-and-requirements/requirements-lin-arm64.txt index 304432e4c76..1e1b4082389 100644 --- a/environments-and-requirements/requirements-lin-arm64.txt +++ b/environments-and-requirements/requirements-lin-arm64.txt @@ -1,3 +1,6 @@ --pre torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/nightly/cpu + +git+https://github.com/invoke-ai/GFPGAN@basicsr-1.4.2#egg=gfpgan + -r environments-and-requirements/requirements-base.txt -e . diff --git a/environments-and-requirements/requirements-lin-cuda.txt b/environments-and-requirements/requirements-lin-cuda.txt index 06e6e733669..56c7d971c47 100644 --- a/environments-and-requirements/requirements-lin-cuda.txt +++ b/environments-and-requirements/requirements-lin-cuda.txt @@ -1,2 +1,3 @@ -r environments-and-requirements/requirements-base.txt -# -e . +git+https://github.com/invoke-ai/GFPGAN@basicsr-1.4.2#egg=gfpgan +-e . diff --git a/environments-and-requirements/requirements-mac-mps-cpu.txt b/environments-and-requirements/requirements-mac-mps-cpu.txt index 54071e73c7f..143ef5356e0 100644 --- a/environments-and-requirements/requirements-mac-mps-cpu.txt +++ b/environments-and-requirements/requirements-mac-mps-cpu.txt @@ -1,7 +1,7 @@ -r environments-and-requirements/requirements-base.txt - +git+https://github.com/invoke-ai/GFPGAN@basicsr-1.4.2#egg=gfpgan grpcio<1.51.0 protobuf==3.19.6 torch<1.13.0 torchvision<0.14.0 -# -e . +-e . diff --git a/environments-and-requirements/requirements-win-colab-cuda.txt b/environments-and-requirements/requirements-win-colab-cuda.txt index b00f1487fb5..854fe394f1f 100644 --- a/environments-and-requirements/requirements-win-colab-cuda.txt +++ b/environments-and-requirements/requirements-win-colab-cuda.txt @@ -1,6 +1,6 @@ -r environments-and-requirements/requirements-base.txt - -# Get hardware-appropriate torch/torchvision +git+https://github.com/invoke-ai/GFPGAN@basicsr-1.4.1#egg=gfpgan +# Get hardware-appropriate torch/torchvision --extra-index-url https://download.pytorch.org/whl/cu116 --trusted-host https://download.pytorch.org basicsr==1.4.1 torch==1.12.1 From 8ba914d1c4ccfc64bd37f131e573195215222858 Mon Sep 17 00:00:00 2001 From: mauwii Date: Sun, 27 Nov 2022 01:50:01 +0100 Subject: [PATCH 2/2] update test-invoke-pip workflow --- .github/workflows/test-invoke-pip.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/test-invoke-pip.yml b/.github/workflows/test-invoke-pip.yml index a333e73bb62..ce1d1ad6d77 100644 --- a/.github/workflows/test-invoke-pip.yml +++ b/.github/workflows/test-invoke-pip.yml @@ -79,9 +79,7 @@ jobs: # run: ${{ env.pythonLocation }}/bin/pip install --upgrade pip setuptools wheel - name: install requirements - run: | - ${{ env.pythonLocation }}/bin/pip install --upgrade -r '${{ matrix.requirements-file }}' - ${{ env.pythonLocation }}/bin/pip install -e . + run: ${{ env.pythonLocation }}/bin/pip install -r '${{ matrix.requirements-file }}' - name: Use Cached Stable Diffusion Model id: cache-sd-model