Support cross-entity checkpoint forks - #676
Closed
poofeth wants to merge 1 commit into
Closed
Conversation
poofeth
force-pushed
the
fix/fork-checkpoint-from-entity-649
branch
from
May 11, 2026 04:44
c0221d8 to
6f9280c
Compare
Author
|
Added a direct fake-W&B regression test in Additional validation after the update: uv run pytest tests/unit/test_serverless_fork_checkpoint.py -q
uv run ruff check src/art/serverless/backend.py tests/unit/test_serverless_fork_checkpoint.py
uv run ruff format --check src/art/serverless/backend.py tests/unit/test_serverless_fork_checkpoint.py
git diff --checkResult: 5 tests passed; lint, format-check, and diff-check passed. |
Author
|
Closing this to keep my open review queue focused on active bounty work. This is a regular issue fix rather than an Algora/bounty claim, and I do not want it to add noise while prioritizing payout-backed PRs. The branch and tests remain available if maintainers want to reuse the patch later. |
AnnaSuSu
added a commit
to AnnaSuSu/ART
that referenced
this pull request
Jul 14, 2026
…tity ServerlessBackend._experimental_fork_checkpoint built the source artifact path from the destination model's entity (model.entity or api.default_entity), so a checkpoint could only be forked within the same W&B entity. Forking e.g. willow-voice/willow_normal/kl-000-1 into wb-training/... failed because it looked for the artifact under wb-training. Add an optional from_entity parameter and resolve the source entity as from_entity -> model.entity -> api.default_entity via a small pure helper (_wandb_checkpoint_collection_path) that also raises a clear error when no entity is available. Re-implements the approach validated in OpenPipe#676. Closes OpenPipe#649
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.
Fixes #649.
Summary
from_entityparameter toServerlessBackend._experimental_fork_checkpoint.Validation
uv run pytest tests/unit/test_serverless_fork_checkpoint.py -quv run ruff check src/art/serverless/backend.py tests/unit/test_serverless_fork_checkpoint.pyuv run ruff format --check src/art/serverless/backend.py tests/unit/test_serverless_fork_checkpoint.pygit diff --checkNote: this is a regular issue fix, not an Algora bounty claim.