
Torchcode Pytorch Interview Practice
LeetCode-style PyTorch interview practice with auto-grading for implementing operators and transformer components from scratch.
- skills.sh installs
- 753
- GitHub stars
- 98
- last updated
- Jul 14, 2026
What it does
- Covers 40 curated problems from ReLU and softmax through LayerNorm, multi-head attention, and GPT-2
- Provides a judge with
check(),status(),hint(), andreset_progress()for pass/fail, gradient, and timing feedback - Enforces comparison against PyTorch reference implementations, including autograd compatibility checks
- Designed for ML engineers preparing for PyTorch coding interviews in Jupyter, Colab, or Docker
Install
$ npx -y skills add reason-machines/trending-skills --skill torchcode-pytorch-interview-practice -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
TorchCode — PyTorch Interview Practice
Skill by ara.so — Daily 2026 Skills collection.
TorchCode is a Jupyter-based, self-hosted coding practice environment for ML engineers. It provides 40 curated problems covering PyTorch fundamentals and architectures (softmax, LayerNorm, MultiHeadAttention, GPT-2, etc.) with an automated judge that gives instant pass/fail feedback, gradient verification, and timing — like LeetCode but for tensors.
Installation & Setup
Option 1: Online (zero install)
- Hugging Face Spaces: https://huggingface.co/spaces/duoan/TorchCode
- Google Colab: Every notebook has an "Open in Colab" badge
Option 2: pip (for use inside Colab or existing environment)
pip install torch-judge
Option 3: Docker (pre-built image)
docker run -p 8888:8888 -e PORT=8888 ghcr.io/duoan/torchcode:latest
# Open http://localhost:8888
Option 4: Build locally
git clone https://github.com/duoan/TorchCode.git
cd TorchCode
make run
# Open http://localhost:8888
Details
- Repository
- github.com/reason-machines/trending-skills
- Categories
- Data Science & Analytics, Learning & Teaching, Python
- First seen
- May 16, 2026
More from reason-machines/trending-skills
All 163- Codex Session Patcher750
- Learn Docker K8s Game746
- Claude Better Cli744
- Ministack Aws Emulator743
- Wildworld Dataset739
- Phantom Ai Coworker729
- Kordoc Korean Document Parser727
- Claw Code Harness721
- Clawd Code Python Port714
- See Through Anime Layer Decomposition706
- Open Agent Sdk701
- Openclaude Multi Llm673
- Emdash Cms672
- Cc Gateway Ai Proxy668
- Open Multi Agent Orchestration665
- Pretext Text Measurement649
- Claude Code Source Recovery648
- Sheets Terminal Spreadsheet646
- Omnivoice Tts627
- Metatron Pentest Assistant602
- Tong Jincheng Relationship Skill595
- Awesome Design Md Jp594
- Parlor On Device Ai588
- Paper2code Arxiv Implementation585
Similar to Torchcode Pytorch Interview Practice
More Data Science & Analytics
pytorch-patternsaffaan-m/ecc6.4K installsPyTorch training, architecture, and data loading patterns covering device handling, reproducibility, and efficient pipelines.
deep-learningmindrally/skills989 installsPractical guidelines for neural network design, training, multi-GPU scaling, and memory optimization in PyTorch-style workflows.
deep-learning-pytorchmindrally/skills1.9K installsStructured guidance for PyTorch deep learning work across models, transformers, diffusion pipelines, and Gradio demos.
paper2code-arxiv-implementationreason-machines/trending-skills585 installsTurns an arXiv paper into a citation-anchored Python implementation that flags every unspecified choice and ambiguity.
ml-training-recipesorchestra-research/ai-research-skills1.1K installsBattle-tested PyTorch training recipes spanning LLMs, vision, diffusion, and biomedical domains with debugging guidance.
ml-expertpersonamanagmentlayer/pcl368 installsBroad ML reference covering supervised learning, PyTorch deep learning, and model serving with MLflow and FastAPI.