[feature]:Add adaptation of all models to zero3

This commit is contained in:
feng0w0
2026-01-27 15:33:42 +08:00
parent 4e9db263b0
commit 3140199c96

View File

@@ -1,4 +1,7 @@
# This script was tested using zero3 and on 8*910B(NPU)
export PYTORCH_NPU_ALLOC_CONF=expandable_segments:True
export CPU_AFFINITY_CONF=1
accelerate launch --config_file examples/qwen_image/model_training/full/accelerate_config_zero3.yaml examples/qwen_image/model_training/train.py \
--dataset_base_path data/example_image_dataset \
--dataset_metadata_path data/example_image_dataset/metadata_qwen_imgae_edit_multi.json \