Skip to content

Commit 451612c

Browse files
authored
[grpo] fix enable_server_multi_turn (#5628)
1 parent fb626ee commit 451612c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

swift/trainers/rlhf_trainer/grpo_trainer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ def __init__(self,
251251
self.vllm_use_async_engine = False
252252
self.enable_offload = False
253253
self.use_gym_env = False
254-
self.enable_server_multi_turn = self.args.multi_turn_scheduler is not None
254+
self.enable_server_multi_turn = False
255255
# for multi-turn server, maybe the num of rollout outputs is not equal to the num of rollout inputs
256256
self.dynamic_num_samples = False
257257
if self.use_vllm:

0 commit comments

Comments
 (0)