ms-swift
ms-swift copied to clipboard
grpo 使用vllm server训练 参数共享
请问,GPRO在使用server模型进行训练的过程中,一开始就部署了一个π0的vllm的服务,当模型在t+1时刻进行在线采样的时候会向vllm发送请求,请问这个采样结果是来自π0的生成,还是π t时刻模型的生成?
Weight synchronization is performed before the start of each train step.
https://github.com/modelscope/ms-swift/blob/v3.6.2/swift/trainers/rlhf_trainer/grpo_trainer.py#L491-L552
Weight synchronization is performed before the start of each train step.
https://github.com/modelscope/ms-swift/blob/v3.6.2/swift/trainers/rlhf_trainer/grpo_trainer.py#L491-L552
oh, I see, thank you so much!