AINewsnow

TRiP: an engine for transformer inference and training in plain C (15k lines, few files). Gemma1(.1), Llama2, PaliGemma1, GPT2

This story is from 2026-08-23. It is preserved in the archive; the latest stories are on the live feed.

I made it in 18 months of lunch breaks and evenings. It's not fast, llama.cpp is just wow and does that job. I wrote this one because I wanted to read the whole forward/backward pass in an afternoon and be able to stop anywhere and print a tensor and dig the thing. Most from-scratch projects stop a…

Read the full story at r/huggingface ↗

Timeline · 1 report

  1. 2026-08-23 15:29 · r/huggingface
    TRiP: an engine for transformer inference and training in plain C (15k lines, few files). Gemma1(.1), Llama2, PaliGemma1, GPT2

More stories

  1. M2 Mac ultra128gb Qwen flash next — r/LocalLLM
  2. Qwen3.8-Flash-Next-Heretic2-IQ4XS on Halogen Flash Server vs llama-server on Strix Halo: 2.3-7.7x prefill speedup with half the VRAM (+ vision works on BYO GGUF) — r/LocalLLM
  3. Multi-hour llama.cpp optimization experiments on Qwen MoE models, patches, benchmarks, and reproduction guides — r/LocalLLM
  4. The bear can dance: Qwen 3.8 27B on one 3090 for 3 weeks — r/LocalLLaMA
  5. CUDA: enable sparse fa for qwen4 by am17an · Pull Request #28770 · ggml-org/llama.cpp — r/LocalLLaMA
  6. focus-llama: a llama.cpp fork implementing Declarative Attention (arXiv:2609.02737) — r/LocalLLaMA
  7. I ran Opencode and PI against the same local model on 3 identical projects, same prompts, same hardware... — r/LocalLLM
  8. I benchmarked 13 model/quant configs on a GPU with no tensor cores (Vega iGPU + Vulkan) and wrote it up as a measurement study — the quant encoding suffix matters more than you'd think — r/LocalLLM

Get the daily brief of stories like this at 6:30 every morning →