mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
Merge branch 'development' into development
This commit is contained in:
commit
93001f48f7
32
README.md
32
README.md
@ -12,24 +12,24 @@
|
|||||||
|
|
||||||
[![github open issues badge]][github open issues link] [![github open prs badge]][github open prs link]
|
[![github open issues badge]][github open issues link] [![github open prs badge]][github open prs link]
|
||||||
|
|
||||||
[CI checks on dev badge]: https://flat.badgen.net/github/checks/lstein/stable-diffusion/development?label=CI%20status%20on%20dev&cache=900&icon=github
|
[CI checks on dev badge]: https://flat.badgen.net/github/checks/invoke-ai/InvokeAI/development?label=CI%20status%20on%20dev&cache=900&icon=github
|
||||||
[CI checks on dev link]: https://github.com/lstein/stable-diffusion/actions?query=branch%3Adevelopment
|
[CI checks on dev link]: https://github.com/invoke-ai/InvokeAI/actions?query=branch%3Adevelopment
|
||||||
[CI checks on main badge]: https://flat.badgen.net/github/checks/lstein/stable-diffusion/main?label=CI%20status%20on%20main&cache=900&icon=github
|
[CI checks on main badge]: https://flat.badgen.net/github/checks/invoke-ai/InvokeAI/main?label=CI%20status%20on%20main&cache=900&icon=github
|
||||||
[CI checks on main link]: https://github.com/lstein/stable-diffusion/actions/workflows/test-dream-conda.yml
|
[CI checks on main link]: https://github.com/invoke-ai/InvokeAI/actions/workflows/test-dream-conda.yml
|
||||||
[discord badge]: https://flat.badgen.net/discord/members/htRgbc7e?icon=discord
|
[discord badge]: https://flat.badgen.net/discord/members/htRgbc7e?icon=discord
|
||||||
[discord link]: https://discord.gg/ZmtBAhwWhy
|
[discord link]: https://discord.gg/ZmtBAhwWhy
|
||||||
[github forks badge]: https://flat.badgen.net/github/forks/lstein/stable-diffusion?icon=github
|
[github forks badge]: https://flat.badgen.net/github/forks/invoke-ai/InvokeAI?icon=github
|
||||||
[github forks link]: https://useful-forks.github.io/?repo=lstein%2Fstable-diffusion
|
[github forks link]: https://useful-forks.github.io/?repo=lstein%2Fstable-diffusion
|
||||||
[github open issues badge]: https://flat.badgen.net/github/open-issues/lstein/stable-diffusion?icon=github
|
[github open issues badge]: https://flat.badgen.net/github/open-issues/invoke-ai/InvokeAI?icon=github
|
||||||
[github open issues link]: https://github.com/lstein/stable-diffusion/issues?q=is%3Aissue+is%3Aopen
|
[github open issues link]: https://github.com/invoke-ai/InvokeAI/issues?q=is%3Aissue+is%3Aopen
|
||||||
[github open prs badge]: https://flat.badgen.net/github/open-prs/lstein/stable-diffusion?icon=github
|
[github open prs badge]: https://flat.badgen.net/github/open-prs/invoke-ai/InvokeAI?icon=github
|
||||||
[github open prs link]: https://github.com/lstein/stable-diffusion/pulls?q=is%3Apr+is%3Aopen
|
[github open prs link]: https://github.com/invoke-ai/InvokeAI/pulls?q=is%3Apr+is%3Aopen
|
||||||
[github stars badge]: https://flat.badgen.net/github/stars/lstein/stable-diffusion?icon=github
|
[github stars badge]: https://flat.badgen.net/github/stars/invoke-ai/InvokeAI?icon=github
|
||||||
[github stars link]: https://github.com/lstein/stable-diffusion/stargazers
|
[github stars link]: https://github.com/invoke-ai/InvokeAI/stargazers
|
||||||
[latest commit to dev badge]: https://flat.badgen.net/github/last-commit/lstein/stable-diffusion/development?icon=github&color=yellow&label=last%20dev%20commit&cache=900
|
[latest commit to dev badge]: https://flat.badgen.net/github/last-commit/invoke-ai/InvokeAI/development?icon=github&color=yellow&label=last%20dev%20commit&cache=900
|
||||||
[latest commit to dev link]: https://github.com/lstein/stable-diffusion/commits/development
|
[latest commit to dev link]: https://github.com/invoke-ai/InvokeAI/commits/development
|
||||||
[latest release badge]: https://flat.badgen.net/github/release/lstein/stable-diffusion/development?icon=github
|
[latest release badge]: https://flat.badgen.net/github/release/invoke-ai/InvokeAI/development?icon=github
|
||||||
[latest release link]: https://github.com/lstein/stable-diffusion/releases
|
[latest release link]: https://github.com/invoke-ai/InvokeAI/releases
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
This is a fork of [CompVis/stable-diffusion](https://github.com/CompVis/stable-diffusion), the open
|
This is a fork of [CompVis/stable-diffusion](https://github.com/CompVis/stable-diffusion), the open
|
||||||
@ -38,7 +38,7 @@ options to aid the image generation process. It runs on Windows, Mac and Linux m
|
|||||||
GPU cards with as little as 4 GB or RAM.
|
GPU cards with as little as 4 GB or RAM.
|
||||||
|
|
||||||
_Note: This fork is rapidly evolving. Please use the
|
_Note: This fork is rapidly evolving. Please use the
|
||||||
[Issues](https://github.com/lstein/stable-diffusion/issues) tab to report bugs and make feature
|
[Issues](https://github.com/invoke-ai/InvokeAI/issues) tab to report bugs and make feature
|
||||||
requests. Be sure to use the provided templates. They will help aid diagnose issues faster._
|
requests. Be sure to use the provided templates. They will help aid diagnose issues faster._
|
||||||
|
|
||||||
## Table of Contents
|
## Table of Contents
|
||||||
|
@ -26,7 +26,7 @@ wget https://github.com/TencentARC/GFPGAN/releases/download/v1.3.0/GFPGANv1.3.pt
|
|||||||
```
|
```
|
||||||
|
|
||||||
### Install [Docker](https://github.com/santisbon/guides#docker)
|
### Install [Docker](https://github.com/santisbon/guides#docker)
|
||||||
On the Docker Desktop app, go to Preferences, Resources, Advanced. Increase the CPUs and Memory to avoid this [Issue](https://github.com/lstein/stable-diffusion/issues/342). You may need to increase Swap and Disk image size too.
|
On the Docker Desktop app, go to Preferences, Resources, Advanced. Increase the CPUs and Memory to avoid this [Issue](https://github.com/invoke-ai/InvokeAI/issues/342). You may need to increase Swap and Disk image size too.
|
||||||
|
|
||||||
## Setup
|
## Setup
|
||||||
|
|
||||||
|
@ -27,7 +27,7 @@ title: Linux
|
|||||||
3. Copy the stable-diffusion source code from GitHub:
|
3. Copy the stable-diffusion source code from GitHub:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
(base) ~$ git clone https://github.com/lstein/stable-diffusion.git
|
(base) ~$ git clone https://github.com/invoke-ai/InvokeAI.git
|
||||||
```
|
```
|
||||||
|
|
||||||
This will create stable-diffusion folder where you will follow the rest of the
|
This will create stable-diffusion folder where you will follow the rest of the
|
||||||
|
@ -94,7 +94,7 @@ While that is downloading, open a Terminal and run the following commands:
|
|||||||
|
|
||||||
```{.bash .annotate title="local repo setup"}
|
```{.bash .annotate title="local repo setup"}
|
||||||
# clone the repo
|
# clone the repo
|
||||||
git clone https://github.com/lstein/stable-diffusion.git
|
git clone https://github.com/invoke-ai/InvokeAI.git
|
||||||
cd stable-diffusion
|
cd stable-diffusion
|
||||||
|
|
||||||
# wait until the checkpoint file has downloaded, then proceed
|
# wait until the checkpoint file has downloaded, then proceed
|
||||||
@ -186,7 +186,7 @@ what I did until I switched to miniforge. However, I have another Mac that works
|
|||||||
just fine with Anaconda. If you can't get it to work, please search a little
|
just fine with Anaconda. If you can't get it to work, please search a little
|
||||||
first because many of the errors will get posted and solved. If you can't find a
|
first because many of the errors will get posted and solved. If you can't find a
|
||||||
solution please
|
solution please
|
||||||
[create an issue](https://github.com/lstein/stable-diffusion/issues).
|
[create an issue](https://github.com/invoke-ai/InvokeAI/issues).
|
||||||
|
|
||||||
One debugging step is to update to the latest version of PyTorch nightly.
|
One debugging step is to update to the latest version of PyTorch nightly.
|
||||||
|
|
||||||
@ -395,7 +395,7 @@ python scripts/preload_models.py
|
|||||||
```
|
```
|
||||||
|
|
||||||
This fork already includes a fix for this in
|
This fork already includes a fix for this in
|
||||||
[environment-mac.yaml](https://github.com/lstein/stable-diffusion/blob/main/environment-mac.yaml).
|
[environment-mac.yaml](https://github.com/invoke-ai/InvokeAI/blob/main/environment-mac.yaml).
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
@ -480,9 +480,9 @@ C.
|
|||||||
### I just got Rickrolled! Do I have a virus?
|
### I just got Rickrolled! Do I have a virus?
|
||||||
|
|
||||||
You don't have a virus. It's part of the project. Here's
|
You don't have a virus. It's part of the project. Here's
|
||||||
[Rick](https://github.com/lstein/stable-diffusion/blob/main/assets/rick.jpeg)
|
[Rick](https://github.com/invoke-ai/InvokeAI/blob/main/assets/rick.jpeg)
|
||||||
and here's
|
and here's
|
||||||
[the code](https://github.com/lstein/stable-diffusion/blob/69ae4b35e0a0f6ee1af8bb9a5d0016ccb27e36dc/scripts/txt2img.py#L79)
|
[the code](https://github.com/invoke-ai/InvokeAI/blob/69ae4b35e0a0f6ee1af8bb9a5d0016ccb27e36dc/scripts/txt2img.py#L79)
|
||||||
that swaps him in. It's a NSFW filter, which IMO, doesn't work very good (and we
|
that swaps him in. It's a NSFW filter, which IMO, doesn't work very good (and we
|
||||||
call this "computer vision", sheesh).
|
call this "computer vision", sheesh).
|
||||||
|
|
||||||
@ -510,7 +510,7 @@ return torch.layer_norm(input, normalized_shape, weight, bias, eps, torch.backen
|
|||||||
RuntimeError: view size is not compatible with input tensor's size and stride (at least one dimension spans across two contiguous subspaces). Use .reshape(...) instead.
|
RuntimeError: view size is not compatible with input tensor's size and stride (at least one dimension spans across two contiguous subspaces). Use .reshape(...) instead.
|
||||||
```
|
```
|
||||||
|
|
||||||
Update to the latest version of lstein/stable-diffusion. We were patching
|
Update to the latest version of invoke-ai/InvokeAI. We were patching
|
||||||
pytorch but we found a file in stable-diffusion that we could change instead.
|
pytorch but we found a file in stable-diffusion that we could change instead.
|
||||||
This is a 32-bit vs 16-bit problem.
|
This is a 32-bit vs 16-bit problem.
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@ title: Windows
|
|||||||
## **Notebook install (semi-automated)**
|
## **Notebook install (semi-automated)**
|
||||||
|
|
||||||
We have a
|
We have a
|
||||||
[Jupyter notebook](https://github.com/lstein/stable-diffusion/blob/main/notebooks/Stable-Diffusion-local-Windows.ipynb)
|
[Jupyter notebook](https://github.com/invoke-ai/InvokeAI/blob/main/notebooks/Stable-Diffusion-local-Windows.ipynb)
|
||||||
with cell-by-cell installation steps. It will download the code in this repo as
|
with cell-by-cell installation steps. It will download the code in this repo as
|
||||||
one of the steps, so instead of cloning this repo, simply download the notebook
|
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
|
from the link above and load it up in VSCode (with the appropriate extensions
|
||||||
@ -15,7 +15,7 @@ installed)/Jupyter/JupyterLab and start running the cells one-by-one.
|
|||||||
|
|
||||||
Note that you will need NVIDIA drivers, Python 3.10, and Git installed
|
Note that you will need NVIDIA drivers, Python 3.10, and Git installed
|
||||||
beforehand - simplified
|
beforehand - simplified
|
||||||
[step-by-step instructions](https://github.com/lstein/stable-diffusion/wiki/Easy-peasy-Windows-install)
|
[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 ).
|
are available in the wiki (you'll only need steps 1, 2, & 3 ).
|
||||||
|
|
||||||
## **Manual Install**
|
## **Manual Install**
|
||||||
@ -23,7 +23,7 @@ are available in the wiki (you'll only need steps 1, 2, & 3 ).
|
|||||||
### **pip**
|
### **pip**
|
||||||
|
|
||||||
See
|
See
|
||||||
[Easy-peasy Windows install](https://github.com/lstein/stable-diffusion/wiki/Easy-peasy-Windows-install)
|
[Easy-peasy Windows install](https://github.com/invoke-ai/InvokeAI/wiki/Easy-peasy-Windows-install)
|
||||||
in the wiki
|
in the wiki
|
||||||
|
|
||||||
---
|
---
|
||||||
@ -40,7 +40,7 @@ in the wiki
|
|||||||
4. Run the command:
|
4. Run the command:
|
||||||
|
|
||||||
```batch
|
```batch
|
||||||
git clone https://github.com/lstein/stable-diffusion.git
|
git clone https://github.com/invoke-ai/InvokeAI.git
|
||||||
```
|
```
|
||||||
|
|
||||||
This will create stable-diffusion folder where you will follow the rest of
|
This will create stable-diffusion folder where you will follow the rest of
|
||||||
@ -117,7 +117,7 @@ in the wiki
|
|||||||
then launch the dream script (step 9).
|
then launch the dream script (step 9).
|
||||||
|
|
||||||
**Note:** Tildebyte has written an alternative
|
**Note:** Tildebyte has written an alternative
|
||||||
["Easy peasy Windows install"](https://github.com/lstein/stable-diffusion/wiki/Easy-peasy-Windows-install)
|
["Easy peasy Windows install"](https://github.com/invoke-ai/InvokeAI/wiki/Easy-peasy-Windows-install)
|
||||||
which uses the Windows Powershell and pew. If you are having trouble with
|
which uses the Windows Powershell and pew. If you are having trouble with
|
||||||
Anaconda on Windows, give this a try (or try it first!)
|
Anaconda on Windows, give this a try (or try it first!)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user