Skip to content

Commit

Permalink
update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Manto committed Feb 19, 2025
1 parent 32b3d23 commit 179ac98
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions verl/trainer/main_ppo.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,8 @@

@hydra.main(config_path='config', config_name='ppo_trainer', version_base=None)
def main(config):
# Get the compute_score_path from config if specified
# Get the compute_score_path and import custom reward function if provided
compute_score_path = config.get('compute_score_path', None)

# Import the custom compute_score if path is provided
compute_score = None
if compute_score_path:
module_path, function_name = compute_score_path.rsplit('.', 1)
Expand Down

0 comments on commit 179ac98

Please sign in to comment.