Engineering.

Understand the system. Then build it well.

Connect computing fundamentals to learning algorithms and the infrastructure that runs them. Reason about data, training, inference, reliability, and the tradeoffs behind real AI systems.

1000 published lessons100 modules26811 min of guided study
Your notebook0 of 1000 lessons completed

Your place, at your pace. Progress is optional and saved only in this browser when available.

The learning path

Each lesson includes an interactive lab

100 modules

  1. Module 01foundation

    Understand the machine

    Trace data and work through programs, memory, networks, storage, and running services.

    10 lessons165 min
  2. Module 02core

    Build and understand learning systems

    Learn how models acquire useful behavior, how training fails, and how to evaluate evidence.

    10 lessons295 min
  3. Module 03advanced

    Operate AI at scale

    Design and operate data, training, inference, reliability, and security systems for AI.

    10 lessons292 min
  4. Module 04advanced

    Build a dependable engineering platform

    Understand containers, reconciliation, delivery, and the interfaces that make shared infrastructure usable.

    10 lessons301 min
  5. Module 05advanced

    Design the data beneath intelligent systems

    Connect storage internals, transactions, event streams, and retrieval indexes to correctness and operating cost.

    10 lessons312 min
  6. Module 06advanced

    Reason about deep learning architectures

    Study architectural choices through mechanisms, computational constraints, and controlled comparisons.

    10 lessons339 min
  7. Module 07advanced

    Build and evaluate language model systems

    Follow tokens through inference, retrieval, tools, adaptation, and evaluation with explicit quality and resource budgets.

    10 lessons321 min
  8. Module 08advanced

    Engineer systems that withstand failure

    Design admission, retries, fault testing, recovery, and degraded operation around measurable service behavior.

    10 lessons330 min
  9. Module 09research

    Secure the complete AI system

    Analyze trust boundaries, identity, provenance, privacy, adversarial inputs, and evidence for security decisions.

    10 lessons313 min
  10. Module 10research

    Investigate the frontier of AI infrastructure

    Design credible experiments and study compute allocation, numerical behavior, compilers, energy, and reproducibility.

    10 lessons337 min
  11. Module 11core

    Instructions and execution

    Connect instruction-set contracts to pipelines, retirement, and the costs that programs expose to hardware.

    10 lessons220 min
  12. Module 12core

    The memory hierarchy in practice

    Explain locality, coherence, translation, and bandwidth limits before interpreting measurements from real processors.

    10 lessons236 min
  13. Module 13core

    Lifetimes, allocation, and managed memory

    Reason about ownership and object lifetime, then compare runtime allocation and collection mechanisms with explicit safety boundaries.

    10 lessons231 min
  14. Module 14core

    How an operating system executes work

    Follow execution across system calls, scheduling, interruption, synchronization, and process boundaries without assuming a particular kernel version.

    10 lessons244 min
  15. Module 15advanced

    Virtual memory and physical pressure

    Trace address translation, faults, reclamation, and locality while distinguishing process address space from committed physical memory.

    10 lessons230 min
  16. Module 16advanced

    Correctness under concurrent execution

    Build concurrency arguments from happens-before relations, linearization points, reclamation, and explicit progress guarantees.

    10 lessons245 min
  17. Module 17advanced

    Event loops and asynchronous I/O

    Compare readiness and completion models, cancellation, buffering, and backpressure through inspectable execution traces.

    10 lessons241 min
  18. Module 18advanced

    From files to durable blocks

    Connect filesystem metadata, write ordering, device behavior, and failure recovery to the durability promises applications need.

    10 lessons259 min
  19. Module 19advanced

    Transport under loss and congestion

    Understand reliable delivery, congestion feedback, pacing, and transport measurements using assumptions about loss and round-trip delay.

    10 lessons245 min
  20. Module 20advanced

    Addresses, routes, and reachability

    Follow packets through addressing, forwarding, routing policy, name resolution, and reachability failures across administrative boundaries.

    10 lessons245 min
  21. Module 21advanced

    Application protocols as state machines

    Analyze framing, multiplexing, caching, streaming, and retry semantics as contracts between independently failing participants.

    10 lessons251 min
  22. Module 22advanced

    Protect connections and protocol boundaries

    Understand connection authentication and encrypted transport while keeping cryptographic primitives distinct from application authorization.

    10 lessons258 min
  23. Module 23advanced

    Fabric design for distributed computation

    Relate topology, congestion, collective traffic, and failure domains to the communication demands of modern compute clusters.

    10 lessons256 min
  24. Module 24advanced

    Order and uncertainty without a global clock

    Separate causality from wall-clock time, then reason about leases, fencing, deadlines, and uncertainty in distributed execution.

    10 lessons240 min
  25. Module 25advanced

    Consensus from safety invariants

    Develop crash-fault consensus through quorums, terms, logs, membership, and recovery rather than assuming a reachable majority proves correctness.

    10 lessons261 min
  26. Module 26advanced

    Replication beyond a single leader

    Compare reconciliation strategies, causal metadata, and convergent replicated structures while making conflict semantics explicit.

    10 lessons250 min
  27. Module 27advanced

    Transactions across machines

    Reason about atomic commit, isolation, concurrency conflicts, and recovery across partitions without confusing availability with atomicity.

    10 lessons260 min
  28. Module 28advanced

    Indexes and access path tradeoffs

    Derive lookup and update behavior from index layout, concurrency, compression, and workload selectivity rather than treating every index as beneficial.

    10 lessons236 min
  29. Module 29advanced

    How a query becomes work

    Follow relational expressions through statistics, planning, joins, memory limits, and execution to explain measured query behavior.

    10 lessons240 min
  30. Module 30advanced

    Columnar storage and analytical scans

    Connect encoding, pruning, partition layout, and vectorized scans to the physical costs of analytical data systems.

    10 lessons275 min
  31. Module 31advanced

    Stateful computation over unbounded input

    Trace state, progress, replay, and recovery through streaming operators while stating the exact boundary of processing guarantees.

    10 lessons258 min
  32. Module 32advanced

    Object storage from metadata to repair

    Examine object placement, multipart protocols, erasure coding, integrity checks, and repair under explicit consistency and durability contracts.

    10 lessons256 min
  33. Module 33advanced

    Caches under contention and failure

    Design cache keys, eviction, invalidation, stampede controls, and coherence around measurable freshness and resource budgets.

    10 lessons250 min
  34. Module 34advanced

    Trustworthy datasets and data contracts

    Make data ownership, validation, provenance, access, and retention executable parts of production data pipelines.

    10 lessons240 min
  35. Module 35advanced

    The mechanics of isolated workloads

    Inspect the lifecycle of a container through filesystem mounts, process setup, resource accounting, and runtime failure behavior.

    10 lessons264 min
  36. Module 36advanced

    Reconciliation at cluster scale

    Build a precise model of desired state, watches, controllers, admission, ownership, and recovery in a distributed orchestration control plane.

    10 lessons250 min
  37. Module 37advanced

    Allocate shared cluster resources

    Analyze packing, fairness, topology, gang scheduling, preemption, and fragmentation for heterogeneous shared compute clusters.

    10 lessons250 min
  38. Module 38advanced

    Traffic policy between services

    Study proxy data paths, identity, discovery, balancing, and failure amplification while evaluating when intermediary layers earn their cost.

    10 lessons240 min
  39. Module 39advanced

    Delivery systems with controlled risk

    Tie artifact promotion, staged exposure, rollback, migrations, and policy evidence to explicit release safety properties.

    10 lessons250 min
  40. Module 40advanced

    Measurement that explains production behavior

    Design metrics, logs, traces, sampling, and correlation so that telemetry answers operational questions within an explicit cost budget.

    10 lessons278 min
  41. Module 41advanced

    Quantitative models of service reliability

    Calculate failure and repair behavior while testing independence assumptions, shared causes, and the gap between model predictions and observations.

    10 lessons260 min
  42. Module 42advanced

    Evidence and causal reasoning in incidents

    Construct testable explanations from production evidence and verify corrective actions without reducing complex incidents to a single convenient cause.

    10 lessons259 min
  43. Module 43advanced

    Identity from bootstrap to revocation

    Trace workload authentication and authorization through bootstrap, issuance, token boundaries, rotation, and recovery from compromised credentials.

    10 lessons256 min
  44. Module 44advanced

    Verifiable software supply chains

    Connect dependencies, build isolation, artifact identities, attestations, and admission decisions into a verifiable path from source to execution.

    10 lessons240 min
  45. Module 45advanced

    Isolation for shared compute platforms

    Analyze interference and authorization across resource, storage, network, and accelerator boundaries while distinguishing fairness from confidentiality.

    10 lessons270 min
  46. Module 46core

    GPU execution and synchronization

    Understand thread hierarchy, execution ordering, synchronization scope, and launch overhead before optimizing device programs.

    10 lessons240 min
  47. Module 47advanced

    Data movement inside an accelerator

    Explain coalescing, caching, shared-memory layout, transfers, and allocation behavior through the actual movement of tensor data.

    10 lessons265 min
  48. Module 48advanced

    Design and measure tensor kernels

    Derive kernels from tensor layouts and reuse, then validate reductions, matrix multiplication, attention, and fusion against numerical references.

    10 lessons242 min
  49. Module 49advanced

    Collectives over accelerator fabrics

    Compare collective algorithms and topology mappings using latency, bandwidth, ordering, congestion, and failure-aware communication models.

    10 lessons250 min
  50. Module 50advanced

    Numerical behavior of learning computations

    Trace rounding and conditioning through reductions, losses, gradients, optimizer state, and update accumulation with explicit error checks.

    10 lessons301 min
  51. Module 51advanced

    Automatic differentiation as a runtime system

    Build derivative transformations from vector products, saved state, control flow, mutation rules, and recomputation rather than treating gradients as an oracle.

    10 lessons260 min
  52. Module 52advanced

    Analyze programs before compiling tensors

    Track graph capture, intermediate representations, symbolic shapes, effects, aliasing, and guards to establish which tensor transformations are valid.

    10 lessons270 min
  53. Module 53advanced

    Lower tensor programs to efficient execution

    Connect high-level tensor semantics to layouts, buffers, schedules, vector instructions, and accelerator kernels with verifiable lowering steps.

    10 lessons262 min
  54. Module 54advanced

    Feed accelerators without changing the experiment

    Design decoding, shuffling, sharding, caching, and restart state so that training input remains fast, representative, and reproducible.

    10 lessons240 min
  55. Module 55advanced

    Replicate computation and shard training state

    Derive gradient normalization, synchronization, bucketing, and parameter-state sharding schedules with explicit memory and communication calculations.

    10 lessons280 min
  56. Module 56advanced

    Partition model computation across devices

    Follow tensor dimensions, sequence activations, collectives, and placement through partitioned model layers while checking equivalent results.

    10 lessons270 min
  57. Module 57advanced

    Schedule a model pipeline

    Analyze microbatches, activation lifetimes, weight versions, and communication schedules to quantify pipeline efficiency and correctness.

    10 lessons285 min
  58. Module 58research

    Route and train sparse expert models

    Examine routing, capacity, token movement, load balance, and numerical checks in sparse mixture-of-experts training without assuming sparsity removes communication costs.

    10 lessons267 min
  59. Module 59advanced

    Recover training state faithfully

    Specify which state a checkpoint represents, make distributed writes recoverable, and verify resumed training under changed topology and partial failure.

    10 lessons250 min
  60. Module 60advanced

    Explain the cost of a training step

    Break measured training time into compute, communication, input, memory, and synchronization effects before changing parallelism or model execution.

    10 lessons321 min
  61. Module 61advanced

    Construct auditable model training corpora

    Turn raw collections into traceable training mixtures through deduplication, filtering, sampling, contamination checks, and documented use constraints.

    10 lessons270 min
  62. Module 62advanced

    Engineer a controlled pretraining run

    Connect objective definition, token accounting, initialization, schedules, validation, and recovery to a reproducible autoregressive training experiment.

    10 lessons280 min
  63. Module 63advanced

    Adapt models with supervised instructions

    Design instruction data, masking, adapters, validation, and releases while measuring retention of capabilities and the effect of example formatting.

    10 lessons258 min
  64. Module 64research

    Learn from preferences with explicit assumptions

    Trace preference annotation, reward modeling, reference constraints, and optimization while separating learned judgments from guaranteed behavior.

    10 lessons240 min
  65. Module 65research

    Infrastructure for policy improvement

    Follow trajectories, rewards, policy versions, replay, and distributed updates through reproducible reinforcement learning systems.

    10 lessons290 min
  66. Module 66advanced

    Build and maintain retrieval indexes

    Derive retrieval index behavior from metric choices, graph or partition structure, compression, filters, update paths, and measured recall.

    10 lessons240 min
  67. Module 67advanced

    Rank evidence under a latency budget

    Compare lexical, dense, hybrid, and learned ranking through explicit relevance judgments, candidate sets, and operating constraints.

    10 lessons275 min
  68. Module 68advanced

    Connect retrieved evidence to generation

    Engineer ingestion, chunking, evidence selection, grounded output, access controls, and diagnosis across the complete retrieval-generation path.

    10 lessons257 min
  69. Module 69advanced

    Keep online features correct and timely

    Connect event history, point-in-time joins, freshness, materialization, and serving contracts to the features models actually consume.

    10 lessons250 min
  70. Module 70advanced

    Serve ranking systems with feedback

    Trace recommendation candidates through embeddings, ranking, constraints, feedback, and experimentation while making exposure bias explicit.

    10 lessons323 min
  71. Module 71advanced

    Manage memory across generation requests

    Model parameter, workspace, and key-value allocations through paging, sharing, eviction, and reclamation under concurrent generation.

    10 lessons282 min
  72. Module 72advanced

    Schedule generation against latency targets

    Analyze mixed prompt and generation work through admission, batching, fairness, and feedback while measuring both token throughput and request latency.

    10 lessons280 min
  73. Module 73advanced

    Reduce precision with measured quality bounds

    Connect quantizer scales, calibration, outliers, kernel constraints, and evaluation so memory savings do not hide unacceptable output changes.

    10 lessons240 min
  74. Module 74research

    Verify drafted tokens efficiently

    Derive token verification, acceptance, residual sampling, and speedup limits while distinguishing exact distribution preservation from approximate acceptance rules.

    10 lessons240 min
  75. Module 75research

    Separate inference stages safely

    Study placement, cache transfer, request routing, handoff, and recovery when prompt processing and token generation use different resources.

    10 lessons290 min
  76. Module 76research

    Attention algorithms and data movement

    Derive exact tiled attention and distinguish its I/O savings from arithmetic complexity before evaluating sparse or approximate alternatives.

    10 lessons260 min
  77. Module 77research

    Long context under memory and quality constraints

    Connect positional behavior, context retention, cache policies, retrieval, and adversarial evaluation to the actual usefulness of longer inputs.

    10 lessons295 min
  78. Module 78research

    Train denoising and score models

    Connect forward noise, target parameterization, weighting, latent representations, and conditioning to controlled diffusion training experiments.

    10 lessons277 min
  79. Module 79research

    Execute generation samplers efficiently

    Compare sampler discretization, guidance, caching, batching, and quality measurements without treating fewer function evaluations as a universal quality guarantee.

    10 lessons300 min
  80. Module 80research

    Align and serve multiple modalities

    Trace modality encoding, alignment, missing inputs, fusion, and evaluation through practical multimodal training and serving pipelines.

    10 lessons336 min
  81. Module 81advanced

    Build streaming speech and audio systems

    Connect sample clocks, framing, recognition alignment, synthesis, and real-time buffering to measurable audio quality and interaction latency.

    10 lessons282 min
  82. Module 82research

    Engineer learning over video streams

    Analyze decoding, temporal sampling, clip construction, model state, and storage so video experiments preserve the information their tasks require.

    10 lessons300 min
  83. Module 83advanced

    Train and serve learning over graphs

    Follow graph representation, neighborhood sampling, message passing, partitions, and update paths while testing leakage and stale-neighbor effects.

    10 lessons240 min
  84. Module 84advanced

    Deploy forecasting and temporal models

    Connect observation time, availability time, forecast horizon, rolling evaluation, and model updates to forecasts that remain valid in production.

    10 lessons260 min
  85. Module 85advanced

    Evidence for model release decisions

    Design evaluation datasets, scoring, uncertainty estimates, slices, and release gates that answer a stated deployment question rather than optimize a headline score.

    10 lessons240 min
  86. Module 86advanced

    Experiment with models in live systems

    Analyze assignment, logging, feedback delay, interference, and rollout decisions while distinguishing causal online evidence from offline score differences.

    10 lessons250 min
  87. Module 87research

    Make uncertainty useful to a decision

    Connect predictive scores to coverage, abstention, shift checks, and operational thresholds while stating exactly which calibration guarantees apply.

    10 lessons290 min
  88. Module 88advanced

    Monitor deployed models with delayed evidence

    Distinguish data shifts, concept changes, broken pipelines, and feedback effects before triggering retraining or retirement decisions.

    10 lessons264 min
  89. Module 89research

    Durable execution for tool-using agents

    Model agent runs as recoverable workflows with explicit tool contracts, budgets, approvals, cancellation, and observable side-effect boundaries.

    10 lessons279 min
  90. Module 90research

    Plan with bounded context and memory

    Analyze working state, memory retrieval, search, replanning, and termination without assuming longer traces or larger memories imply correct reasoning.

    10 lessons338 min
  91. Module 91research

    Evaluate complete agent executions

    Construct task environments, trace graders, property checks, and replayable failures so agent evaluations measure outcomes as well as plausible intermediate text.

    10 lessons300 min
  92. Module 92advanced

    Enforce boundaries around model execution

    Connect model loading, request parsing, retrieval access, tool permissions, and output handling to deployment controls with independently testable security properties.

    10 lessons300 min
  93. Module 93research

    Engineer privacy protections with stated units

    Specify privacy units, clipping, aggregation, accounting, federation, and release controls while separating cryptographic confidentiality from statistical privacy guarantees.

    10 lessons270 min
  94. Module 94research

    Test models against adaptive perturbations

    Define attacker capabilities and success conditions before measuring perturbation attacks, defenses, transfer, and the scope of robustness certificates.

    10 lessons280 min
  95. Module 95advanced

    Account for AI capacity and cost

    Build reproducible cost and utilization models using explicitly fictional prices, sensitivity analysis, and stated service-quality constraints.

    10 lessons280 min
  96. Module 96research

    Measure energy across the AI lifecycle

    Define measurement boundaries, power dynamics, cooling overhead, and emissions factors before evaluating scheduling or hardware efficiency claims.

    10 lessons270 min
  97. Module 97advanced

    Deploy useful models on constrained devices

    Connect conversion, memory planning, integer execution, streaming state, power, privacy, and updates to a measured on-device quality budget.

    10 lessons270 min
  98. Module 98research

    Specify and verify service mechanisms

    Translate service contracts into state models, safety invariants, liveness assumptions, and executable checks while making abstraction limits explicit.

    10 lessons283 min
  99. Module 99research

    Conduct a credible systems investigation

    Construct falsifiable systems claims, controlled comparisons, causal performance explanations, and reproducible artifacts that survive competing interpretations.

    10 lessons300 min
  100. Module 100research

    Co-design models and heterogeneous machines

    Compare emerging hardware and placement mechanisms through explicit workload models, numerical constraints, and measured evidence rather than assumed universal speedups.

    10 lessons280 min

Keep a second notebook open.