modelscope / modelscope/DiffSynth-Studio

VACE finetune时候,如何断点训练?

Open
#1,090 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
13.1k
Forks
1.3k
Avg merge
13h 12m
Merged PRs (30d)
45

Description

你好👋 Great jobs!

请问在训练VACE模型的时候,如何实现断点ckpt加载训练呢?

accelerate launch examples/wanvideo/model_training/train.py
--dataset_base_path data/example_video_dataset
--dataset_metadata_path data/example_video_dataset/metadata_vace.csv
--data_file_keys "video,vace_video,vace_reference_image"
--height 480
--width 832
--num_frames 49
--dataset_repeat 100
--model_id_with_origin_paths "Wan-AI/Wan2.1-VACE-1.3B:diffusion_pytorch_model*.safetensors,Wan-AI/Wan2.1-VACE-1.3B:models_t5_umt5-xxl-enc-bf16.pth,Wan-AI/Wan2.1-VACE-1.3B:Wan2.1_VAE.pth"
--learning_rate 1e-4
--num_epochs 2
--remove_prefix_in_ckpt "pipe.vace."
--output_path "./models/train/Wan2.1-VACE-1.3B_full"
--trainable_models "vace"
--extra_inputs "vace_video,vace_reference_image"
--use_gradient_checkpointing_offload

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with examples/wanvideo/model_training/train.py and the supplied accelerate launch command. Check how this entry point handles checkpoint loading and resume-related arguments, then document the supported procedure and a complete VACE command so users can verify that training continues from the saved checkpoint.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.