mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #2301] calibrate: configured GPU vision encoder is absent during auto expert-cache sizing #925
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#925
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Tsury on GitHub (Oct 13, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/2301
GPU vision configurations are calibrated without the configured encoder resident. Auto expert-cache sizing therefore differs from normal serving.
At
v0.1.43.1(a0116b2782a5b82622358c04a06496485d12b2d6),tools/calibrate.pyconstructs onlyStrataEngine. Normalserve/server.pystartsVisionbefore the engine. That order explicitly lets the encoder occupy VRAM before cache allocation.I checked this on Linux with an RTX 5090 Laptop 24 GiB, Core Ultra 9 275HX, and 64 GB RAM. The model is SC117 Swift 1.5 GSQ-RCO IQ3_S. Both starts used the same configuration and effective controls: context 262144, INT8 KV/resident32768, automatic cache, workers7, PCIe0.55, and
--vram-reserve-mib 1600.The calibration allocation has 728 additional slots and 1416 MiB additional cache. Neither diagnostic startup generated tokens. The vision-resident start matches the existing serving measurements.
To reproduce with an existing absolute-path configuration:
StrataEngineusingCAL.apply(CAL.engine_args(cfg), {})andchild_env(cfg).engine.info, then close the engine completely.Visionwithvision_env(cfg, child_env(cfg)). Repeat the same engine initialization and readinfo.The installed
calibrate.pyis byte-identical to the release source. The native engine is our compatible combined b11582 build; the calibration source is unchanged. The configured CUDA vision helper is b11580. The same native executable/configuration was used for both diagnostic starts.Expected: calibration keeps the configured GPU encoder resident during all tuner engine restarts. It should use serving's vision configuration, environment, path handling, and final cleanup.
Established impact is different cache geometry. It can change the workload being tuned, including miss handling and adaptive-cache behavior. I have not measured a resulting settings, quality, or speed penalty. CPU vision, other GPUs, and multi-GPU configurations were not tested here.
I checked existing calibration/vision reports and found no focused report of this initialization mismatch.
@Niko1221 commented on GitHub (Oct 19, 2026):
Thanks for taking the time to report this.
We're resetting the tracker for 0.2.0-beta. There are more than 1,300 open issues and pull requests, too many for us to read properly, so we're closing everything that isn't being worked on right now. Closed here does not mean rejected.
To reopen it takes about two minutes:
/reopen. A check runs and either reopens the issue or lists what is still missing.The rules are in CONTRIBUTING.md.