rtz1998
rtz1998
> @Junxiao-Zhao好消息,我认为我已经解决了收敛问题(至少在 Dense 架构上是这样),如果你尝试一下这个 Megatron-Bridge PR:[NVIDIA-NeMo/Megatron-Bridge#1603](https://github.com/NVIDIA-NeMo/Megatron-Bridge/pull/1603),它对 LoRA 和 CanonicalLoRA 的效果似乎也一样好: > > 您好,我想请问您解决这个问题的脚本是什么。我安装了megatron-bridge的commit,但是dense模型的grad_norm依旧为0
> Hi @rtz1998,我建议你安装Megatron-Bridge的时候用[NVIDIA-NeMo/Megatron-Bridge@a489bed](https://github.com/NVIDIA-NeMo/Megatron-Bridge/commit/a489bed3a2410ed9b000ec13a3c90176fec7d99c) 这个commit,具体可以参考https://github.com/volcengine/verl/pull/4533/changes#diff-ede636eb585931bd42b3b527bff08e1a3fab254eaf02fdd0fa33734e6dcafa0aR125-R126 > > 脚本我用的examples/grpo_trainer/run_qwen2-7b_math_megatron_lora.sh测试的,你也可以看一下哪里不一样 依然有问题,重新安装Megatron-Bridge和Megatron-LM后,脚本也一致。更奇怪的是Moe模型是正常的 安装命令如下: pip3 uninstall megatron-bridge megatron-core -y # 安装指定 commit 的 Megatron-Bridge python3 -m pip install --no-deps --no-build-isolation \ git+https://github.com/NVIDIA-NeMo/Megatron-Bridge.git@a489bed # 安装指定 commit...
> @rtz1998 I just double checked locally and found that for dense, it's OK when setting `pipeline_model_parallel_size` > 1, and `grad_norm` will remain 0 if we set `pipeline_model_parallel_size` = 1....
> Did you resolve the issue? for https://github.com/volcengine/verl/pull/4566
> deepspeed and GaLore are not compatible And I wonder whether LISA is compatible with DeepSpeed?
还是有第一个问题,脚本里设置了undesirable_weight,但是设置无效。 /code/llm_env/lib/python3.10/site-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 seem to be in an ideal range. Based...
> 显存需求比较大,lora训练还是全参 lora训练就可以
> 大家有没有用过stage 2微调过?有这个错误吗? stage2 没有问题