Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 2 commits into from
Nov 27, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions .github/workflows/test-invoke-pip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 1 addition & 2 deletions environments-and-requirements/requirements-base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]#egg=gfpgan
git+https://github.com/invoke-ai/[email protected]#egg=pypatchmatch
git+https://github.com/invoke-ai/[email protected]#egg=pypatchmatch
2 changes: 2 additions & 0 deletions environments-and-requirements/requirements-lin-amd.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
-r environments-and-requirements/requirements-base.txt

git+https://github.com/invoke-ai/[email protected]#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
Expand Down
3 changes: 3 additions & 0 deletions environments-and-requirements/requirements-lin-arm64.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
--pre torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/nightly/cpu

git+https://github.com/invoke-ai/[email protected]#egg=gfpgan

-r environments-and-requirements/requirements-base.txt
-e .
3 changes: 2 additions & 1 deletion environments-and-requirements/requirements-lin-cuda.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
-r environments-and-requirements/requirements-base.txt
# -e .
git+https://github.com/invoke-ai/[email protected]#egg=gfpgan
-e .
4 changes: 2 additions & 2 deletions environments-and-requirements/requirements-mac-mps-cpu.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-r environments-and-requirements/requirements-base.txt

git+https://github.com/invoke-ai/[email protected]#egg=gfpgan
grpcio<1.51.0
protobuf==3.19.6
torch<1.13.0
torchvision<0.14.0
# -e .
-e .
4 changes: 2 additions & 2 deletions environments-and-requirements/requirements-win-colab-cuda.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
-r environments-and-requirements/requirements-base.txt

# Get hardware-appropriate torch/torchvision
git+https://github.com/invoke-ai/[email protected]#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
Expand Down