LeetLLM
My PlanLearnGlossaryTracksPracticeBlog
LeetLLM

Your go-to resource for mastering AI & LLM systems.

Product

  • Learn
  • Glossary
  • Tracks
  • Practice
  • Blog
  • RSS

Legal

  • Terms of Service
  • Privacy Policy

Ā© 2026 LeetLLM. All rights reserved.

1šŸ› ļøComputing Foundations
Git, Shell, Linux for AIDocker for Reproducible AIPython for AI EngineeringNumPy and Tensor ShapesCUDA for ML TrainingMPS & Metal for ML on MacData Structures for AISQL and Data ModelingAlgorithms for ML Engineers
2šŸ“ŠMath & Statistics
Gradients and BackpropVectors, Matrices & TensorsLinear Algebra for MLAdam, Momentum, SchedulersProbability for Machine LearningBayesian Inference from EvidenceStatistics and UncertaintyDistributions and SamplingHypothesis Tests, Intervals, and pass@k
3šŸ“šPreparation & Prerequisites
Neural Networks from ScratchCNNs from ScratchTraining & BackpropagationSoftmax, Cross-Entropy & OptimizationRNNs, LSTMs, GRUs, and Sequence ModelingAutoencoders and VAEsThe Transformer Architecture End-to-EndLanguage Modeling & Next TokensFrom GPT to Modern LLMsPrompt Engineering FundamentalsCalling LLM APIs in ProductionFirst AI App End-to-EndThe LLM Lifecycle
4🧮ML Algorithms & Evaluation
Linear Regression from ScratchLogistic Regression and MetricsDecision Trees, Forests, and BoostingReinforcement Learning BasicsValidation and LeakageStatistical Learning and GeneralizationConformal Prediction and UncertaintyClustering and PCAProbabilistic Generative ModelsCore Retrieval AlgorithmsDecoding AlgorithmsExperiment Design and A/B TestingCausal Inference and CounterfactualsPyTorch Training LoopsDataset Pipelines and Data Quality
5šŸ“¦Production ML Systems
Feature Engineering for Production MLBatch and Streaming Feature PipelinesGradient Boosted Trees in ProductionRanking and Recommendation SystemsForecasting and Anomaly DetectionMonitoring Predictive Models
6🧪Core LLM Foundations
The Bitter Lesson & ComputeBPE, WordPiece, and SentencePieceStatic to Contextual EmbeddingsPerplexity & Model EvaluationFile Ingestion for AIChunking StrategiesLLM Benchmarks & LimitationsInstruction Tuning & Chat Templates
7🧰Applied LLM Engineering
Dimensionality Reduction for EmbeddingsCoT, ToT & Self-Consistency PromptingFunction Calling & Tool UseMCP & Tool Protocol StandardsContext EngineeringPrompt Injection DefenseResponsible AI GovernancePrivacy-Preserving Machine LearningData Labeling and Human FeedbackEvaluating AI AgentsProduction RAG PipelinesHybrid Search: Dense + SparseReranking and Cross-Encoders for RAGRAG Evaluation for Reliable AnswersLLM-as-a-Judge EvaluationBias & Fairness in LLMsHallucination Detection & MitigationLLM Observability & MonitoringExperiment Tracking with MLflow and W&BPrompt Optimization with DSPyModel Versioning & DeploymentSemantic Caching & Cost OptimizationLLM Cost Engineering & Token EconomicsModel Gateways, Routing, and FallbacksDesign an Automated Support Agent
8šŸŽ“Portfolio Capstones
Capstone: Delivery ETA PredictionCapstone: Product RankingCapstone: Demand ForecastingCapstone: Image Damage ClassifierCapstone: Production ML PipelineCapstone: Document QACapstone: Eval DashboardCapstone: Fine-Tuned ClassifierCapstone: Reproducible ML Study
9🧠Transformer Deep Dives
Sentence Embeddings & Contrastive LossEmbedding Similarity & QuantizationScaled Dot-Product AttentionVision Transformers and Image EncodersPositional Encoding: RoPE & ALiBiLayer Normalization: Pre-LN vs Post-LNMechanistic InterpretabilityDecoding Strategies: Greedy to Nucleus
10🧬Advanced Training & Adaptation
Scaling Laws & Compute-Optimal TrainingPre-training Data at ScaleBuild GPT from Scratch LabJAX for PyTorch ResearchersContinued Pretraining for Domain ShiftSynthetic Data PipelinesSupervised Fine-Tuning PipelineMixed Precision TrainingDistributed Training: FSDP & ZeROLoRA & Parameter-Efficient TuningTraining Run OperationsReward Modeling from Preference DataRLHF & DPO AlignmentConstitutional AI & Red TeamingRLVR & Verifiable RewardsKnowledge Distillation for LLMsModel Merging and Weight Interpolation
11šŸ¤–Advanced Agents & Retrieval
Vector DB Internals: HNSW & IVFAdvanced RAG: HyDE & Self-RAGGraphRAG & Knowledge GraphsRAG Security & Access ControlStructured Output GenerationReAct & Plan-and-ExecuteGuardrails & Safety FiltersCode Generation & SandboxingComputer-Use / GUI / Browser AgentsHuman-in-the-Loop Agent ArchitectureAI Coding Workflow with AgentsAgent Memory & PersistenceAgent Failure & RecoveryRecursive Language Models (RLM)Multi-Agent OrchestrationCapstone: Production Agent
12⚔Inference & Production Scale
Inference: TTFT, TPS & KV CacheMulti-Query & Grouped-Query AttentionKV Cache & PagedAttentionPrefix Caching and Prompt CachingFlashAttention & Memory EfficiencyContinuous Batching & SchedulingScaling LLM InferenceModel Parallelism for LLM InferenceAccelerator Architecture Field GuideCorrect GPU Profiling and BenchmarkingGPU Kernel Performance Engineering LabGPU Parallel Primitives LabGPU Compilers and Kernel LanguagesGEMM From Naive CUDA to Tensor CoresLow-Precision GPU ProgrammingGPU Runtime Execution LabAI-Generated Kernel EngineeringModel Quantization: GPTQ, AWQ & GGUFLocal LLM DeploymentSLM Specialization & Edge DeploymentSpeculative DecodingLong Context Window ManagementMixture of Experts ArchitectureMamba & State Space ModelsReasoning & Test-Time ComputeAdvanced MLOps & DevOps for AIGPU Serving & AutoscalingGPU Failure OperationsDistributed Inference Data PlaneServing Benchmark EngineeringA/B Testing for LLMs
13šŸ—ļøSystem Design Capstones
Content Moderation SystemCode Completion SystemMulti-Tenant LLM PlatformLLM-Powered Search EngineVision-Language Models & CLIPMultimodal LLM ArchitectureDiffusion Models: Images & TextReal-Time Voice AI AgentReasoning Agent System Design
14šŸŽ¤AI Lab Interviewing
AI Lab Coding Interview: Python SystemsAI Lab System Design InterviewAI Lab Behavioral InterviewAI Lab Technical Presentation
15šŸ”¬Project Deep Dives
Deep Dive - vLLMDeep Dive - SkyRLDeep Dive - FlashAttentionDeep Dive - FlashInferDeep Dive - DeepGEMMDeep Dive - NCCLDeep Dive - MegatronDeep Dive - DeepSpeedDeep Dive - RayDeep Dive - MLflowDeep Dive - PyTorchDeep Dive - TransformersDeep Dive - SGLangDeep Dive - slimeDeep Dive - DeepEPDeep Dive - TinkerDeep Dive - Light-PEFT
All 196 articles free Ā· Login only tracks progress

Learn LLM Engineering

Master the concepts that power modern AI systems. From foundational transformer architecture to production system design — structured to take you from basics to expert-level.

196 topics15 modules89h total contentOpen curriculum

Step-by-step roadmap

Follow these modules in order. Each step builds directly on the previous one.

  1. 1
    Step 1 of 15

    šŸ› ļøComputing Foundations

    Current step

    NumPy shapes, accelerator basics, data structures, SQL, and algorithmic cost for practical ML systems

    9 topics~3hNext: Step 2
  2. 2
    Step 2 of 15

    šŸ“ŠMath & Statistics

    Upcoming

    Probability, statistics, distributions, uncertainty, hypothesis testing, bootstrap, and pass@k

    9 topics~3hNext: Step 3
  3. 3
    Step 3 of 15

    šŸ“šPreparation & Prerequisites

    Upcoming

    Background knowledge for readers new to ML. Skip ahead if you already know neural networks and how models train.

    13 topics~4hNext: Step 4
  4. 4
    Step 4 of 15

    🧮ML Algorithms & Evaluation

    Upcoming

    Regression, validation, PCA, retrieval, decoding, experiments, PyTorch loops, and dataset quality

    15 topics~5hNext: Step 5
  5. 5
    Step 5 of 15

    šŸ“¦Production ML Systems

    Upcoming

    Feature pipelines, tabular prediction, ranking, forecasting, monitoring, and continuous training for production ML

    6 topics~2hNext: Step 6
  6. 6
    Step 6 of 15

    🧪Core LLM Foundations

    Upcoming

    First working mental models: tokenization, embeddings, evaluation basics, file ingestion, chunking, and instruction-tuned chat

    8 topics~3hNext: Step 7
  7. 7
    Step 7 of 15

    🧰Applied LLM Engineering

    Upcoming

    Practical medium-depth patterns for reasoning, tools, context, RAG, evaluation, prompt optimization, observability, cost, and first product design

    25 topics~9hNext: Step 8
  8. 8
    Step 8 of 15

    šŸŽ“Portfolio Capstones

    Upcoming

    Shippable predictive ML, LLM, and research artifacts: prediction, vision, pipelines, document QA, evaluation, classifiers, and reproducible studies

    9 topics~4hNext: Step 9
  9. 9
    Step 9 of 15

    🧠Transformer Deep Dives

    Upcoming

    Harder internals: sentence embeddings, vector scoring, attention, positions, normalization, and decoding

    8 topics~5hNext: Step 10
  10. 10
    Step 10 of 15

    🧬Advanced Training & Adaptation

    Upcoming

    Scaling laws, mixed-precision and distributed training, fine-tuning, training-run operations, alignment, rewards, distillation, and model merging

    17 topics~9hNext: Step 11
  11. 11
    Step 11 of 15

    šŸ¤–Advanced Agents & Retrieval

    Upcoming

    Advanced retrieval and agent systems: vector indexes, GraphRAG, security, orchestration, memory, recovery, RLMs, and a production capstone

    16 topics~10hNext: Step 12
  12. 12
    Step 12 of 15

    ⚔Inference & Production Scale

    Upcoming

    Accelerator architecture, GPU kernels, serving mechanics, distributed data planes, benchmarking, deployment, and experiments

    31 topics~15hNext: Step 13
  13. 13
    Step 13 of 15

    šŸ—ļøSystem Design Capstones

    Upcoming

    End-to-end hard system design breakdowns for real AI products

    9 topics~7hNext: Step 14
  14. 14
    Step 14 of 15

    šŸŽ¤AI Lab Interviewing

    Upcoming

    Final interview practice for frontier AI labs: Python systems, design, behavioral evidence, and technical presentation

    4 topics~2hNext: Step 15
  15. 15
    Step 15 of 15

    šŸ”¬Project Deep Dives

    Upcoming

    Code-level studies of influential open AI infrastructure projects, their core mechanisms, tradeoffs, teams, and research foundations

    17 topics~9hFinal step
šŸ› ļø

Computing Foundations

NumPy shapes, accelerator basics, data structures, SQL, and algorithmic cost for practical ML systems

1

Git, Shell, Linux for AI

Build a reproducible AI repo with safe Git defaults, a clean-clone eval gate, shell diagnostics, and Linux process habits.

Easy16m
2

Docker for Reproducible AI

Package the access-request scorer in a portable Docker image with a small build context, mounted data, runtime configuration, a non-root user, and a reproducible gate.

Easy17m
3

Python for AI Engineering

Rebuild the access-request scorer in Python: inspect one JSONL row, validate fields, print the 0.667 receipt, keep a 2/3 count floor, and cover those contracts with pytest.

Easy16m
4

NumPy and Tensor Shapes

Learn NumPy shape reasoning from first principles: name axes, predict indexing and broadcasting, reduce safely, distinguish reshape from transpose, and add shape guards.

Easy19m
5

CUDA for ML Training

Follow one access-ticket batch from CPU memory into CUDA kernels. Learn thread and memory hierarchy, coalesced access, roofline decisions, safe device placement, honest timing, and first-line diagnosis for setup, OOM, and throughput failures.

Easy21m
6

MPS & Metal for ML on Mac

Train the same PyTorch ticket classifier on Apple silicon: select the `mps` device, keep tensors together, handle unsupported ops, time queued work honestly, and respond to unified-memory pressure.

Easy16m
7

Data Structures for AI

Choose Python lists, hash-based collections, deques, heaps, trees, graphs, tries, and caches by the operations an AI system must serve.

Easy20m
8

SQL and Data Modeling

Turn an in-memory support retriever into durable SQL tables. Model versioned sources, query safely, preserve permissions and lineage, and inspect the paths that keep retrieval correct as data changes.

Easy21m
9

Algorithms for ML Engineers

Learn to count retrieval work, express growth with Big-O, pick scans, heaps, binary search, and prefix trees, and enforce a latency budget with runnable Python.

Easy23m
šŸ“Š

Math & Statistics

Probability, statistics, distributions, uncertainty, hypothesis testing, bootstrap, and pass@k

1

Gradients and Backprop

Train a one-weight latency predictor by reading a slope, taking a downhill step, tracing chain-rule paths, and checking the same gradient in PyTorch.

Easy18m
2

Vectors, Matrices & Tensors

Name the [4, 2] latency gradient as a vector, then grow it into row matrices, token tensors, dot products, and shape contracts you can check by hand.

Easy15m
3

Linear Algebra for ML

Find hidden directions in a support-incident matrix with SVD, then use rank, PCA, truncation, and condition numbers without losing sight of what the numbers mean.

Easy16m
4

Adam, Momentum, Schedulers

Trace SGD, momentum, RMSProp, Adam, AdamW, schedules, and gradient clipping on a 100-to-1 loss valley. Learn what each optimizer buffer measures and how to validate a training choice.

Easy18m
5

Probability for Machine Learning

Use one API abuse-risk detector to learn events, random variables, distributions, conditional probability, independence, Bayes rule, and base-rate mistakes.

Easy20m
6

Bayesian Inference from Evidence

Update a coding agent's unknown success rate with beta-binomial evidence, compare priors, measure uncertainty, and expose sampling failures.

Easy8m
7

Statistics and Uncertainty

Turn 16 abusive flags out of 100 reviews into a rate, a Wilson interval, and a sampling-bias check, then refuse to treat a four-point calibration gap as proof.

Easy17m
8

Distributions and Sampling

Match binary outcomes, routes, tool-call counts, and latency to first distributions, then reject a simulation that doesn't fit the traces.

Easy22m
9

Hypothesis Tests, Intervals, and pass@k

Compare a code-generation model with paired evidence, uncertainty for lift, and pass@k under a fixed sampling budget.

Easy17m
šŸ“š

Preparation & Prerequisites

Background knowledge for readers new to ML. Skip ahead if you already know neural networks and how models train.

1

Neural Networks from Scratch

Trace a CodeAssist timeout-risk network from one neuron to a batched NumPy forward pass, then diagnose activation collapse, silent transposes, feature scale, and sigmoid overflow.

Easy16m
2

CNNs from Scratch

Trace a CNN over a 4 by 4 screenshot crop: shared kernels, feature-map shapes, pooling winners, padding artifacts, and a matching NumPy-to-PyTorch forward pass.

Easy15m
3

Training & Backpropagation

Follow a decode-latency model through a training loop, reverse-mode autograd, dense/ReLU/max-pool backward rules, mini-batches, validation, and PyTorch.

Easy18m
4

Softmax, Cross-Entropy & Optimization

Turn raw class scores into stable probabilities and a useful learning signal, then apply the same loss to next-token predictions.

Easy19m
5

RNNs, LSTMs, GRUs, and Sequence Modeling

Trace an RNN over ordered events, see why gradients fade or grow, and use LSTM and GRU gates to control memory.

Easy19m
6

Autoencoders and VAEs

Compress a 5 by 5 screenshot crop through a latent bottleneck, then train a VAE so prior samples can decode.

Easy18m
7

The Transformer Architecture End-to-End

Trace function returns the through masked attention, a decoder block, and next-token logits with readable NumPy and PyTorch code.

Easy18m
8

Language Modeling & Next Tokens

Learn how next-token prediction becomes a trainable language model, from bigram counts and neural n-grams to causal Transformer generation and KV-cache serving.

Easy24m
9

From GPT to Modern LLMs

Trace how decoder-only models grew into modern LLMs, then inspect scaling, instruction tuning, open weights, MoE, and serving tradeoffs with runnable examples.

Easy28m
10

Prompt Engineering Fundamentals

Build and test grounded prompts with clear roles, few-shot examples, structured outputs, evidence checks, and failure-focused evaluation.

Easy21m
11

Calling LLM APIs in Production

Turn a grounded prompt into a reliable API boundary with server-side secrets, typed results, bounded retries, safe actions, and useful telemetry.

Easy20m
12

First AI App End-to-End

Ship one traceable rotation-decision workflow: validated input, model boundary, stored status, clear UI states, failure tests, and deploy checks.

Easy17m
13

The LLM Lifecycle

Follow one key-rotation assistant from pre-training through post-training, retrieval, a caller gateway, serving, evaluation, and the cheapest correct fix.

Easy19m
🧮

ML Algorithms & Evaluation

Regression, validation, PCA, retrieval, decoding, experiments, PyTorch loops, and dataset quality

1

Linear Regression from Scratch

Fit key-rotation assistant latency by hand, implement least squares and gradient descent in NumPy, then test failure cases and held-out behavior.

Medium23m
2

Logistic Regression and Metrics

Route access-change requests with logistic regression from scratch: derive sigmoid and log loss, fit NumPy weights, select a cost-aware threshold on validation data, audit ranking and calibration, then compare with scikit-learn.

Medium32m
3

Decision Trees, Forests, and Boosting

Route the same access-change requests with axis-aligned rules: compute Gini, fit a stump, watch extra depth memorize R3, average bootstrap trees, boost residuals, and audit MDI versus SHAP.

Medium27m
4

Reinforcement Learning Basics

Turn the earlier one-shot access-review label into an MDP. Compute discounted returns and Bellman backups, run value iteration and Q-learning, watch abandonment reverse a policy, and connect REINFORCE to LLM post-training.

Medium18m
5

Validation and Leakage

Split access-review requests by time and user, block post-decision fields, fit preprocessing on training rows only, and treat public LLM benchmarks as contamination-prone.

Medium21m
6

Statistical Learning and Generalization

Measure empirical risk, selection bias, finite-class generalization bounds, sample complexity, and the limits of benchmark-driven model search.

Medium10m
7

Conformal Prediction and Uncertainty

Build finite-sample conformal prediction intervals, compute corrected calibration quantiles, and diagnose subgroup and distribution-shift failures.

Medium7m
8

Clustering and PCA

Inspect unlabeled developer-message embeddings with k-means and PCA, then stress-test whether apparent neighborhoods survive scale, metric, and compression choices.

Medium23m
9

Probabilistic Generative Models

Fit a Gaussian mixture from scratch, calculate soft component responsibilities, trace expectation-maximization, and diagnose collapsed or misleading latent groups.

Medium8m
10

Core Retrieval Algorithms

Build and evaluate the evidence-selection stage of a technical-docs assistant with BM25, dense similarity, rank fusion, reranking, and approximate search audits.

Medium20m
11

Decoding Algorithms

Turn retrieved API-key rotation evidence into controlled text by implementing stable softmax, sampling filters, constrained decoding, beam search, and decoder receipts.

Medium19m
12

Experiment Design and A/B Testing

Design a trustworthy online experiment for an incident-assistant change: randomize incidents, measure useful outcomes, quantify uncertainty, and reject false wins.

Medium24m
13

Causal Inference and Counterfactuals

Separate correlation from intervention, diagnose Simpson's reversal, estimate adjusted treatment effects, and inspect overlap before trusting observational AI evaluations.

Medium7m
14

PyTorch Training Loops

Build a PyTorch classifier from raw logits through autograd, validation, and reloadable checkpoints.

Medium22m
15

Dataset Pipelines and Data Quality

Build versioned AI datasets with schema gates, grouped splits, contamination checks, and auditable receipts.

Medium20m
šŸ“¦

Production ML Systems

Feature pipelines, tabular prediction, ranking, forecasting, monitoring, and continuous training for production ML

1

Feature Engineering for Production ML

Turn training-job events into stable prediction inputs while preventing leakage and training-serving mismatch.

Medium15m
2

Batch and Streaming Feature Pipelines

Replay job-SLA features at decision time from events, then keep that same meaning in online serving.

Medium16m
3

Gradient Boosted Trees in Production

Train a boosted SLA-risk baseline from tabular features, evaluate slices, and package deployment evidence.

Medium17m
4

Ranking and Recommendation Systems

Rank documents for a developer using candidate retrieval, relevance metrics, and feedback-loop safeguards.

Medium19m
5

Forecasting and Anomaly Detection

Forecast batch-job demand with time-aware evaluation and turn large forecast errors into reviewable operational alerts.

Medium18m
6

Monitoring Predictive Models

Monitor predictive models from feature freshness through delayed labels, then gate retraining, promotion, and rollback.

Medium21m
🧪

Core LLM Foundations

First working mental models: tokenization, embeddings, evaluation basics, file ingestion, chunking, and instruction-tuned chat

1

The Bitter Lesson & Compute

Use Sutton's Bitter Lesson to compare rules, learning, and search, then allocate training FLOPs without treating compute as a slogan.

Medium19m
2

BPE, WordPiece, and SentencePiece

Build a small subword tokenizer, compare BPE, WordPiece, and SentencePiece, then audit fertility, camelCase splits, and Unicode policy.

Medium23m
3

Static to Contextual Embeddings

Turn token IDs into vectors, learn what nearby usage captures, and see why a word such as charge needs sentence-dependent representations.

Medium19m
4

Perplexity & Model Evaluation

Compute perplexity from held-out token probabilities, compare models under a fixed protocol, normalize across tokenizers, and decide what PPL can't tell you.

Medium20m
5

File Ingestion for AI

Turn PDFs, scans, HTML, and Markdown into faithful evidence records with provenance and quality checks before retrieval.

Medium17m
6

Chunking Strategies

Turn clean documents into retrieval units that preserve answers, citations, and measurable search quality.

Medium18m
7

LLM Benchmarks & Limitations

Build an evaluation suite for a policy-answering LLM: score evidence use, understand public benchmark contracts, control judge bias, and make release decisions from private tests.

Medium26m
8

Instruction Tuning & Chat Templates

Teach a base language model to answer as an assistant: curate grounded SFT rows, serialize chat turns exactly, choose loss targets, pack safely, and detect serving-time template drift.

Medium23m
🧰

Applied LLM Engineering

Practical medium-depth patterns for reasoning, tools, context, RAG, evaluation, prompt optimization, observability, cost, and first product design

1

Dimensionality Reduction for Embeddings

Shrink and inspect embedding indexes without guessing: measure recall while testing PCA, projections, native shortening, and quantization.

Medium26m
2

CoT, ToT & Self-Consistency Prompting

Build and evaluate reasoning controllers: single traces, answer voting, and bounded tree search for multi-step LLM decisions.

Medium21m
3

Function Calling & Tool Use

Build a safe tool-calling runtime that validates model requests, executes controlled actions, feeds observations back, and evaluates complete workflows.

Medium19m
4

MCP & Tool Protocol Standards

Trace the stateless MCP protocol, build a working stdio integration, and enforce version, authorization, and trust boundaries.

Medium26m
5

Context Engineering

Move past fitting tokens into the window and learn context engineering: curate a high-signal working set, package reusable Agent Skills, and build resumable harnesses with durable checkpoints.

Medium24m
6

Prompt Injection Defense

Build a prompt-injection-resistant agent boundary: quarantine untrusted tool content, validate typed action proposals, require approval, and measure unsafe side effects.

Medium22m
7

Responsible AI Governance

Turn a tool-bearing LLM workflow into auditable evidence: classify its use, own risks, version controls, preserve traces, and gate releases.

Medium21m
8

Privacy-Preserving Machine Learning

Define neighboring datasets and privacy budgets, implement protected-unit-aware clipping, distinguish DP-SGD from redaction, and audit membership leakage.

Medium9m
9

Data Labeling and Human Feedback

Build a trustworthy human-feedback data flywheel: redact traces, write rubrics, measure agreement, select useful examples, prevent leakage, and promote versioned datasets.

Medium20m
10

Evaluating AI Agents

Evaluate model-promotion agent runs by final state, observable trace, safety gates, cost, and repeatability, then map private tests to public benchmarks.

Medium23m
11

Production RAG Pipelines

Design a secure, traceable RAG service around versioned policy evidence, grounded answers, abstention, release gates, and latency budgets.

Medium21m
12

Hybrid Search: Dense + Sparse

Upgrade a permission-safe RAG retriever with BM25, semantic scores, rank fusion, and recall gates for exact codes and paraphrased policy questions.

Medium22m
13

Reranking and Cross-Encoders for RAG

Turn a permission-safe hybrid candidate list into precise context using cross-encoder reasoning, ordering metrics, latency gates, and traceable evidence selection.

Medium21m
14

RAG Evaluation for Reliable Answers

Evaluate a permission-safe RAG answer with claim-level faithfulness, citation support, first-failure attribution, and slice-aware release gates before automating softer judgments.

Medium18m
15

LLM-as-a-Judge Evaluation

Add calibrated soft judgments to a RAG evaluation trace without letting an LLM override deterministic evidence gates.

Medium23m
16

Bias & Fairness in LLMs

Build a matched-pair fairness audit for an LLM judge, measure routing gaps, and block release when evidence is too weak.

Medium19m
17

Hallucination Detection & Mitigation

Build a claim-level grounding gate for incident updates that verifies evidence, catches confident fabrication, abstains safely, and records release traces.

Medium19m
18

LLM Observability & Monitoring

Turn claim-level answer traces into production metrics, actionable alerts, privacy-safe debugging records, and reproducible incident evidence.

Medium20m
19

Experiment Tracking with MLflow and W&B

Turn a live LLM regression into a reproducible candidate decision by logging inputs, metrics, artifacts, and promotion evidence.

Medium19m
20

Prompt Optimization with DSPy

Search DSPy instructions and few-shot demos on frozen deploy-answerer cases, then promote only a compiled artifact that beats the baseline on held-out gates.

Medium19m
21

Model Versioning & Deployment

Turn an evaluated LLM change into an immutable release bundle, promote it through measured traffic, and roll back without losing lineage.

Medium22m
22

Semantic Caching & Cost Optimization

Reuse stable policy answers across paraphrased questions without crossing release, access, or freshness boundaries; then prove the cache is both safe and worth serving.

Medium21m
23

LLM Cost Engineering & Token Economics

Build an auditable LLM cost ledger from usage traces, cache decisions, output contracts, offline batch work, and release budget gates.

Medium20m
24

Model Gateways, Routing, and Fallbacks

Turn an audited cost contract into a model gateway that preserves data, schema, review, and budget requirements across routing and fallback.

Medium18m
25

Design an Automated Support Agent

Assemble a stateful support agent that grounds replies, gates credit actions, preserves gateway policy, and hands difficult cases to humans.

Medium25m
šŸŽ“

Portfolio Capstones

Shippable predictive ML, LLM, and research artifacts: prediction, vision, pipelines, document QA, evaluation, classifiers, and reproducible studies

1

Capstone: Delivery ETA Prediction

Ship an as-of arrival estimate and delay-warning service with honest historical uncertainty, versioned policy gates, baseline evidence, and monitored fallback.

Hard21m
2

Capstone: Product Ranking

Ship a marketplace ranking candidate with eligible retrieval, separate recall and NDCG gates, replayable exposure rows, and an A/B-ready rollback receipt.

Hard18m
3

Capstone: Demand Forecasting

Ship a demand forecast and capacity-alert artifact with rolling backtests, alert review, and retraining policy.

Hard19m
4

Capstone: Image Damage Classifier

Ship a damaged-package photo triage service with quality checks, slice evaluation, serving bundles, and review monitoring.

Hard21m
5

Capstone: Production ML Pipeline

Turn four shipped models into one receipt-bound promotion path: offline gates, canary windows, alias movement, and rollback.

Hard28m
6

Capstone: Document QA

Ship a policy-evidence service with controlled admission, cited answers, abstention, replayable eval rows, and source-bound semantic adjudication.

Hard37m
7

Capstone: Eval Dashboard

Build a release dashboard for document QA that turns replayable evidence rows into exact-coverage gates, uncertainty checks, and inspectable decisions.

Hard26m
8

Capstone: Fine-Tuned Classifier

Train and gate an access-ticket encoder that exports exact-receipt evidence and safe intake decisions to a production agent.

Hard27m
9

Capstone: Reproducible ML Study

Turn one research paper into a falsifiable, public-safe ML study with paired experiments, uncertainty, reproducible artifacts, and a defensible report.

Hard36m
🧠

Transformer Deep Dives

Harder internals: sentence embeddings, vector scoring, attention, positions, normalization, and decoding

1

Sentence Embeddings & Contrastive Loss

Learn how contrastive losses train sentence embeddings, why hard negatives matter, and how retrieval systems combine bi-encoders, rerankers, and dimension tradeoffs.

Hard44m
2

Embedding Similarity & Quantization

Learn vector scoring contracts, evaluate Matryoshka widths, and measure scalar, product, and binary quantization before deploying compressed retrieval.

Hard35m
3

Scaled Dot-Product Attention

Build scaled dot-product attention from a token sequence: Q/K/V routing, variance scaling, masks, multi-head shapes, KV-cache cost, and FlashAttention.

Hard41m
4

Vision Transformers and Image Encoders

Understand how Vision Transformers split images into patches, build visual tokens, train encoders, and connect to CLIP and multimodal LLMs.

Hard31m
5

Positional Encoding: RoPE & ALiBi

Understand why transformers need position information, how sinusoidal encodings work, how RoPE and ALiBi encode relative position, and why long-context extrapolation needs careful evaluation.

Hard30m
6

Layer Normalization: Pre-LN vs Post-LN

Understand LayerNorm mechanics, Pre-LN versus Post-LN placement, RMSNorm simplification, gradient stability, and hybrid normalization layouts for deep transformers.

Hard34m
7

Mechanistic Interpretability

Learn how sparse autoencoders decompose transformer activations into candidate interpretable features, support circuit tracing, and enable controlled activation-steering experiments.

Hard34m
8

Decoding Strategies: Greedy to Nucleus

Compare decoding strategies for text generation: greedy, beam search, top-k, nucleus (top-p), temperature, repetition controls, and newer variants like min-p.

Hard32m
🧬

Advanced Training & Adaptation

Scaling laws, mixed-precision and distributed training, fine-tuning, training-run operations, alignment, rewards, distillation, and model merging

1

Scaling Laws & Compute-Optimal Training

Learn how Kaplan, Chinchilla, and inference-aware fits split a training budget across parameters and tokens, and when a smaller over-trained model wins on lifetime cost.

Hard37m
2

Pre-training Data at Scale

Understand how web-scale pre-training data is extracted, filtered, deduplicated, mixed, tokenized, and packed into training-ready shards, including decontamination, late-stage annealing, and synthetic-data tradeoffs.

Hard39m
3

Build GPT from Scratch Lab

Build and train a tiny GPT end to end on Shakespeare: tokenize with GPT-style subwords, remap active token IDs, run causal self-attention, track validation loss, save a checkpoint, and sample text.

Hard27m
4

JAX for PyTorch Researchers

Read and modify JAX research code after the PyTorch GPT lab by making state, randomness, transformations, compilation, and timing explicit.

Hard31m
5

Continued Pretraining for Domain Shift

Learn when to keep the causal language-modeling objective and continue pretraining on domain text instead of jumping straight to SFT, and how to evaluate the trade-off against forgetting, cost, and downstream gain.

Hard27m
6

Synthetic Data Pipelines

Build post-training synthetic data as a gated pipeline: Self-Instruct, Evol-Instruct, grounded execution, calibrated judges, preference pairs, diversity, decontamination, and versioned shards.

Hard31m
7

Supervised Fine-Tuning Pipeline

Run supervised fine-tuning as a real training system: choose the learning objective before the update surface, verify response-token loss and packing, track the real batch budget, save resumable checkpoints, and export on held-out behavior.

Hard30m
8

Mixed Precision Training

Choose FP16 or BF16 for an SFT run by measuring range, update resolution, memory, and held-out policy quality instead of assuming faster math is an upgrade.

Hard28m
9

Distributed Training: FSDP & ZeRO

Understand ZeRO stages, current FSDP2 fully_shard guidance, mixed-precision recipes that don't share one byte count, and when native PyTorch or DeepSpeed is the right choice.

Hard46m
10

LoRA & Parameter-Efficient Tuning

Understand the mathematics of Low-Rank Adaptation (LoRA), modern adapter targeting strategies, and the real memory tradeoffs compared to full fine-tuning and QLoRA.

Hard39m
11

Training Run Operations

Treat a training job as a resumable system: distinguish continue vs initialize vs export, save sharded state that can survive preemption, keep global batch and learning-rate scaling honest, and choose full SFT, LoRA, QLoRA, continued pretraining, or distillation from data, domain shift, and GPU budget.

Hard28m
12

Reward Modeling from Preference Data

Train reward models as a first-class post-training stage: validate chosen/rejected pairs and splits, fit a scalar reward head with Bradley-Terry loss, audit generalization, and decide when explicit rewards are worth the extra complexity.

Hard25m
13

RLHF & DPO Alignment

Turn a reward model into an aligned policy: run PPO-style RLHF with a KL budget, or skip the extra judge and train DPO on the same preference pairs, then catch reward hacking and likelihood displacement.

Hard29m
14

Constitutional AI & Red Teaming

Understand how Constitutional AI reduces reliance on repeated human preference labeling through AI critique and ranking, and how automated red teaming stress-tests those safeguards.

Hard34m
15

RLVR & Verifiable Rewards

Understand RLVR, a post-training approach that uses programmatic verification instead of learned human-preference rewards to improve checked outcomes in math, code, and other contract-driven tasks.

Hard41m
16

Knowledge Distillation for LLMs

Understand the main forms of knowledge distillation for LLMs, from logit matching and response-based supervision to on-policy KD. Learn when distillation helps, where student capacity becomes the bottleneck, and how to implement a correct teacher-student training loop.

Hard29m
17

Model Merging and Weight Interpolation

Learn model merging techniques, from simple weight averaging and task arithmetic to TIES-Merging and DARE, including practical guidance on tokenizer compatibility, mergekit workflows, and evaluation.

Hard31m
šŸ¤–

Advanced Agents & Retrieval

Advanced retrieval and agent systems: vector indexes, GraphRAG, security, orchestration, memory, recovery, RLMs, and a production capstone

1

Vector DB Internals: HNSW & IVF

Skip most of a 100-million-vector runbook index with HNSW, IVF, or PQ, then release from a measured Recall@5 versus latency curve.

Hard36m
2

Advanced RAG: HyDE & Self-RAG

Repair one messy docs-assistant search with rewrite, HyDE, Self-RAG, or CRAG, then release only the cheapest route that beats labeled evidence hits.

Hard42m
3

GraphRAG & Knowledge Graphs

Answer one inference-api SLO question and one corpus-wide theme question from the same incident graph, then pay for reports only when vector top-k fails.

Hard42m
4

RAG Security & Access Control

Stop one signing-key query from retrieving a restricted runbook: authorize in the trusted index, isolate tenants, and audit the reject path.

Hard43m
5

Structured Output Generation

Build reliable LLM interfaces with JSON mode, structured outputs, schema validation, and grammar-guided decoding.

Hard37m
6

ReAct & Plan-and-Execute

Compare ReAct for tightly coupled tool use with Plan-and-Execute for longer workflows with explicit planning and replanning.

Hard41m
7

Guardrails & Safety Filters

Build layered runtime guardrails for prompt injection, sensitive-data controls, structured outputs, policy enforcement, and safe tool use.

Hard43m
8

Code Generation & Sandboxing

Build code agents that test candidate patches inside bounded sandboxes with runtime evidence and defense-in-depth controls.

Hard36m
9

Computer-Use / GUI / Browser Agents

Build browser and desktop agents whose proposed clicks and keystrokes stay behind host policy, approval, verification, and sandbox controls.

Hard32m
10

Human-in-the-Loop Agent Architecture

Build approval gates, durable checkpoints, and guarded resumes for agent actions that change external state.

Hard37m
11

AI Coding Workflow with Agents

Turn coding tasks into bounded agent work with restricted execution, review branches, before-and-after evidence, and human-owned merge decisions.

Hard19m
12

Agent Memory & Persistence

Keep coding-agent context across sessions with scoped stores, sourced recall, and checkpoints, without letting a recalled note authorize a merge.

Hard39m
13

Agent Failure & Recovery

Add validation checks, retries, checkpointed recovery, state reconciliation, loop breakers, and graceful degradation when LLM agents hallucinate, stall, or drift from their tools.

Hard48m
14

Recursive Language Models (RLM)

Learn Recursive Language Models (RLMs): keep long context in a programmable environment, delegate targeted sub-calls, and release the design only after measured quality, cost, and safety checks.

Hard49m
15

Multi-Agent Orchestration

Decide when multiple agents earn their cost, then orchestrate them with typed shared state, parallel reads, a validated merge, and one approval-bound writer.

Hard25m
16

Capstone: Production Agent

Assemble classifier intake, cited policy evidence, approval-gated actions, and episode release tests into a production agent.

Hard24m
⚔

Inference & Production Scale

Accelerator architecture, GPU kernels, serving mechanics, distributed data planes, benchmarking, deployment, and experiments

1

Inference: TTFT, TPS & KV Cache

Map prefill vs decode bottlenecks, measure TTFT and decode cadence, and size KV cache so concurrent sequences fit on one GPU.

Hard30m
2

Multi-Query & Grouped-Query Attention

Compare MHA, MQA, and GQA architectures, calculate their KV cache footprint, and reason about memory-limited serving tradeoffs.

Hard35m
3

KV Cache & PagedAttention

Calculate KV cache capacity, trace paged block allocation, and separate memory packing from prefix reuse and scheduling tradeoffs.

Hard37m
4

Prefix Caching and Prompt Caching

Structure exact reusable prefixes, validate cache hits from usage fields, and enforce invalidation and tenant-isolation boundaries.

Hard24m
5

FlashAttention & Memory Efficiency

Understand how FlashAttention cuts auxiliary attention memory from O(n²) to O(n) with tiling and online softmax, and analyze its IO complexity.

Hard36m
6

Continuous Batching & Scheduling

Understand how LLM schedulers use continuous batching, chunked prefill, and prefill-decode disaggregation to improve throughput without violating TTFT, TPOT, or inter-token latency targets.

Hard32m
7

Scaling LLM Inference

Size LLM serving from HBM bandwidth and KV residency: pick a throughput-latency-cost operating point, then compose batching, paging, speculation, and precision as capacity levers.

Hard26m
8

Model Parallelism for LLM Inference

Learn tensor parallelism, pipeline parallelism, context parallelism, and how multi-GPU serving trades memory capacity for communication overhead.

Hard29m
9

Accelerator Architecture Field Guide

Compare accelerator execution, memory, interconnect, and programming models through one LLM workload, then choose what must be remeasured when moving between NVIDIA, AMD, TPU, Trainium, and Apple silicon.

Hard22m
10

Correct GPU Profiling and Benchmarking

Build trustworthy GPU performance evidence: prove kernel correctness, choose system or kernel profiling scope, control benchmark state, and preserve a reproducible receipt before claiming a speedup.

Hard27m
11

GPU Kernel Performance Engineering Lab

Optimize one CUDA matrix-transpose kernel through a repeatable evidence loop. Diagnose coalescing, shared-memory bank conflicts, occupancy limits, correctness failures, and the point where a reduction or scan is the right primitive.

Hard19m
12

GPU Parallel Primitives Lab

Build reduction, prefix scan, arg reduction, and stable online softmax from one tensor, then decide when a tuned CUB primitive should replace custom CUDA.

Hard22m
13

GPU Compilers and Kernel Languages

Trace a GPU kernel from CUDA C++ or a tile language through compiler IR, PTX, cubin, and native instructions, then choose an authoring model by control, portability, and inspectable evidence.

Hard21m
14

GEMM From Naive CUDA to Tensor Cores

Build one matrix multiplication through coalesced scalar CUDA, shared-memory tiling, register blocking, Tensor Core MMA, and the boundary where async copies and CUTLASS take over.

Hard21m
15

Low-Precision GPU Programming

Build numerically sound FP16, BF16, TF32, FP8, and MXFP8 GPU paths by making scale, accumulation, layout, and kernel contracts explicit.

Hard19m
16

GPU Runtime Execution Lab

Make asynchronous CUDA submission measurable with streams, events, graph capture, replay, updates, runtime dispatch, and correctness-first benchmark receipts.

Hard22m
17

AI-Generated Kernel Engineering

Turn generated GPU code into a promotable library kernel through explicit operator contracts, hidden correctness tests, sanitizer gates, fair benchmarks, reproducible receipts, and controlled rollout.

Hard20m
18

Model Quantization: GPTQ, AWQ & GGUF

Understand how GPTQ, AWQ, and GGUF trade off accuracy, memory footprint, and portability when serving LLMs on GPUs or local hardware.

Hard41m
19

Local LLM Deployment

Plan local LLM deployment with model size, quantization, pruning and sparsity trade-offs, Docker packaging, runtime choice, and hardware budgets.

Hard26m
20

SLM Specialization & Edge Deployment

Specialize a small language model for a device job: distill from a teacher, pick compact architectures, compile for on-device runtimes, and ship only if quality, heat, battery, and privacy gates pass.

Hard28m
21

Speculative Decoding

Reduce LLM inter-token latency by pairing cheap drafting with target-model verification. Learn the rejection-sampling proof, speedup model, method choices, and production rollout gates.

Hard33m
22

Long Context Window Management

Master long-context LLM engineering: KV-cache math, prefill-vs-decode bottlenecks, RoPE scaling, lost-in-the-middle behavior, and long-context vs. RAG trade-offs.

Hard35m
23

Mixture of Experts Architecture

Trace top-k MoE routing by hand, separate active FLOPs from full expert residency, and measure dense-vs-sparse serving from Mixtral through GLM-5.2 and DeepSeek V4 Flash.

Hard37m
24

Mamba & State Space Models

Master linear-time sequence modeling: from S4 and HiPPO to Mamba's selective recurrence, Mamba-2's SSD framework, Mamba-3's inference-first refinements, and modern hybrid Transformer-SSM designs.

Hard34m
25

Reasoning & Test-Time Compute

Understand how reasoning models trade extra inference compute for better answers, and what that means for search, verifiers, KV cache pressure, and routing.

Hard42m
26

Advanced MLOps & DevOps for AI

Version prompts, features, and model aliases as one GitOps release tuple, catch embedding skew with a feature store, and roll back from live eval and latency signals.

Hard27m
27

GPU Serving & Autoscaling

Serve one incident-summary request through continuous batching, paged KV, and an autoscaler driven by queue, cache, and TTFT pressure.

Hard55m
28

GPU Failure Operations

Diagnose one failing GPU replica, contain the smallest safe scope, preserve evidence, and re-admit hardware through explicit gates.

Hard22m
29

Distributed Inference Data Plane

Follow one 8K-prompt request through routing, prefill, KV transfer, and decode while designing explicit admission, identity, retry, security, and SLO contracts.

Hard28m
30

Serving Benchmark Engineering

Build a reproducible LLM serving benchmark from one versioned request trace, then find a stable release point using latency, fluidity, quality, and SLO-qualified goodput.

Hard25m
31

A/B Testing for LLMs

Take one docs-assistant prompt duel from a golden-set rubric to a live resolution-rate test with sticky routing and registered guardrails.

Hard49m
šŸ—ļø

System Design Capstones

End-to-end hard system design breakdowns for real AI products

1

Content Moderation System

Design StreamShield's cascade: chat send decisions, upload holds, policy judges, appeals, and 10K RPS without one-model screening.

Hard47m
2

Code Completion System

Design a real-time code completion path with context construction, measured serving latency, privacy controls, and stale-result suppression.

Hard43m
3

Multi-Tenant LLM Platform

Design a shared LLM platform with tenant-scoped state, quota enforcement, adapter routing, KV accounting, and measured GPU utilization.

Hard39m
4

LLM-Powered Search Engine

Design CodeAtlas search around one parser-v2 query: freshness routing, hybrid retrieval, evidence packing, citation checks, and streaming synthesis.

Hard41m
5

Vision-Language Models & CLIP

Design a visual inspection and search product around CLIP, SigLIP, zero-shot prompts, visual token budgets, grounding, and generative VLM connectors.

Hard50m
6

Multimodal LLM Architecture

Design a multimodal incident-evidence copilot while learning encoders, connectors, fusion, token budgets, training, grounding, and serving constraints.

Hard51m
7

Diffusion Models: Images & Text

Design a governed image-generation service while learning DDPM noising, stochastic sampling, latent diffusion, classifier-free guidance, DiT backbones, and text diffusion.

Hard49m
8

Real-Time Voice AI Agent

Design an incident-hotline voice agent: turn detection, streaming STT/LLM/TTS, native-audio trade-offs, WebRTC transport, and barge-in state.

Hard45m
9

Reasoning Agent System Design

Design a production reasoning agent that routes by difficulty, evaluates candidate work, requires evidence before release, and survives serving bottlenecks like key-value (KV) cache growth.

Hard45m
šŸŽ¤

AI Lab Interviewing

Final interview practice for frontier AI labs: Python systems, design, behavioral evidence, and technical presentation

1

AI Lab Coding Interview: Python Systems

Build production-shaped Python systems under staged requirements: crawlers, TTL stores, schedulers, token buckets, ledgers, and thread-safe claim points.

Hard32m
2

AI Lab System Design Interview

Design AI lab systems with clear goals, scale math, APIs, data models, overload behavior, permissions, eval gates, and operational debugging paths.

Hard36m
3

AI Lab Behavioral Interview

Turn AI lab values into inspectable engineering stories: launch gates, incidents, disagreement, and ownership with metrics, not slogans.

Hard21m
4

AI Lab Technical Presentation

Turn one production project into a 15-minute talk that defends architecture, tradeoffs, rollout, and metrics, then survives internals and failure-mode questions.

Hard26m
šŸ”¬

Project Deep Dives

Code-level studies of influential open AI infrastructure projects, their core mechanisms, tradeoffs, teams, and research foundations

1

Deep Dive - vLLM

Read vLLM as a living serving system: PagedAttention's memory idea, the V1 engine loop, block-pool caching, scheduling, kernels, APIs, and production tradeoffs.

Hard28m
2

Deep Dive - SkyRL

Read SkyRL as replaceable RL interfaces: environments, generators, HTTP inference, trainers, weight sync, and async staleness control.

Hard41m
3

Deep Dive - FlashAttention

Read the Dao-AILab FlashAttention repo: exact tiled attention, online softmax, causal 2.1 alignment, FA2/FA3/FA4 packages, and when PyTorch SDPA is the better call.

Hard24m
4

Deep Dive - FlashInfer

Trace FlashInfer from irregular KV-cache layouts through load-balanced attention kernels, composable state, and production serving boundaries.

Hard28m
5

Deep Dive - DeepGEMM

Read DeepGEMM as a GPU-kernel case study: tiled GEMMs, FP8/FP4 scaling, runtime JIT, the DeepSeek indexer, and Mega MoE overlap on a Flash-shaped expert layer.

Hard41m
6

Deep Dive - NCCL

Read NCCL as the communication engine beneath distributed AI: collective contracts, rings and trees, topology discovery, CUDA streams, transports, profiling, and hang diagnosis.

Hard31m
7

Deep Dive - Megatron

Read Megatron-LM and Megatron Core as a distributed training system: rank groups, parallel axes, optimizer sharding, MoE dispatch, low precision, and checkpoint operations.

Hard33m
8

Deep Dive - DeepSpeed

Read DeepSpeed from its engine boundary through ZeRO state ownership, layer-time gathers, CPU and NVMe offload, pipeline limits, checkpoint recovery, governance, and source code.

Hard25m
9

Deep Dive - Ray

Read Ray as a distributed execution substrate for LLM data, training, reinforcement learning, tuning, and serving: tasks, actors, objects, scheduling, ownership, and failure recovery.

Hard22m
10

Deep Dive - MLflow

Read MLflow as an evidence and lineage system for models and LLM applications: tracking, artifacts, traces, evaluation datasets, prompts, registries, storage, and governance.

Hard22m
11

Deep Dive - PyTorch

Read PyTorch from storage and strides through dispatch, autograd, torch.compile, SDPA, FSDP2, DTensor, and distributed checkpoint, then debug the contracts that make LLM training work.

Hard38m
12

Deep Dive - Transformers

Read Hugging Face Transformers as a model-definition boundary: Hub revisions, AutoClass dispatch, PreTrainedModel lifecycle, device_map dispatch, tokenizers, multimodal processors, generation, caches, and serving integrations.

Hard33m
13

Deep Dive - SGLang

Read SGLang from a frontend program to a GPU step: RadixAttention, scheduling, constrained decoding, speculative execution, parallelism, and production boundaries.

Hard34m
14

Deep Dive - slime

Read slime as a SGLang-native RL post-training system: Ray placement, Megatron training, a token-level Sample contract, async rollouts, agent hooks, and weight-sync failure boundaries.

Hard35m
15

Deep Dive - DeepEP

Read DeepEP from a four-token routing ledger through V2's ElasticBuffer, NCCL Gin, NVLink and RDMA topology, FP8 dispatch, and the archived V1 boundary.

Hard41m
16

Deep Dive - Tinker

Read Tinker as a hosted LoRA post-training service: local control loops, remote GPU workers, token-level RL contracts, pipelined clock cycles, checkpoint export, and the boundaries that separate an SDK from infrastructure such as DeepEP.

Hard42m
17

Deep Dive - Light-PEFT

Read Light-PEFT as an academic early-pruning research release: frozen-backbone PEFT still pays forward cost, masks become physical structured pruning, and PEFT modules and ranks shrink before a longer fine-tuning run.

Hard46m