TTF三值优化器降低大模型训练显存
开发者 Oguz Eldereli 在 r/LocalLLaMA 发帖称,其 TTF 三值优化器可将训练时每权重约16字节的显存需求降至1字节或更低。他表示,该方法让27B模型可在单张24GB RTX 3090上训练,23B模型则可在16GB GPU上训练,并公开了仅限非商业使用的代码、论文及转换后的Qwen模型。转换后的Qwen 3.8 27B据称在GSM8K和HumanEval上分别得到0.895和0.84,但相关结果与训练要求仍主要来自开发者自述。
该项目可能让中等规模语言模型更容易在消费级GPU上持续训练,但其基准成绩、显存节省和实用性尚未得到独立验证。
TL;DR: You can train your own 27B model on a 3090 with 24GB VRAM, though you would have to go through hundreds of billions of tokens for it to be good. I am working on conversion of existing models. Check repos for code and the paper if you are interested in more. I have a 40.4GB Qwen Flash Next GGUF
Hi, I do AI research. I have been working on an optimizer that doesn't need the ~16 bytes of VRAM per weight to train a model that AdamW does. I focused on training ternary networks bcs BitNet (Ma et al.) shows they match full precision quality in large scales. The problem is BitNet also keeps the full precision weights during training which means you still need to use the same amount of memory. I got this down from 16 bytes to 1 byte or even less per weight.
For you, this means, you can train your own 10-20B parameter models on your consumer GPUs. I fitted 27B model training on a single 24GB 3090 and a 23B model on a 16GB GPU. The trained model costs ~1.6 bits per weight (~6GB at 27B), 10x smaller than 16bit, and 5x smaller than Q8.
#TTF Ternary#Qwen 3.8 27B#Qwen 3.8 Flash Next#BitNet#AdamW#RTX 3090#RTX 4080