minimax Ref2V 训练报错问题
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 48/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- python
- Lĩnh vực
- machine-learning
Hướng nghiên cứu
Start with examples/minimax_h3/model_training/train.py and trace the Adapter training setup into diffsynth/diffusion/training_module.py, diffsynth/diffusion/base_pipeline.py, and diffsynth/utils/lora/general.py, where the reported tensor shape mismatch occurs during LoRA fusion. Reproduce the Ref2V training error and inspect the involved model and adapter weight shapes; done when Adapter training proceeds past LoRA fusion without the size mismatch.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
File "/mnt/workspace/yangxin/yangxin_file/DiffSynth-Studio/examples/minimax_h3/model_training/train.py", line 62, in init
[dlcl7pmobknpjy8d-master-0] [rank6]: self.switch_pipe_to_training_mode(
[dlcl7pmobknpjy8d-master-0] [rank6]: File "/mnt/workspace/yangxin/yangxin_file/DiffSynth-Studio/diffsynth/diffusion/training_module.py", line 282, in switch_pipe_to_training_mode
[dlcl7pmobknpjy8d-master-0] [rank6]: pipe.load_lora(getattr(pipe, preset_lora_model), preset_lora_path)
[dlcl7pmobknpjy8d-master-0] [rank6]: File "/mnt/workspace/yangxin/yangxin_file/DiffSynth-Studio/diffsynth/diffusion/base_pipeline.py", line 288, in load_lora
[dlcl7pmobknpjy8d-master-0] [rank6]: lora_loader.fuse_lora_to_base_model(module, lora, alpha=alpha)
[dlcl7pmobknpjy8d-master-0] [rank6]: File "/mnt/workspace/yangxin/yangxin_file/DiffSynth-Studio/diffsynth/utils/lora/general.py", line 67, in fuse_lora_to_base_model
[dlcl7pmobknpjy8d-master-0] [rank6]: state_dict_base["weight"] = state_dict_base["weight"].to(device=self.device, dtype=self.torch_dtype) + weight_lora
[dlcl7pmobknpjy8d-master-0] [rank6]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
[dlcl7pmobknpjy8d-master-0] [rank6]: RuntimeError: The size of tensor a (0) must match the size of tensor b (5376) at non-singleton dimension 1
在使用Adapter训练Ref2V时候出现了报错,请问下,这个问题目前有解决吗
- Ngôn ngữ chính
- Python
- Star
- 13.3k
- Fork
- 1.3k
- Merge trung bình
- 1 ngày 14 giờ
- Pull request đã merge (30 ngày)
- 43
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của modelscope/DiffSynth-Studio
-
Partial download surfaces as "Cannot detect the model type" rather than a download errorCó thể làm lại được Pull request cho issue này đã bị đóng mà không được merge. Đang mở
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 78/100
modelscope/DiffSynth-Studio#1668 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bfloat16训练时段错误: 数组越界的一种方案Có thể làm lại được Pull request cho issue này đã bị đóng mà không được merge. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
modelscope/DiffSynth-Studio#1499 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Latest update broke Wan2.2 S2VĐang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 78/100
modelscope/DiffSynth-Studio#1373 · 5 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
OPD做步数蒸馏的疑问Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 30/100
modelscope/DiffSynth-Studio#1786 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
wan animate2 int8量化训练支持Đang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
modelscope/DiffSynth-Studio#1785 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của modelscope/DiffSynth-Studio
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
-
Validate finite output clamping limits in StepPredictor.prepare_clamping_params to prevent silent NaN/Inf propagationCó thể đã có người làm @muskan-creates352 đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
mllam/neural-lam#848 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
infra
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
fab-geocommuns/RNB-coeur#1166 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
deepspeedai/DeepSpeed#8951 ·
Maintainer thường phản hồi trong vòng 2 ngày