TorchedUp
ProblemsPremium
TorchedUp
ProblemsPremium

From softmax to LLMs

181 hands-on problems for the math and systems behind modern AI. Python in your browser. No setup.

Start practicing →Go Premium

181

coding problems

42

hard-difficulty

14

topic areas

Numerically Stable Softmax

EasyTry it now — no signup required

Implement softmax that handles large values without overflow. Hint: subtract max(x) before exp to prevent overflow.

Click Run to load Python 3.12

3 test cases will run when you click Run.

Solved this? 169 more problems waiting →

What you'll practice

∑

Numpy fundamentals

Softmax, attention, backprop, Adam — the building blocks every MLE must know.

⚡

Transformer internals

RoPE, Flash Attention, GQA, MoE — implement the architectures powering GPT-4, LLaMA, and Gemini.

🔥

LLM inference & serving

KV cache, PagedAttention, speculative decoding, continuous batching — vLLM internals as coding problems.

⚙

Distributed systems

ZeRO, FSDP, Megatron parallelism, pipeline parallelism — what runs at the largest scale.

Coming soon

In development
Soon
🏗

ML System Design

Walk through the full design of recsys, ranking, search, fraud, ads pipelines — feature stores, training infra, deployment, monitoring. Lessons + interactive case studies.

Soon
⚡

Inference System Design

How to design and scale LLM serving — vLLM internals, paged attention, continuous batching, prefix caching, multi-LoRA, tensor parallel deployment, capacity planning.

Why TorchedUp

Runs in your browser

Python 3.12 via Pyodide — no installs, no waiting for a sandbox VM. Write code, click Run, see results in milliseconds.

Interview-accurate

Problems are drawn from real ML engineering interviews at top labs. Math formulations and reference solutions included.

Covers the full stack

From softmax to PagedAttention — numpy fundamentals through production-grade distributed training and serving systems.

Ready to TorchedUp?

Free to start. Premium unlocks solutions, hints, and unlimited runs.

Browse all 181 problems →

© 2026 TorchedUp. All rights reserved.

ChangelogContact UsTerms of ServicePrivacy PolicyRefund Policy