Repository navigation
Conversation
… fill A queued request whose prompt is exactly a filling prompt's — same cache key, same tokens, same spans, the leader's last mark serving it whole — now waits for that fill to end (TENSORFOLD_PREFIX_WAIT_MS still bounds it) instead of waiting for one cut and prefilling the rest beside the leader. Released only when every keep is published, its lookup resumes the leader's deepest kept state; a missed lookup, a failed or cancelled leader or the bound all fall open to prefilling independently. Waits for a shared cut are unchanged.
The join v1 armed only where a filling leader had a planned mark whose wouldServe would serve the waiter — nothing arms it on a cold cache, where no mark is planned and nothing kept (the GB10 receipt: 4x identical 126k cold prompts still prefilled independently). A queued request now joins a filling leader on prompt identity alone: same cache key, same tokens, same spans, no mark and no kept state consulted; waiters per leader are bounded by the admission cap, and every release path (fill done, leader gone, bound passed) still falls open to an independent prefill. The new test drives the identical fanout over a zero-budget store — no marks, nothing kept — and fails on v1 (joins 0 of 3) while passing here.
The description listed four single-flight cases; the file carried two. Adds the leader-cancellation and bound-passage fail-open cases AIFlowML asked for: a released waiter prefills its own prompt and its reply is token for token the no-join run's; the leader's cancellation releases without a timeout, the 1 ms bound against 30 ms chunks releases with one per joiner.
… the target draw's keyed noise
…s keyed noise A shared round reads each node's chance as e^own from its tree's scores, so a batched proposal keeps the drafter's scores as on main.
Owner
Author
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.
CI for a landing train: #3693 #3978 stacked on main in that order. Nothing merges from this PR: each PR above lands on its own once this tip is green, and this PR is then closed.