We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 717feb0 commit a087ed2Copy full SHA for a087ed2
verl/trainer/ppo/ray_trainer.py
@@ -698,7 +698,7 @@ def init_workers(self):
698
actor_rollout_cls = RayClassWithInitArgs(
699
cls=self.role_worker_mapping[actor_role],
700
config=self.config.actor_rollout_ref,
701
- distillation_config=self.config.distillation,
+ distillation_config=self.config.get("distillation"),
702
role=str(actor_role),
703
)
704
self.resource_pool_to_cls[actor_rollout_resource_pool][str(actor_role)] = actor_rollout_cls
0 commit comments