Skip to content

Adds a readonly (static) Trackio mode (includes a BREAKING change: trackio.sync() will now output readonly Spaces by default)#455

Merged
abidlabs merged 16 commits into
mainfrom
s
Mar 27, 2026
Merged

Adds a readonly (static) Trackio mode (includes a BREAKING change: trackio.sync() will now output readonly Spaces by default)#455
abidlabs merged 16 commits into
mainfrom
s

Conversation

@abidlabs
Copy link
Copy Markdown
Member

@abidlabs abidlabs commented Mar 26, 2026

Following up from #450, Trackio can now deploy as a static Space reading and displaying from a HF dataset. This is useful to display to display dashboards after training is complete, e.g. in our Trainer/Transformers/TRL integrations, cc @qgallouedec

In fact, I've made the default behavior of trackio.sync() to create a static space, so that we do not need to update our integrations in these libraries. The previous behavior can be recovered by setting read_only=False.

Example: https://huggingface.co/spaces/abidlabs/sync-demo-860574-rtkyENK1ODc

image

Also a variety of fixes for gaps in the refactor in #450

@gradio-pr-bot
Copy link
Copy Markdown
Contributor

gradio-pr-bot commented Mar 26, 2026

🪼 branch checks and previews

Name Status URL
🦄 Changes detected! Details

@gradio-pr-bot
Copy link
Copy Markdown
Contributor

gradio-pr-bot commented Mar 26, 2026

🦄 change detected

This Pull Request includes changes to the following packages.

Package Version
trackio minor

  • Adds a readonly (static) Trackio mode (includes a BREAKING change: trackio.sync() will now output readonly Spaces by default)

‼️ Changeset not approved. Ensure the version bump is appropriate for all packages before approving.

  • Maintainers can approve the changeset by checking this checkbox.

Something isn't right?

  • Maintainers can change the version label to modify the version bump.
  • If the bot has failed to detect any changes, or if this pull request needs to update multiple packages to different versions or requires a more comprehensive changelog entry, maintainers can update the changelog file directly.

@HuggingFaceDocBuilderDev
Copy link
Copy Markdown

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@abidlabs abidlabs changed the title Read-only mode Adds a read-only (static) Trackio mode (includes a BREAKING change: trackio.sync() will now output readonly Spaces by default) Mar 26, 2026
@abidlabs abidlabs changed the title Adds a read-only (static) Trackio mode (includes a BREAKING change: trackio.sync() will now output readonly Spaces by default) Adds a readonly (static) Trackio mode (includes a BREAKING change: trackio.sync() will now output readonly Spaces by default) Mar 26, 2026
@abidlabs abidlabs marked this pull request as ready for review March 26, 2026 21:31
@abidlabs
Copy link
Copy Markdown
Member Author

I spent some more time on this, and actually we will need to make changes in transformers/trl/Trainer to support the new static deployment. So I'm going to change this PR to be non-breaking. To deploy as a static space, you will need to sync(sdk="static") explicitly, otherwise the old behavior will be preserved.

@abidlabs abidlabs merged commit f8db51a into main Mar 27, 2026
4 of 5 checks passed
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.

3 participants