Skip to content

refactor(ppo): optimize early stopping with for-else loop#847

Closed
songyuc wants to merge 1 commit intohaosulab:mainfrom
songyuc:ppo-kl-fix
Closed

refactor(ppo): optimize early stopping with for-else loop#847
songyuc wants to merge 1 commit intohaosulab:mainfrom
songyuc:ppo-kl-fix

Conversation

@songyuc
Copy link
Contributor

@songyuc songyuc commented Feb 10, 2025

   - Replace dual break checks with Pythonic for-else structure
   - Improve code readability while maintaining original logic
   - Related to issue #830
@songyuc songyuc closed this by deleting the head repository Apr 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant