Skip to content

fix(cluster): the mode question trusts a measured mode over a predicted one - #1812

Merged
jonathan308 merged 2 commits into
devfrom
fix/cluster-advice-measured-first
Nov 5, 2026
Merged

jonathan308 merged 2 commits into
devfrom
fix/cluster-advice-measured-first

Conversation

@jonathan308

@jonathan308 jonathan308 commented Nov 5, 2026 •

Copy link
Copy Markdown
Collaborator

Stacked on #1811 (same function; merge #1811 first or review this diff's last commit).

Why

Two M5 Ultras, DevNet build D (2026-11-05 07:24Z): Gemma tensor parallel had served 111 tok/s and the pipeline hadn't yet. The advice compared the planner's predictions (pipeline 152, tensor parallel 133) and said Pipeline; that pipeline then served 64. MiMo the same way: "Speculative pipeline" over tensor parallel measured at 55. Owner: "use measurements when present"; "the tensor vs pipeline is wrong".

What

  • ClusterOnboardingModeAdvice.advise: when some open modes are measured on these Macs and some aren't, the fastest measured mode is recommended: "the only one measured on these Macs so far" / "the fastest measured on these Macs so far" (brief: "measured here").
  • Through Darkbloom a mode that serves more requests at once still wins first, as before (no speed needed).
  • All-measured and all-predicted inputs are unchanged. No hardware or model rule.

Tests (red → green)

provider-swift/Tests/ClusterOnboardingChecks/run.sh: the new checks (M5U Gemma, M5U MiMo, three modes, lanes first, the short line) fail on the base (6 fail) and pass here (1823 pass, 0 fail). changelog.py check and docs-impact-check --base origin/dev OK.

Evidence: overnight/tp-perf/REPORT.md, overnight/tp-perf/evidence/m5u-gtp, m5u-gpp, m5u-mtp.

Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

jonathan308 and others added 2 commits November 4, 2026 22:00
The owner (2026-11-05): "it should not show tok/s". Pair-2's Gemma question
read "Pipeline, faster here (about 56 against 52 tokens/s, predicted)".

- ClusterOnboardingModeAdvice.advise: the speeds (measured, else predicted)
  still rank the modes, but the reason is words only: "faster here", "serves
  up to 8 requests at once and is faster here" / "... and is as fast here"
  (that last case used to call an equal-speed mode faster).
- modeLine: a mode's row drops "N tok/s measured" / "not measured on these
  Macs yet"; it keeps the split, requests at once and the marker.
- OnboardingLive: the choice line a re-plan quotes ("Planned in the mode
  chosen: ...") no longer carries the planner's predicted speed.
- The model list keeps its measured served speeds (unchanged).

Checks: provider-swift/Tests/ClusterOnboardingChecks red 23 on the base
(1795 pass) -> 1818 pass, 0 fail.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ed one

Two M5 Ultras on DevNet build D (2026-11-05 07:24Z): Gemma tensor parallel had
served at 111 tok/s, the pipeline not yet. The advice compared the planner's
predictions (pipeline 152, tensor parallel 133) and recommended the pipeline,
which then served at 64. MiMo likewise: "Speculative pipeline" over tensor
parallel measured at 55.

ClusterOnboardingModeAdvice.advise: when some open modes are measured and some
are not, the fastest measured mode is recommended ("the only one measured on
these Macs so far" / "the fastest measured ..."; brief "measured here").
Through Darkbloom a mode that serves more at once still wins first (no speed
needed). All-measured and all-predicted cases are unchanged. No hardware or
model rule.

Checks: ClusterOnboardingChecks red 6 on the base -> 1823 pass, 0 fail.
Stacked on #1811 (same function).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vercel

vercel Bot commented Nov 5, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
d-inference Error Error Nov 5, 2026 8:12am UTC
d-inference-console-ui-dev Error Error Nov 5, 2026 8:12am UTC
d-inference-landing Ready Ready Preview Nov 5, 2026 8:12am UTC
darkbloom-status Ready Ready Preview Nov 5, 2026 8:12am UTC
eigen-homepages-darkbloom Ready Ready Preview Nov 5, 2026 8:12am UTC

Request Review

This branch had an error being deployed

2 failed and 3 active deployments
Preview – eigen-homepages-darkbloom — 9de64d60 Deployed Nov 5, 2026 by vercel[bot]
Preview – d-inference-landing — 9de64d60 Deployed Nov 5, 2026 by vercel[bot]
Preview – d-inference-console-ui-dev — 9de64d60 Deployed Nov 5, 2026 by vercel[bot]
Preview – d-inference — 9de64d60 Deployed Nov 5, 2026 by vercel[bot]
Preview – darkbloom-status — 9de64d60 Deployed Nov 5, 2026 by vercel[bot]
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