mirror of https://github.com/hpcaitech/ColossalAI
[example] update diffusion readme with official lightning (#2304)
parent
5d3a2be3af
commit
32253315b4
|
@ -44,22 +44,19 @@ pip install -e .
|
||||||
|
|
||||||
##### Step 2: install lightning
|
##### Step 2: install lightning
|
||||||
|
|
||||||
```
|
Install Lightning version later than 2022.01.04. We suggest you install lightning from source.
|
||||||
git clone https://github.com/1SAA/lightning.git
|
|
||||||
cd lightning
|
|
||||||
git checkout strategy/colossalai
|
|
||||||
export PACKAGE_NAME=pytorch
|
|
||||||
pip install .
|
|
||||||
```
|
|
||||||
|
|
||||||
##### Step 3:Install [Colossal-AI v0.1.12](https://colossalai.org/download/) From Our Official Website
|
https://github.com/Lightning-AI/lightning.git
|
||||||
|
|
||||||
|
|
||||||
|
##### Step 3:Install [Colossal-AI](https://colossalai.org/download/) From Our Official Website
|
||||||
|
|
||||||
|
For example, you can install v0.1.12 from our official website.
|
||||||
|
|
||||||
```
|
```
|
||||||
pip install colossalai==0.1.12+torch1.12cu11.3 -f https://release.colossalai.org
|
pip install colossalai==0.1.12+torch1.12cu11.3 -f https://release.colossalai.org
|
||||||
```
|
```
|
||||||
|
|
||||||
> The specified version is due to the interface incompatibility caused by the latest update of [Lightning](https://github.com/Lightning-AI/lightning), which will be fixed in the near future.
|
|
||||||
|
|
||||||
### Option #2: Use Docker
|
### Option #2: Use Docker
|
||||||
|
|
||||||
To use the stable diffusion Docker image, you can either build using the provided the [Dockerfile](./docker/Dockerfile) or pull a Docker image from our Docker hub.
|
To use the stable diffusion Docker image, you can either build using the provided the [Dockerfile](./docker/Dockerfile) or pull a Docker image from our Docker hub.
|
||||||
|
|
Loading…
Reference in New Issue