interviewpath
  • 0day streak
  • 10total XP
  • Level 1

Rebuild micrograd: a scalar reverse-mode autograd engine

Write a tiny autograd engine from scratch, train a small MLP with it, and check every gradient against PyTorch and finite differences.

Not attemptedAndrej Karpathy (GitHub)Access: free

The exercise happens on Andrej Karpathy (GitHub). Canonical link: https://github.com/karpathy/micrograd. Link check: link responded (5 Oct 2026). Opened from this app 0 times; opening is not counted as an attempt.

Supports: Backpropagation and autograd fluency for ML engineering and research interviews. Write your own version before reading the reference code.

Record an attempt

Outcome

A date is suggested from the outcome.

Attempt history

No attempts recorded yet.