Unverified Commit 78a89d9b authored by HELSON's avatar HELSON Committed by GitHub
Browse files

[diffusion] update readme (#2214)

parent d96cc37e
...@@ -52,7 +52,7 @@ export PACKAGE_NAME=pytorch ...@@ -52,7 +52,7 @@ export PACKAGE_NAME=pytorch
pip install . pip install .
``` ```
### Install [Colossal-AI v0.1.10](https://colossalai.org/download/) From Our Official Website ### Install [Colossal-AI v0.1.12](https://colossalai.org/download/) 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
...@@ -101,10 +101,10 @@ python main.py --logdir /tmp/ -t -b configs/train_colossalai.yaml ...@@ -101,10 +101,10 @@ python main.py --logdir /tmp/ -t -b configs/train_colossalai.yaml
You can change the trainging config in the yaml file You can change the trainging config in the yaml file
- accelerator: acceleratortype, default 'gpu' - devices: device number used for training, default 8
- devices: device number used for training, default 4 - max_epochs: max training epochs, default 2
- max_epochs: max training epochs - precision: the precision type used in training, default 16 (fp16), you must use fp16 if you want to apply colossalai
- precision: usefp16 for training or not, default 16, you must use fp16 if you want to apply colossalai - more information about the configuration of ColossalAIStrategy can be found [here](https://pytorch-lightning.readthedocs.io/en/latest/advanced/model_parallel.html#colossal-ai)
## Finetune Example ## Finetune Example
### Training on Teyvat Datasets ### Training on Teyvat Datasets
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment