TRiP
github.com · Open source · Maintained
Transformer engine in C covering inference, training, chat and vision
- Developer tools
- Open source
- C
- Day-7 check
- Day-30 check
- transformer
- neural network
- inference
- transformer in c
- llm from scratch
- gpt2 c implementation
- neural network c code
- learn transformers
- Stars
- 95
- Forks
- 13
- Open issues
- 0
- Last commit
- Found
- 7 months ago
GitHub figures as of . They are context, not a ranking.
TRiP is a transformer engine written from scratch in C that covers inference, training, chat and vision in one codebase. The repository describes it as a complete transformer engine, which suits developers who want to read a neural network implementation without a framework.
Repository description on GitHub: “A complete transformer engine in C — inference, training, chat, vision.”
What it does
- Inference and training for Gemma 1, Llama 2, PaliGemma and GPT-2
- Tokenizer creation and chat in one C codebase
- Vision support through PaliGemma
- About 15,000 lines of C, structured to be read
Good for
- Read a transformer implementation written in plain C
- Train a small GPT-2 style model from scratch
- Run chat or vision inference on a supported model
Suits: Developers wanting to learn transformer internals in C.
Worth knowing: Built for education and does not aim to track the latest model releases
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 TRiP on , when carlovalenti posted it to Show HN. GitHub listed no published releases for carlovalenti/TRiP 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: 38 points, 6 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: 38 points, 6 comments. API record
Checked , later than day 30 because tracking began after.
Release timeline every entry links to its source
- Repository created on GitHub: carlovalenti/TRiP
- Found: carlovalenti posted it to Show HN. Show HN
- Day-7 check recorded by Kip (details)
- Day-30 check recorded by Kip (details)
Quick answers
- When was TRiP released?
- No dated release record is available. Kip found it on Show HN on 30 Apr 2026.
- Is TRiP open source?
- Its source is public on GitHub at carlovalenti/TRiP; check the repository for licence terms.
- What does TRiP run on?
- Command line.
- Is TRiP free?
- It is open source, so the code is free to read and run; check the licence for terms.
- Is TRiP 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
| Source | Record | Last checked |
|---|---|---|
| Show HN | listing official API record | |
| GitHub repository | carlovalenti/TRiP REST API record | |
| GitHub Releases | release list REST API record |
Stable ID hn-47965161. Summary written by KipFound’s editor.
Share
Similar tools
Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.