From abd6407394d55d4f6c064a05f3ac989dd3817c59 Mon Sep 17 00:00:00 2001 From: Lincoln Stein Date: Tue, 8 Nov 2022 03:52:46 +0000 Subject: [PATCH] leave a copy of environment-cuda.yml at top level - named it environment.yml - need to avoid a big change for users and breaking older support instructions. --- docs/installation/INSTALL_WINDOWS.md | 17 ++--------- environment.yml | 45 ++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+), 15 deletions(-) create mode 100644 environment.yml diff --git a/docs/installation/INSTALL_WINDOWS.md b/docs/installation/INSTALL_WINDOWS.md index 4cd670679c..2e7d86d3df 100644 --- a/docs/installation/INSTALL_WINDOWS.md +++ b/docs/installation/INSTALL_WINDOWS.md @@ -13,22 +13,9 @@ one of the steps, so instead of cloning this repo, simply download the notebook from the link above and load it up in VSCode (with the appropriate extensions installed)/Jupyter/JupyterLab and start running the cells one-by-one. -Note that you will need NVIDIA drivers, Python 3.10, and Git installed -beforehand - simplified -[step-by-step instructions](https://github.com/invoke-ai/InvokeAI/wiki/Easy-peasy-Windows-install) -are available in the wiki (you'll only need steps 1, 2, & 3 ). +Note that you will need NVIDIA drivers, Python 3.10, and Git installed beforehand. -## **Manual Install** - -### **pip** - -See -[Easy-peasy Windows install](https://github.com/invoke-ai/InvokeAI/wiki/Easy-peasy-Windows-install) -in the wiki - ---- - -### **Conda** +## **Manual Install with Conda** 1. Install Anaconda3 (miniconda3 version) from [here](https://docs.anaconda.com/anaconda/install/windows/) diff --git a/environment.yml b/environment.yml new file mode 100644 index 0000000000..617f1a16d4 --- /dev/null +++ b/environment.yml @@ -0,0 +1,45 @@ +name: invokeai +channels: + - pytorch + - conda-forge + - defaults +dependencies: + - python>=3.9 + - pip=22.2.2 + - numpy=1.23.3 + - torchvision=0.13.1 + - torchaudio=0.12.1 + - pytorch=1.12.1 + - cudatoolkit=11.6 + - pip: + - albumentations==0.4.3 + - dependency_injector==4.40.0 + - diffusers==0.6.0 + - einops==0.3.0 + - eventlet + - flask==2.1.3 + - flask_cors==3.0.10 + - flask_socketio==5.3.0 + - getpass_asterisk + - imageio-ffmpeg==0.4.2 + - imageio==2.9.0 + - kornia==0.6.0 + - omegaconf==2.2.3 + - opencv-python==4.5.5.64 + - pillow==9.2.0 + - pudb==2019.2 + - pyreadline3 + - pytorch-lightning==1.7.7 + - send2trash==1.8.0 + - streamlit==1.12.0 + - taming-transformers-rom1504 + - test-tube>=0.7.5 + - torch-fidelity==0.3.0 + - torchmetrics==0.7.0 + - transformers==4.21.3 + - 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/Real-ESRGAN.git#egg=realesrgan + - git+https://github.com/invoke-ai/GFPGAN.git#egg=gfpgan + - git+https://github.com/invoke-ai/clipseg.git@models-rename#egg=clipseg + - -e .