Skip to content

ci: Scope vLLM build caches by ref - #214

Open
alexeldeib wants to merge 2 commits into
mainfrom
ace/scope-vllm-build-cache
Open

ci: Scope vLLM build caches by ref#214
alexeldeib wants to merge 2 commits into
mainfrom
ace/scope-vllm-build-cache

Conversation

@alexeldeib

Copy link
Copy Markdown
Contributor

Let branch builds read the canonical shared cache while writing only to a ref-scoped cache. Queue runs per ref so every pushed SHA builds serially without cross-branch cache races or duplicate ARM contention. This avoids auto-cancellation which I recall Eta preferred, while permitting concurrency groups to prevent same-branch cache collisions.

Let branch builds read the canonical shared cache while writing only to a ref-scoped cache. Queue runs per ref so every pushed SHA builds serially without cross-branch cache races or duplicate ARM contention.

Co-authored-by: Codex <codex@openai.com>
Signed-off-by: Ace Eldeib <aeldeib@coreweave.com>
@alexeldeib
alexeldeib requested review from a team and Eta0 as code owners August 19, 2026 21:42
Scope main cache writes separately from the legacy shared ref. Branch builds now read branch, main, and legacy caches in order while writing only to their branch cache, preserving warm starts without cross-branch manifest races.

Co-authored-by: Codex <codex@openai.com>
Signed-off-by: Ace Eldeib <aeldeib@coreweave.com>
@github-actions

Copy link
Copy Markdown

@alexeldeib Build complete, success: https://github.com/coreweave/ml-containers/actions/runs/32306688845
Image: ghcr.io/coreweave/ml-containers/build-test:ace-scope-vllm-build-cache-da6d004

@alexeldeib

alexeldeib commented Aug 19, 2026

Copy link
Copy Markdown
Contributor Author

mehh this logic is kind of tricky to get the right behavior...using branch alone leads to a cold first build...so ideally you read the shared cache once, then write to branch, then read from branch...mmm

edit: think that kind of works actually?

@github-actions

Copy link
Copy Markdown

@alexeldeib Build complete, success: https://github.com/coreweave/ml-containers/actions/runs/32306688816
Image: ghcr.io/coreweave/ml-containers/vllm-tensorizer:ace-scope-vllm-build-cache-da6d004-4bdc8a788d2e2ce9165d552b3d4d8b72604626bf-cuda13.2.1-ubuntu24.04

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