Skip to content

fix(serverless): fork checkpoints across W&B entities - #1148

Open
Boulea7 wants to merge 1 commit into
OpenPipe:mainfrom
Boulea7:fix/serverless-fork-source-entity
Open

Boulea7 wants to merge 1 commit into
OpenPipe:mainfrom
Boulea7:fix/serverless-fork-source-entity

Conversation

@Boulea7

@Boulea7 Boulea7 commented Oct 26, 2026

Copy link
Copy Markdown

Summary

Allow ServerlessBackend checkpoint forks to read a different W&B entity while uploading to the destination model's entity.

Closes #649.

Changes

  • Add keyword-only from_entity for source artifacts and provenance, preserving existing positional arguments and S3 paths.
  • Keep W&B downloads in a separate temporary directory through upload completion so files from another source cannot enter the destination artifact.

Test plan

  • Added regressions on unfixed main for the missing parameter and files leaking between source entities.
  • Focused fork, adapter lease, and Serverless pipeline tests: 16 passed.
  • Ruff, formatting, and lockfile hooks passed. uv run ty check src tests passed on the sparse client/import checkout after completing its dependencies.
  • W&B and S3 I/O use local fixtures; live service and GPU validation were not run.

@Boulea7
Boulea7 marked this pull request as ready for review October 26, 2026 07:29
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 26, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ⚠️ Failed 2026-10-26T07:30:41.951024Z
We couldn’t complete this review. Comment @codex review to try again.
775a711 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

This branch has not been deployed

No deployments
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.

Add from_entity parameter to _experimental_fork_checkpoint

1 participant