Home › Frontier AI roadmaps › Inference engineer
Frontier AI roadmaps · Inference engineer
Inference engineer: the roadmap
You make trained models answer faster and cheaper: memory, speed, batching, quantization and the GPU code underneath. This page gives you eight small steps, each with a clear finish line, and five small projects. Each project ends in one number you can publish.
Week 0 to 4
First, the base every role shares
Do these five things first. They are the same for all four roles, so nothing you do here is wasted if you change your mind.
| Step | What to do | You are done when |
|---|---|---|
| 1. Python you can read | Write ten small programs: read a file, count words, call a web API, sort a list of records. Use plain Python, no framework. | You can write a loop, a function and a dictionary without looking anything up. |
| 2. Git and GitHub | Put every small program in one repository. Commit each change with a one-line message. | A stranger can open your repository and run something from the README. |
| 3. Tensors and PyTorch basics | Make a tensor, multiply two of them, take a gradient of one number. Do the first official PyTorch tutorial. | You can explain in two sentences what a gradient is for. |
| 4. Run a model on your own machine | Install a local runner (Ollama or llama.cpp) and ask a small open model ten questions. | You know the model's size on disk and how many answers per minute it gives. |
| 5. Keep a measurement notebook | One file where every experiment gets: the question, the setup, the number, and what surprised you. | Your last three experiments are written down so someone else could repeat them. |
The roadmap
Eight small steps
The eight steps in order. Do one at a time; each one is small enough for a weekend or two.
1. Learn the two phases of an answer
Read a plain explanation of prefill (reading your prompt) and decode (writing the answer one token at a time), and of the KV cache that stores earlier work.
You are done when: You can draw both phases and say which one is limited by memory speed.
2. Measure before you guess
Run one small model locally. Record time to first token and tokens per second for a short and a long prompt.
You are done when: You have a table of three measurements with the machine and settings written beside it.
3. Do the memory sum
A model with 7 billion parameters at 16 bits needs about 14 GB for weights alone. Work out 8-bit and 4-bit, then add room for the KV cache.
You are done when: You can predict whether a model fits on a given card without trying.
4. Quantize and compare
Run the same model at three precisions. Measure speed and answer quality on 100 questions.
You are done when: You can say what you gave up for each saving.
5. Serve with a real engine
Rent a GPU by the hour and serve a model with vLLM. Send 1, 8 and 32 requests at once and record throughput and delay.
You are done when: You have a curve of throughput against delay and can explain its shape.
6. Write one GPU kernel
In Triton (a Python language for GPU code), write vector add and softmax. Time them against PyTorch.
You are done when: Your kernel gives the same answers, and you know why it is faster or slower.
7. Reproduce one speed-up idea
Pick one of continuous batching, prefix caching or speculative decoding (a small model drafts, a big one checks). Reproduce the gain at small scale.
You are done when: You have a before and after number and a plain sentence on why it works.
8. Turn speed into money
Work out the cost per million tokens for your setup, including idle time. Change one thing and recompute.
You are done when: You can say which one change saved the most.
Small projects
Five projects, each ending in a number
Keep each project small. Put the code and data in a public repository and write a one-page note on what you found. Where a project has code that can be tested, write the tests as one table of inputs and expected results, with one loop that runs every row. That keeps tests short and easy to extend.
I1. Will it fit? A memory calculator
- You build
- A small tool that takes parameters, precision and context length, and says how much memory is needed.
- You learn
- Weights, KV cache and overhead.
- Number you publish
- Predicted against real memory use on three models.
I2. Laptop speed table
- You build
- Speed of one model at three precisions on your own machine.
- You learn
- Where time goes on ordinary hardware.
- Number you publish
- Tokens per second and first-token time, per precision.
I3. Quality versus bits
- You build
- 100 questions run through the same model at 8, 4 and 3 bits, scored the same way.
- You learn
- What compression costs in quality.
- Number you publish
- Score drop per bit-width, with a note on sample size.
I4. The batching curve
- You build
- Throughput and delay of vLLM at several levels of load on a rented GPU.
- You learn
- Why batching raises throughput and hurts delay.
- Number you publish
- A chart of throughput against delay. Cost: a few dollars to tens of dollars; check current prices.
I5. Two small GPU kernels
- You build
- Vector add and softmax in Triton, timed against PyTorch.
- You learn
- How GPUs move memory, and where kernels win.
- Number you publish
- Milliseconds per call at three sizes.
What to leave for later
Temptations, with a verdict
| Temptation | Verdict | Why |
|---|---|---|
| Writing CUDA from day one | Delay | Start with measurement and Triton. CUDA matters for kernel roles, but the first gains come from knowing where time goes. |
| Reading every inference paper | Drop | Reproduce one idea in full. A reproduced result teaches more than ten summaries. |
| Buying a GPU | Drop | Rent by the hour until you know what you need. Prices change, so check current rates. |
| Training large models | Delay | Training infrastructure is a different job. Learn serving first; the memory sums carry over. |
FAQ
Questions people ask
Is this harder to enter than LLM engineering?
Usually, yes. Postings often ask for GPU programming and systems skill, which take longer to build. The steps above are a way to build that evidence in small pieces.
Do I need C++ or Rust?
Not at the start. Python and Triton cover the first eight steps. Postings often list C++ or CUDA for kernel and engine work, so add them once you know that is your direction.
What does it cost?
Steps 1 to 4 are free on a laptop. Steps 5 to 7 need a rented GPU for a few hours; as a rule of thumb, a few dollars to tens of dollars in total. Check current prices.
Keep going
Related
Which AI model for which jobHard problems: faster and cheaper answersLearning path: LLM engineering
Other roadmaps: LLM engineerAI safety and securityAI researcher Compare all four
Time spans, prices and difficulty on these pages are rules of thumb. The tools named were checked in November 2026 against a sample of job postings and engineering guides, which is a sample and not a survey. Tools change fast, so recheck each quarter.