Day 0 / 30   MI300X Inference Lab

Inference Engineering,
Top to Bottom

I am spending 30 days studying inference engineering with an AMD Instinct MI300X. Philip Kiely's Inference Engineering is the starting text. The experiments will also follow questions that come up while building and running systems.

I will work from application requirements down to model choice, serving software, GPU kernels, and multi-GPU behavior. This site will hold the questions, methods, results, and corrections as they develop.

Request path
  1. 01ClientSend, receive, and measure.
  2. 02HostNetwork and process boundaries.
  3. 03ContainerThe runtime that holds the service.
  4. 04EngineQueue, scheduler, and KV memory.
  5. 05Model / GPUPrefill, decode, and kernels.

Measurements: client timestamps, engine metrics, and GPU traces.

Component map. No timing data is shown.

Scope

What I will study

Each scenario starts with a task, traffic pattern, quality requirement, latency target, and cost limit. I will build or simulate the service, measure its behavior, and inspect the relevant layers.

Kernel implementation and distributed inference are deliberate parts of the study. They do not have to wait for a serving benchmark to suggest them. The MI300X and ROCm give the work a concrete hardware and software context.

Tvisible = Twait + Tmodel + Tdelivery
A request-level time budget. Each term needs a measurement boundary before it can be estimated.

Questions

Current questions

Propose a question on GitHub.

Scenarios

Production scenarios

These five scenarios provide different workloads for model selection, performance work, and service design. They are candidates for experiments.

  • Coding agentA session keeps a long context while tool calls add new text. We can compare prefix reuse and routing policies, then measure tool-to-token delay, task completion, and work left after cancellation.
  • Access-controlled document assistantUsers ask questions over documents with different access rules. We can compare retrieval and model choices while checking citations, answer quality, cache scope, and permission changes.
  • Voice support agentSpeech passes through endpoint detection, recognition, a language model, and synthesis. We can measure first audible response, gaps in playback, and how quickly generation stops when a caller interrupts.
  • Creative studioUsers want an early image or short clip preview, then a higher-quality export. We can compare sampling steps, denoising and VAE time, queue priority, memory peaks, and output quality.
  • Hosted inference APIInteractive and batch tenants share GPUs. We can test admission limits, routing, replica placement, cold starts, rollout failures, and cost per request that meets its latency target.

Method

How results will be recorded

For each experiment: state the question, fix the workload and software versions, record a prediction, save the measurements, and show how the result was calculated. The repository has the full method and an initial protocol.

There is no public result yet. Reports will appear here after the data and publication rights have been reviewed.

Browse

Browse the work

Available

Questions

Questions and proposed measurements.

Read the questions
No reports yet

Experiments

Protocols, results, analysis, and limitations will be listed here.

No explainers yet

Concepts

Derivations and explanations linked to experiments will be listed here.

Contribute

Contribute

Propose an experiment, check a calculation, or report an error. The repository has issue forms for proposals and corrections.

Open a GitHub issue