Skip to content

Commit 249c083

Browse files
authored
[reward,ci] fix: cast (#4594)
### What does this PR do? This PR fixes the import error for the object used in `cast`.
1 parent 3dd2d81 commit 249c083

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

verl/trainer/ppo/reward.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ def load_reward_manager(
153153
)
154154
reward_manager_cls_name = reward_manager_cfg.name
155155
reward_manager_cls = cast(
156-
type[AbstractRewardManager],
156+
"type[AbstractRewardManager]",
157157
load_extern_object(module_path=module_cfg.path, object_name=reward_manager_cls_name),
158158
)
159159

0 commit comments

Comments
 (0)