Skip to content

Add Trackio rollout trace logging#1935

Open
abidlabs wants to merge 1 commit into
THUDM:mainfrom
abidlabs:add-trackio-trace-logging
Open

Add Trackio rollout trace logging#1935
abidlabs wants to merge 1 commit into
THUDM:mainfrom
abidlabs:add-trackio-trace-logging

Conversation

@abidlabs
Copy link
Copy Markdown

@abidlabs abidlabs commented May 21, 2026

Hi folks! This PR adds trace logging via Trackio, the free, local-first experiment tracking library from Hugging Face 🤗

This PR follows slime's existing rollout trace and logging patterns, specifically I did this:

  • added --use-trackio support alongside the existing W&B/TensorBoard tracking options
  • added --trackio-project, --trackio-run-name, and --trackio-max-traces-per-rollout configuration
  • added logging rollout and evaluation samples as trackio.Trace records with step, rollout, sample, reward, status, metadata, and slime span-event metadata
  • added Trackio metric logging through the existing logging_utils.log(...) path
  • documented Trackio trace logging in the trace developer guide
  • added tests with mocked Trackio

Here's what it looks like:

image

AI assistance was used to prepare this PR, using the existing W&B/TensorBoard integrations as a template.

@abidlabs abidlabs marked this pull request as ready for review May 21, 2026 19:33
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