Cooked#8
Open
RookieJoel wants to merge 4 commits into
Open
Conversation
- Added STARFORMER optimization branch in training.py, including TD loss computation and logging. - Introduced _compute_episode_rtg function for discounted return-to-go calculation. - Enhanced train function to support STARFORMER context management and episode tracking. - Updated select_action in utils.py to handle STARFORMER-specific action selection logic. - Created AGENTS.md for documentation on project structure and key files. - Added SKILL.md to outline coding patterns and conventions used in the project. - Introduced unit tests for Transition dataclass and StarformerQNet in tests/test_datamodel.py and tests/test_starformer_net.py. - Implemented tests for WindowPrioritizedReplayMemory in tests/test_window_replay.py to validate episode boundary and backfill logic.
- Added STARFORMER architecture integration with PPO in training.py. - Introduced windowed tensor building and action selection for STARFORMER. - Enhanced PPO optimization with AMP support and GAE computation. - Updated action selection logic in utils.py to accommodate STARFORMER. - Created new tests for STARFORMER network and PPO configurations. - Added documentation for agents and coding patterns in AGENTS.md and SKILL.md. - Established a test suite for datamodel and replay memory functionalities.
Contributor
|
cannot use PPO with random sampling it force to use uniform |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.