|
|
|
|
@ -24,20 +24,24 @@ See [this section](#stable-diffusion-v1) below and the [model card](https://hugg
|
|
|
|
|
A suitable [conda](https://conda.io/) environment named `ldm` can be created
|
|
|
|
|
and activated with:
|
|
|
|
|
|
|
|
|
|
run from stable-diffusion-cpuonly directory
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
mkdir -p models/ldm/stable-diffusion-v1/
|
|
|
|
|
conda install pytorch torchvision torchaudio cpuonly -c pytorch
|
|
|
|
|
conda env create -f environment-cpuonly.yaml
|
|
|
|
|
conda activate ldm
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
old readme info
|
|
|
|
|
//You can also update an existing [latent diffusion](https://github.com/CompVis/latent-diffusion) environment by running
|
|
|
|
|
//
|
|
|
|
|
//```
|
|
|
|
|
//conda install pytorch torchvision -c pytorch
|
|
|
|
|
//pip install transformers==4.19.2 diffusers invisible-watermark
|
|
|
|
|
//pip install -e .
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
//```
|
|
|
|
|
//
|
|
|
|
|
|
|
|
|
|
## Stable Diffusion v1
|
|
|
|
|
|
|
|
|
|
|