mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
2433cc344a
* add test-invoke-pip.yml * update requirements-base.txt to fix tests * install requirements-base.txt separate since it requires to have torch already installed also restore origin requirements-base.txt after suc. test in my fork * restore origin requirements add `basicsr>=1.4.2` to requirements-base.txt remove second installation step * re-add previously overseen req in lin-cuda * fix typo in setup.py - `scripts/preload_models.py` * use GFBGAN from branch `basicsr-1.4.2` * remove `basicsr>=1.4.2` from base reqs * add INVOKEAI_ROOT to env * disable upgrade of `pip`, `setuptools` and `wheel` * try to use a venv which should not contain `wheel` * add relative path to pip command * use `configure_invokeai.py --no-interactive --yes` * set grpcio to `<1.51.0` * revert changes to use venv * remove `--prefer-binary` * disable step to create models.yaml since this will not be used anymore with new `configure_invokeai.py` * use `pip install --no-binary=":all:"` * another try to use venv * try uninstalling wheel before installing reqs * dont use requirements.txt as filename * update cache-dependency-path * add facexlib to requirements-base.txt * first install requirements-base.txt * first install `-e .`, then install requirements I know that this is obviously the wrong order, but still have a feeling * add facexlib to requirements.in * remove `-e .` from reqs and install after reqs * unpin torch and torchvision in requirements.in * fix model dl path * fix curl output path * create directory before downloading model * set INVOKEAI_ROOT_PATH https://docs.github.com/en/actions/learn-github-actions/environment-variables#naming-conventions-for-environment-variables * INVOKEAI_ROOT ${{ env.GITHUB_WORKSPACE }}/invokeai * fix matrix stable-diffusion-model-dl-path * fix INVOKEAI_ROOT * fix INVOKEAI_ROOT * add --root and --outdir to run-tests step * create models.yaml from example * fix scripts variable in setup.py by removing unused scripts * fix archive-results path * fix workflow to reflect latest code changes * fix copy paste error * fix job name * fix matrix.stable-diffusion-model * restructure matrix * fix `activate conda env` step * update the environment yamls use same 4 git packages as for pip * rename job in test-invoke-conda * add tqdm to environment-lin-amd.yml * fix python commands in test-invoke-conda.yml Co-authored-by: Lincoln Stein <lincoln.stein@gmail.com>
65 lines
1.6 KiB
YAML
65 lines
1.6 KiB
YAML
name: invokeai
|
|
channels:
|
|
- pytorch
|
|
- conda-forge
|
|
- defaults
|
|
dependencies:
|
|
- python=3.10
|
|
- pip>=22.2
|
|
- pytorch=1.12
|
|
- pytorch-lightning=1.7
|
|
- torchvision=0.13
|
|
- torchmetrics=0.10
|
|
- torch-fidelity=0.3
|
|
|
|
# I suggest to keep the other deps sorted for convenience.
|
|
# To determine what the latest versions should be, run:
|
|
#
|
|
# ```shell
|
|
# sed -E 's/invokeai/invokeai-updated/;20,99s/- ([^=]+)==.+/- \1/' environment-mac.yml > environment-mac-updated.yml
|
|
# CONDA_SUBDIR=osx-arm64 conda env create -f environment-mac-updated.yml && conda list -n invokeai-updated | awk ' {print " - " $1 "==" $2;} '
|
|
# ```
|
|
|
|
- albumentations=1.2
|
|
- coloredlogs=15.0
|
|
- diffusers=0.6
|
|
- einops=0.3
|
|
- eventlet
|
|
- grpcio=1.46
|
|
- flask=2.1
|
|
- flask-socketio=5.3
|
|
- flask-cors=3.0
|
|
- humanfriendly=10.0
|
|
- imageio=2.21
|
|
- imageio-ffmpeg=0.4
|
|
- imgaug=0.4
|
|
- kornia=0.6
|
|
- mpmath=1.2
|
|
- nomkl=3
|
|
- numpy=1.23
|
|
- omegaconf=2.1
|
|
- openh264=2.3
|
|
- onnx=1.12
|
|
- onnxruntime=1.12
|
|
- pudb=2019.2
|
|
- protobuf=3.20
|
|
- py-opencv=4.6
|
|
- scipy=1.9
|
|
- streamlit=1.12
|
|
- sympy=1.10
|
|
- send2trash=1.8
|
|
- tensorboard=2.10
|
|
- transformers=4.23
|
|
- pip:
|
|
- getpass_asterisk
|
|
- picklescan
|
|
- taming-transformers-rom1504
|
|
- test-tube==0.7.5
|
|
- 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
|
|
- -e .
|
|
variables:
|
|
PYTORCH_ENABLE_MPS_FALLBACK: 1
|