MASS

MASS measures how inference workloads change and uses those measurements to improve the recipes Magni ships.

How a recipe improves

  1. Profile the workload. The MASS design puts a profiler inside each shipped recipe. magni profile measures the load and how the server responds.
  2. 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.
  3. 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.
  4. 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.

Explore the Turbo recipes