Tools/whwangovo/pyre-code

pyre-code

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.

1.2k+8/wkemergingPythonnew this week

The Lens

Pyre-Code is a self-hosted coding practice platform for machine learning. 68 problems that walk you from implementing ReLU to building attention mechanisms, RLHF pipelines, and diffusion models. Browser-based editor with instant test feedback and reference solutions. No GPU required.

Running it yourself takes a Next.js frontend and a FastAPI backend with SQLite for progress tracking. Standard Docker setup, nothing exotic. The whole point is to run it locally or on a team server so you can practice without leaking code to a third-party platform.

ML engineers prepping for interviews or deepening their understanding of model internals will get the most from this. It's not a course or a tutorial: it's hands-on implementation practice where you write the code and the tests tell you if you're right.

The catch: 68 problems is a fixed set. No community contributions yet, no problem editor, and the difficulty curve assumes you already know Python and basic linear algebra.

Free vs Self-Hosted vs Paid

fully free

Free tier: Everything. All 68 problems, reference solutions, test suites. MIT licensed.

Self-hosted: Next.js + FastAPI + SQLite. Standard Docker deployment. Minimal compute, no GPU needed.

Paid tier: None. Fully open source with no commercial offering.

Completely free. MIT licensed, self-hosted, no catches.

Self-hosting ops:trivial

Get tools like this every Wednesday

One featured tool, three on the radar. No fluff.

Score
43/100 · C
Adoption13/30
Maintenance10/25
Community5/20
License5/15
Analysis10/10

A low score is not a verdict on quality. Young and niche tools start low by design. How we calculate scores

License: Other

Review license manually.

Commercial use: ✗ Restricted

About

Owner
Weihang Wang (User)
Stars
1,173
Forks
110

Explore Further

More tools in the directory