rtz1998

Results issues of rtz1998

使用Qwen1.5-7B-Chat在dpo训练的时候出现grad_norm出现Nan值,然后模型不更新 1. 尝试将dtype变成fp32依然出现该情况 ![image](https://github.com/modelscope/swift/assets/48934245/591ad7d7-3d20-4eec-9424-b251164319b5)

### System Info ----------Python Info---------- Version : 3.12.11 Compiler : GCC 11.4.0 Build : ('main', 'Jun 4 2025 08:56:18') Arch : ('64bit', 'ELF') ------------Pip Info----------- Version : 25.2 Directory :...

bug

**Describe the bug** Raise "valueError: You cannot specify an optimizer in the config file and in the code at the same time. Please remove the optimizer from the config file...

1. 报错'KTOTrainer' object has no attribute 'calculate_KL' 2. desirable_weight设置无效 /usr/local/lib/python3.10/dist-packages/swift/trainers/rlhf_trainer/kto_trainer.py:81: UserWarning: You have different amounts of desirable/positive and undesirable/negative examples but the weights on the desirable and undesirable losses don't...

bug

deepspeed=0.14.5 bug:RuntimeError: Inference tensors cannot be saved for backward. To work around you can make a clone to get a normal tensor and use it in autograd. 脚本: nproc_per_node=6 CUDA_VISIBLE_DEVICES=0,1,2,3,4,5,6,7...

求一个能8卡A100使用GRPO跑通Qwen2.5 72B模型的脚本 最大长度大概8192左右