MASS
MASS measures how inference workloads change and uses those measurements to improve the recipes Magni ships.
How a recipe improves
- Profile the workload. The MASS design puts a profiler inside each shipped recipe.
magni profilemeasures the load and how the server responds. - Choose a mode. Workload simulation (
wsim) replays traffic to compare serving modes. The controller policy uses those comparisons to decide when a different mode could help. - Change modes. Turbo Low, Med, and High are the first recipes in this program. The design uses kernel hot reload to change supported optimizations on a running server. In MASS 1.0, the policy advises and the operator applies mode changes.
- Measure and release again. Telemetry scores throughput, latency, and goodput, including the cost of switching. Those measurements guide new modes, which we test before shipping an updated recipe.
See a mode change
A measured test replay shows the mode controller behind MASS 1.0's recommendations moving from the default mode to prefix caching.