Hacker News

Show HN: Running a ESMC protein language model as a single C++ binary

Hacker News - Wed, 11/25/2026 - 5:19am

Hi HN, I ported ESM Cambrian 300M — a protein language model — from PyTorch to C++ on top of ggml. The 4-bit model file is 228 MB on disk and peaks around 520 MB of RAM; 8-bit is 337 MB (measured on m4max 36 gb Memory). The F16 output matches the PyTorch reference at a per-residue cosine of 0.9999996 across 10k Swiss-Prot sequences. Please checkout the github readme for more stats regarding memory, inference time and numerical accuracy viz-a-viz pytorch.

The goal of this experiment was: 1) challenge myself to learn something new and out of my comfort zone 2) check how ggml backend performs vs pytorch backend for encoder only models.

Comments URL: https://news.ycombinator.com/item?id=50640661

Points: 1

# Comments: 0

Categories: Hacker News

HTTP/Minimal: like Gemini protocol but standard

Hacker News - Wed, 11/25/2026 - 5:16am

Article URL: https://httpmini.com/

Comments URL: https://news.ycombinator.com/item?id=50640638

Points: 2

# Comments: 0

Categories: Hacker News

Pages