Repository navigation
Conversation
Drop the standalone StreamMoE-ported expert routing predictor trainer. Nothing in the engine loads its .pt checkpoint, and Spark trace experiments (optimizations/spark/RESULTS.md) already documented the pre-attention recall ceiling (the sibling spark/train_pregate.py trainer was removed in #1117). Update the --collect-routing help string in server_main.cpp to stop referencing scripts/train_predictor.py.
Graffioh
marked this pull request as ready for review
December 2, 2026 08:24
davide221
reviewed
Dec 2, 2026
davide221
left a comment
Contributor
There was a problem hiding this comment.
Code review
No issues found. Checked for bugs and logic errors in the changed code.
Reviewed 6c9e90bc · 0 candidate issues checked, kept at ≥70% confidence · add the code-review label to review again
Contributor
There was a problem hiding this comment.
No issues found across 2 files
Heads up: you’re close to your included review allowance. Set a flex budget so reviews don’t pause.
View guided diff | Re-trigger cubic
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.
Removes the legacy
scripts/train_predictor.pyexpert routing predictor trainer.Why
--collect-routing, but nothing in the engine loads its.ptoutput.optimizations/spark/RESULTS.mdalready documented the pre-attention recall ceiling, and the siblingspark/train_pregate.pytrainer was removed in chore(optimizations): remove legacy pflash and spark Python packages #1117.Changes
scripts/train_predictor.py.--collect-routinghelp string inserver/src/server/server_main.cppto stop pointing atscripts/train_predictor.py.scripts/check_uv_workspace.sh(used by CI) andscripts/build_image.shuntouched, along withpyproject.toml/.githooks/pre-pushlint patterns so future Python scripts underscripts/stay covered and there are no conflicts withchore/remove-harness.