duoan/TorchCode

🔥 LeetCode for PyTorch — practice implementing softmax, attention, GPT-2 and more from scratch with instant auto-grading. Jupyter-based, self-hosted or try online.

by Victor An Jupyter Notebook 428 forks Created Mar 2026 View on GitHub

Stars
4,742
82% of duoan's stars
Rank
#13,726
of 852,369 repos, top 2%
In Jupyter Notebook
#303
of 21,669 repos, top 2%

Among 852,369 repos

Compare with

4k–6.3k stars: 6,645 repos, including TorchCode

Stars along the bottom, and repos in each band on a log scale

Quick stats

Next rank
+1 star to reach #13,723
Next milestone
+2,463 stars to reach the top 1%
Popular
One of 66,533 repos with 1k+ stars

Stars counted Recounted daily Next count around