Create

Sign in to ReadmeX

or

How we handle your data: Privacy Policy

ReadmeX

Your AI reading companion

What would you like to catch up on?

Pick a briefing, or ask your own question.

Your community and people briefings stay personal to you.

Story

TTF ternary optimizer targets consumer-GPU LLM training

AI summary

In an r/LocalLLaMA post, developer Oguz Eldereli reported that his TTF ternary optimizer reduces training memory from roughly 16 bytes per weight to one byte or less. He said this allowed him to fit training for a 27B model on a single 24GB RTX 3090 and a 23B model on a 16GB GPU, while publishing non-commercial code, a paper, and converted Qwen models. His converted Qwen 3.8 27B reportedly scored 0.895 on GSM8K and 0.84 on HumanEval, but these results and the claimed training requirements remain developer-reported.

In-depth insight

The project could make continued training of medium-sized language models more practical on consumer GPUs, but its benchmark results, memory claims, and practicality have not been independently validated.

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

Original · 3 min readRead the original
Group chat

No comments yet. Start the conversation.