TensoriumInterview preparation
All pathways
Specialist pathway

ML Systems Engineer

Make training and serving measurable

For ML and research engineers working on GPU performance, distributed training and LLM serving.

Frontier-lab role alignment

This pathway develops one primary specialty while preserving the cross-functional range expected of a Senior IC.

ML Systems

Primary

Reason about memory, arithmetic intensity, communication and latency under a defined workload.

Model Behavior

Supporting

Validate quality and numerical regressions alongside performance changes.

Agent Systems

Supporting

Budget the model-serving costs and latency that compound across tool-using trajectories.

Readiness gate

The Senior IC proof standard

01

Derive

Derive the mechanism and state the assumptions that make it valid.

02

Build

Produce a runnable local implementation with tests and measurements.

03

Experiment

Form a hypothesis, control variables, and interpret noisy results.

04

Diagnose

Select discriminating telemetry and isolate a failure from evidence.

05

Defend

Make a quantitative design decision and articulate its failure boundaries.

What you will be able to defend

Derive tensor, cache and training-state memory
Identify compute, memory and communication limits
Choose parallelism and batching from explicit constraints
Defend a serving design without confusing estimates with measurements

Curriculum sequence

Start with shared foundations, then specialize. Lessons include their prerequisites in order, without duplicates. Open any lesson freely; the same lesson and assessment history are reused across paths. Reading is not a graded demonstration of mastery.

  1. 01

    Math & tools

    Learn the quantities and learning mechanics before specializing. Revisit or skip familiar material freely.

    1. 1.Tensors, Shapes & Matmul Cost
    2. 2.Numbers, Dtypes & Back-of-Envelope Math
    3. 3.Probability for ML
    4. 4.Backprop & Autograd
    5. 5.Log-Likelihood, Cross-Entropy, Entropy & KL
    6. 6.Optimization Basics
    7. 7.The Training Loop in PyTorch
    8. 8.Statistics for Experiments
    Milestone 1

    Trace shapes, bytes, gradients and uncertainty through a worked example; run the training-loop notebook.

  2. 02

    The model underneath

    Connect token representations, the causal Transformer, generation and cached state.

    1. 1.Tokenization & Embeddings
    2. 2.Softmax & Next-Token Prediction
    3. 3.Self-Attention (Scaled Dot-Product)
    4. 4.Causal Masking
    5. 5.Positional Encoding & RoPE
    6. 6.RMSNorm & LayerNorm
    7. 7.MLP, GELU, SwiGLU
    8. 8.Transformer Forward Pass
    9. 9.Sampling: Temperature, Top-k, Top-p
    10. 10.KV Cache
    Milestone 2

    Trace a token from its ID to a next-token distribution and explain what changes between training and inference.

  3. 03

    Experimental discipline

    Learn to judge an intervention before trusting a headline result.

    1. 1.Ablations & Controlled Experimentation
    2. 2.Error Analysis & Failure Taxonomy
    3. 3.Benchmark Design & Contamination
    Milestone 3

    State a hypothesis, a controlled comparison, an uncertainty estimate and a concrete failure slice.

  4. 04

    Training state and stability

    Connect gradients, optimizer state, numerical formats and recomputation.

    1. 1.AdamW & Optimizer State
    2. 2.Mixed Precision (FP16/BF16)
    3. 3.Activation Checkpointing
    4. 4.Learning Rate Schedules & Warmup
    5. 5.Training Instability
    Milestone 4

    Account for training-state memory and propose a discriminating check for a failed training run.

  5. 05

    GPU and distributed execution

    Build a cost model before choosing kernels or parallelism.

    1. 1.GPU Execution Model & FLOPs
    2. 2.Memory Bandwidth & Arithmetic Intensity
    3. 3.Roofline Model
    4. 4.GEMM, Tiling & Kernel Fusion
    5. 5.NCCL & Collectives
    6. 6.DDP
    7. 7.ZeRO & FSDP
    8. 8.Tensor Parallelism
    9. 9.Pipeline Parallelism
    Milestone 5

    Separate arithmetic, data movement and collectives; explain which parallelism choice addresses the limiting resource.

  6. 06

    Serving and design decisions

    Bring cache capacity, scheduling, request latency and quality together.

    1. 1.MHA / MQA / GQA
    2. 2.Inference Lifecycle: Prefill & Decode
    3. 3.KV Cache Memory Derivation
    4. 4.Static Batching
    5. 5.Continuous Batching
    6. 6.Chunked Prefill
    7. 7.Prefix Caching
    8. 8.FlashAttention
    9. 9.Paged KV Cache / PagedAttention
    10. 10.Compute-bound vs Memory-bound Operations
    11. 11.Speculative Decoding
    12. 12.TTFT, TPOT, ITL
    13. 13.Throughput, Goodput & Tail Latency
    14. 14.Model Quantization (FP8, INT8, INT4)
    15. 15.Inference System Design
    Milestone 6

    Defend a capacity and latency plan, then state the measurements that could falsify it.

What is included

The same Understand → Explain → Measure → Defend loop, scoped to this specialty.

Research landscape reference: vLLM documentation