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.
Source: [Hacker News](https://github.com/AnanyaP-WDW/esmc.cpp)