Latest / AI & agents

NanoEuler

github.com · Open source · Maintained

GPT-2-style language model built from scratch in C and CUDA

Visit github.com ↗Share

Stars
127
Forks
26
Open issues
0
Last commit
Found
5 months ago

GitHub figures as of . They are context, not a ranking.

NanoEuler is a GPT-2-style language model implemented from scratch in C and CUDA, with hand-written backpropagation, a BPE tokenizer and FlashAttention. Its author uses it to study how a small model learns and how layers can be optimized on a GPU. It suits people who want to learn how transformers work at a low level.

Repository description on GitHub: “GPT-2-style LLM built from scratch in C/CUDA with hand-written backprop, BPE tokenizer, FlashAttention, pretraining, and SFT.”

What it does

  • GPT-2-style language model written in C and CUDA with no ML libraries
  • Hand-written backpropagation verified by a gradient check
  • Byte-level BPE tokenizer written from scratch
  • FlashAttention kernel written by hand

Good for

  • Study how a transformer's forward and backward passes work in C
  • Train a small GPT-style model on a single consumer GPU

Suits: Learners who want to understand transformers at a low level.

Worth knowing: A research artifact with no real world knowledge, and its chat model is not a useful chatbot

What you can try

Read the README on GitHub and install from source.

Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.

Found vs. released

Kip first saw NanoEuler on , when vforno posted it to Show HN. GitHub listed no published releases for JustVugg/nanoeuler when checked , so the project may ship straight from its main branch. The repository was created .

Day-7 and day-30 updates

Day 7 no new release

  • No tagged release was published in the first 7 days after it was found (GitHub release dates).
  • Show HN discussion at check time: 55 points, 26 comments. API record

Checked , later than day 7 because tracking began after.

Day 30 no new release

  • No tagged release was published in the first 30 days after it was found (GitHub release dates).
  • Show HN discussion at check time: 55 points, 26 comments. API record

Checked , later than day 30 because tracking began after.

Release timeline every entry links to its source

  1. Repository created on GitHub: JustVugg/nanoeuler
  2. Found: vforno posted it to Show HN. Show HN
  3. Day-7 check recorded by Kip (details)
  4. Day-30 check recorded by Kip (details)

Quick answers

When was NanoEuler released?
No dated release record is available. Kip found it on Show HN on 28 Jun 2026.
Is NanoEuler open source?
Its source is public on GitHub at JustVugg/nanoeuler under the MIT licence.
What does NanoEuler run on?
Command line.
Is NanoEuler free?
It is open source, so the code is free to read and run; check the licence for terms.
Is NanoEuler still maintained?
It had a commit or release in the last year, though not in the last 90 days, as of the latest check.

Provenance

SourceRecordLast checked
Show HNlisting
official API record
GitHub repositoryJustVugg/nanoeuler
REST API record
GitHub Releasesrelease list
REST API record

Stable ID hn-48710778. Summary drafted with AI from the source records above and checked against KipFound’s rules before publishing. Dates and release facts come only from those records.

Share

Similar tools

More in AI & agents

Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.