mirror of https://github.com/hpcaitech/ColossalAI
fixed port
parent
d3379f0be7
commit
79c9f776a9
|
@ -7,7 +7,7 @@ TRANSFORMERS_OFFLINE=1
|
||||||
DIFFUSERS_OFFLINE=1
|
DIFFUSERS_OFFLINE=1
|
||||||
|
|
||||||
for plugin in "torch_ddp" "torch_ddp_fp16" "gemini" "low_level_zero"; do
|
for plugin in "torch_ddp" "torch_ddp_fp16" "gemini" "low_level_zero"; do
|
||||||
torchrun --nproc_per_node 4 --master_port=25641 train_dreambooth_colossalai.py \
|
torchrun --nproc_per_node 4 --standalone train_dreambooth_colossalai.py \
|
||||||
--pretrained_model_name_or_path="Your Pretrained Model Path" \
|
--pretrained_model_name_or_path="Your Pretrained Model Path" \
|
||||||
--instance_data_dir="Your Input Pics Path" \
|
--instance_data_dir="Your Input Pics Path" \
|
||||||
--output_dir="path-to-save-model" \
|
--output_dir="path-to-save-model" \
|
||||||
|
|
Loading…
Reference in New Issue