Update-requirements and test-invoke-pip workflow (#1574)

* update requirements files

* update test-invoke-pip workflow
This commit is contained in:
Matthias Wild 2022-11-27 03:43:04 +01:00 committed by GitHub
parent f2d2a49977
commit 12eff0dd42
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 13 additions and 10 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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 .

View File

@ -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 .

View File

@ -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 .

View File

@ -1,5 +1,5 @@
-r environments-and-requirements/requirements-base.txt
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