Skip to content

Commit a087ed2

Browse files
committed
Missing distillation cfg in ray_trainer
1 parent 717feb0 commit a087ed2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

verl/trainer/ppo/ray_trainer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -698,7 +698,7 @@ def init_workers(self):
698698
actor_rollout_cls = RayClassWithInitArgs(
699699
cls=self.role_worker_mapping[actor_role],
700700
config=self.config.actor_rollout_ref,
701-
distillation_config=self.config.distillation,
701+
distillation_config=self.config.get("distillation"),
702702
role=str(actor_role),
703703
)
704704
self.resource_pool_to_cls[actor_rollout_resource_pool][str(actor_role)] = actor_rollout_cls

0 commit comments

Comments
 (0)