whwangovo

whwangovo / pyre-code

Public

A self-hosted ML coding practice platform. 68 problems from ReLU to flow matching — attention, training, RLHF, diffusion, and more. Instant feedback in the browser.

84
3
100% credibility
Found Apr 09, 2026 at 84 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
Python
AI Summary

Pyre Code is a browser-based coding playground with 68 hands-on challenges to implement core components of AI models like Transformers and diffusion systems, offering instant local test feedback and progress tracking.

How It Works

1
🔍 Discover Pyre Code

You hear about this fun playground for building AI pieces by hand, like attention and optimizers.

2
🚀 Set up your space

Follow the easy guide to prepare your personal coding area on your computer.

3
Launch the playground

Hit start and watch your browser open a smooth editor with real tests ready to go.

4
🎯 Pick your first challenge

Browse challenges or guided paths to find one that sparks your interest.

5
💻 Code and test live

Type your solution in the browser editor and run tests to see instant pass or fail.

6
Get smart feedback

Spot exactly what works or breaks, tweak, and watch your skills grow with each try.

🏆 Master AI building blocks

Celebrate finishing challenges, track your wins, and feel ready to tackle real AI projects.

Sign up to see the full architecture

5 more

Sign Up Free

Star Growth

See how this repo grew from 84 to 84 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is pyre-code?

Pyre-code is a self-hosted coding practice platform for implementing ML model internals from scratch, with 68 problems spanning ReLU basics to advanced topics like flow matching, RLHF, and diffusion models. Developers code directly in a browser-based Python editor with Monaco syntax highlighting, submit for instant test feedback, view reference solutions, and track progress via SQLite—all running locally without a GPU or data leaving your machine. Built with Python, Next.js frontend, and FastAPI backend, it offers Docker Compose for one-command setup.

Why is it gaining traction?

Unlike LeetCode-style sites or scattered Jupyter notebooks, pyre-code delivers ML engineering interview skills through targeted problems on real systems like Transformers, vLLM, and TRL, with predefined learning paths like "Train a GPT from Scratch." The self-hosted coding environment provides zero-latency feedback and persistence across sessions, making it a practical alternative to cloud-based platforms or GitHub Codespaces. Its focus on browser-native execution and no-setup Docker runner appeals to devs seeking a private, instant-feedback self-hosted coding assistant.

Who should use this?

ML engineers prepping for interviews at OpenAI, Anthropic, or scaleups, where implementing attention variants or optimizers is common. Researchers prototyping paper ideas without GPU dependency. Self-taught devs building deep intuition for LLM training tricks, inference kernels, or alignment losses before diving into full frameworks.

Verdict

Strong pick for ML interview grinders—84 stars signal early promise, but 1.0% credibility score and beta status mean expect occasional rough edges despite solid docs and tests. Fork and contribute if you want a polished self-hosted coding environment long-term.

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.