Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
ColossalAI
Commits
5d5f475d
Unverified
Commit
5d5f475d
authored
Mar 10, 2023
by
Fazzie-Maqianli
Committed by
GitHub
Mar 10, 2023
Browse files
[diffusers] fix ci and docker (#3085)
parent
3213347b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
21 deletions
+2
-21
examples/images/diffusion/README.md
examples/images/diffusion/README.md
+1
-18
examples/images/diffusion/docker/Dockerfile
examples/images/diffusion/docker/Dockerfile
+1
-1
examples/images/diffusion/test_ci.sh
examples/images/diffusion/test_ci.sh
+0
-2
No files found.
examples/images/diffusion/README.md
View file @
5d5f475d
...
...
@@ -55,24 +55,7 @@ conda install pytorch==1.12.1 torchvision==0.13.1 torchaudio==0.12.1 cudatoolkit
pip install transformers diffusers invisible-watermark
```
#### Step 2: install lightning
Install Lightning version later than 2022.01.04. We suggest you install lightning from source.
##### From Source
```
git clone https://github.com/Lightning-AI/lightning.git
pip install -r requirements.txt
python setup.py install
```
##### From pip
```
pip install pytorch-lightning==2.0.0rc0
```
#### Step 3:Install [Colossal-AI](https://colossalai.org/download/) From Our Official Website
#### Step 2:Install [Colossal-AI](https://colossalai.org/download/) From Our Official Website
##### From pip
...
...
examples/images/diffusion/docker/Dockerfile
View file @
5d5f475d
...
...
@@ -15,7 +15,7 @@ RUN git clone https://github.com/NVIDIA/apex && \
# && cd ./ColossalAI \
# && pip install -v --no-cache-dir .
RUN
pip
install
colossalai
==
0.1.12+torch1.12cu11.3
-f
https://release.colossalai.org
RUN
pip
install
colossalai
# install titans
...
...
examples/images/diffusion/test_ci.sh
View file @
5d5f475d
...
...
@@ -10,8 +10,6 @@ pip install transformers diffusers invisible-watermark
CUDA_EXT
=
1 pip
install
colossalai
pip
install
pytorch-lightning
wget https://huggingface.co/stabilityai/stable-diffusion-2-base/resolve/main/512-base-ema.ckpt
python main.py
--logdir
/tmp
--train
--base
configs/Teyvat/train_colossalai_teyvat.yaml
--ckpt
512-base-ema.ckpt
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment