Skip to content

Fix HP search PPOConfig clip parameter mismatch - #67

Merged
Navy10021 merged 1 commit into
mainfrom
codex/fix-error-in-github-actions
Mar 6, 2026
Merged

Navy10021 merged 1 commit into
mainfrom
codex/fix-error-in-github-actions

Conversation

@Navy10021

Copy link
Copy Markdown
Owner

Motivation

  • The HP search created PPOConfig with a non-existent clip_range argument while PPOConfig defines clip_eps, which caused a TypeError during CI.

Description

  • Update utils/hp_search.py to pass clip_eps=params.get("clip_range", params.get("clip_eps", 0.2)) so the code uses the correct PPOConfig field while remaining backward-compatible with grids that use clip_range.

Testing

  • Ran pytest -q tests/test_hp_search.py which passed (7 passed), and ran the full suite with pytest -q which succeeded (143 passed, 1 skipped).

Codex Task

@Navy10021
Navy10021 merged commit 725c6af into main Mar 6, 2026
1 check passed

@Navy10021 Navy10021 left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok

@Navy10021
Navy10021 deleted the codex/fix-error-in-github-actions branch March 6, 2026 13:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant