nowfound

Life & fun · April 30, 2026

TRiP – a complete transformer engine in C built from scratch just by me

A complete transformer engine in C — inference, training, chat, vision. - carlovalenti/TRiP

TRiP – a complete transformer engine in C built from scratch just by me launched on April 30, 2026 with 38 votes, #915 of 21,248 launches that month and more than 95% of that year's launches.

Visit github.com ↗Alternativestop 4% of April 2026

In plain words

TRiP is a transformer engine implemented entirely in C, designed from the ground up by a single developer. It provides the core functionality needed to build and run transformer-based models. The project is intended for developers and researchers who want to work with transformers in C environments or understand transformer architecture at a low level. Its main distinction is being a complete, from-scratch implementation by one person rather than a wrapper around existing frameworks.

written from the facts on this page · September 2026

From the sources

A few-file, all-in-one C engine for Transformer AI models: inference, training, tokenizer creation, chat, and vision. Built from scratch over 18 months (March 2024 to August 2025) during my lunch breaks and weekend nights, TRiP exists just because I wanted to truly understand the transformer internals, from the matrix multiplications up. About 15000 lines, structured to be read. It supports Gemma 1, Llama 2, PaliGemma, and GPT-2, with full inference and training. TRiP's purpose is purely educational - for me, and for anyone willing to learn about transformers. It does not aim to track the latest model releases, and is not trying to compete with llama.cpp. That's all, I think. The rest is…from github.com

Does a similar job

all alternatives →
  • 80days.me 3.0 Travel2023 · apps.apple.com · ▲564

    An app that helps plan multi-city eurotrips in a few clicks

  • Copilot2trip2023 · copilot2trip.com · ▲439

    Personalized AI-powered travel assistant with maps

  • Flow – A dynamic task engine for building AI agents2024 · github.com · ▲160

    I think graph is a wrong abstraction for building AI agents. Just look at how incredibly hard it is to make routing using LangGraph - conditional edges are a mess. I built Laminar Flow to solve a common frustration with traditional workflow engines - the rigid need to predefine all node connections. Instead of static DAGs, Flow uses a dynamic task queue system that lets workflows evolve at runtime. Flow is built on 3 core principles: * Concurrent Execution - Tasks run in parallel automatically * Dynamic Scheduling - Tasks can schedule new tasks at runtime * Smart Dependencies - Tasks can…

  • A weekend replication of STOKE, a stochastic superoptimiser2019 · github.com · ▲58

    Haskell re-implementation of STOKE, the stochastic superoptimizer - blaze/notebooks/tutorial.ipynb at master · bollu/blaze

  • ColBERT Build from Sentence Transformers2023 · github.com · ▲66

    Neural Search. Contribute to raphaelsty/neural-cherche development by creating an account on GitHub.

  • Ideogram 4.0 – open-weight 9.3B text-to-image modelJun 2026 · github.com · ▲46

    It's our new text-to-image model: a 9.3B single-stream diffusion transformer trained entirely from scratch. We focused heavily on controllability through structured JSON prompts, with strong text rendering, spatial awareness through bounding box guidance, and color palette control. It has the best text rendering of any open-weight model we've tested so far, and the NF4 quantized checkpoint runs on a single 24GB GPU. For more technical details and examples see our blog post: https://ideogram.ai/blog/ideogram-4.0/ We will be happy to answer any questions :)

More life & fun this month

the category →

Source: Show HN post ↗

Launched alongside, April 2026

the whole month →
  • Brila▲1,364

    One-page websites from real Google Maps reviews

    AI · Apr 2026 · brila.ai

  • AG

    Thought the resources for GPU arch were lacking, so here we are

    Life & fun · Apr 2026 · jaso1024.com

  • Built a ~9M param LLM from scratch to understand how they actually work. Vanilla transformer, 60K synthetic conversations, ~130 lines of PyTorch. Trains in 5 min on a free Colab T4. The fish thinks the meaning of life is food. Fork it and swap the personality for your own character.

    AI · Apr 2026 · github.com

  • AI meeting notes: now bot-free, in ChatGPT & Claude + more

    AI · Apr 2026 · fathom.ai

  • I made a laptop stand out of solid concrete, in the style of brutalist architecture, with themes of urbex and urban decay

    Life & fun · Apr 2026 · sam-burns.com

  • With social media and now AI, its important to keep the indie web alive. There are many people who write frequently. Blogosphere tries to highlight them by fetching the recent posts from personal blogs across many categories. There are two versions: Minimal (HN-inspired, fast, static): https://text.blogosphere.app/ Non-minimal: https://blogosphere.app/ If you don't find your blog (or your favorite ones), please add them. I will review and approve it.

    AI · Apr 2026 · text.blogosphere.app