Show HN: You can now train your own LLMs with less memory, on your consumer GPUs
Category: ai-ml
Tags: ternary-llm, low-rank-optimizer, quantization, memory-efficient-training, pytorch
Score: 7.5/10 (Innovation: 8, Technical: 8, Documentation: 8, Utility: 6)
ttf-ternary implements a novel training method for ternary language models that keeps weights packed at 1.6 bits and uses low-rank optimizer state, avoiding full-precision master weights. It enables training and fine-tuning billion-parameter models on consumer GPUs (e.g., 23B on 16GB) with competitive loss and released models. The project is technically sophisticated and well-documented with empirical results, though it is niche and requires NVIDIA GPUs.
Target audience: machine learning engineers and researchers
Repository: https://github.com/oguzeldereli/ttf-ternary · Python · NOASSERTION · 22 stars
View on Hacker News