Add Trackio rollout trace logging#1534
Open
abidlabs wants to merge 1 commit into
Open
Conversation
Collaborator
|
Thanks for the PR! Can we make trackio as one backend of TrajectoryLogger to make the logging system more manageable? Thanks! |
e0e9a51 to
2711e3f
Compare
Author
|
Thanks for the suggestion @lc5211. I updated this PR to make Trackio a backend of the existing trajectory logger instead of using a separate Trackio-specific logger. The Trackio backend now lives in I also tested and confirmed with and end-to-end example that everything is logged correclty:
|
2711e3f to
f3ad828
Compare
f3ad828 to
a0680fd
Compare
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.

Hi folks! This PR adds trace logging via Trackio, the free, local-first experiment tracking library from Hugging Face 🤗
This PR follows Tunix's existing rollout and trajectory logging patterns. Specifically, I did this:
AlgorithmConfigtrackio.Tracerecords with step/reward/advantage metadatatrackio.Tracerecords with trajectory metadataHere's what it looks like:
AI assistance was used to prepare this PR.