plan: auto-tune heuristics — MTP/PIPE/NUMA decisions from bottleneck classification#393
Open
ZacharyZcR wants to merge 1 commit into
Open
plan: auto-tune heuristics — MTP/PIPE/NUMA decisions from bottleneck classification#393ZacharyZcR wants to merge 1 commit into
ZacharyZcR wants to merge 1 commit into
Conversation
ZacharyZcR
force-pushed
the
feat/auto-tune
branch
from
July 19, 2026 13:14
82b99a3 to
adcb388
Compare
…cisions Extend resource_plan to classify the hardware into bottleneck regimes (disk / memory / mixed / compute) and derive tuning knobs automatically: MTP: off when compute-bound (42% loss at full residency, JustVugg#389) or disk-bound with <90% hit (union growth adds reads) PIPE: COLI_CUDA_PIPE=1 single-GPU, =2 multi-GPU, PIPE=1 CPU disk NUMA: selective interleave for GPU hosts, blanket hint for CPU-only PIN: PIN_GB=all when fully resident + no GPU OMP: COLI_NO_OMP_TUNE=1 for Metal (spin steals GPU power) `coli plan` now shows an auto-tune section with each knob and its reason. `environment_for_plan()` applies them via setdefault so explicit user settings always win. plan version stays at 2 (additive fields: bottleneck_class, projected_hit_rate, tune). 7 new tests covering all regimes.
ZacharyZcR
force-pushed
the
feat/auto-tune
branch
from
July 19, 2026 13:20
adcb388 to
8a9a0fc
Compare
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.
Summary
coli planoutput now shows an auto-tune prescription with each knob and its reasonenvironment_for_plan()applies them viasetdefault— explicit user settings always winTest plan