frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: You can now train your own LLMs with less memory, on your consumer GPUs

2•gladia-solaria•11m ago
*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* N*ext 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.

I have also been working on converting existing models and training them. This is harder and I am still working on it but I have some promising results. I quantized and trained a Qwen3.8 27B though the file I published below has adapters which are about 2GBs, pushing the file size to 8GB. I am also making a no-adapter version right now. It scores GSM8K 0.895, the same as full precision, HumanEval 0.84 vs 0.93 and runs on a 12 GB GPU at \~2*3* tok/s on my crippled 12GB laptop 4080, though this number can heavily be improved with custom kernels, engineering, etc. I will leave it to you guys to help me with that too.

I also quantized and trained Qwen Flash Next down to 40.4 GBs including its n-gram table (at 8GB). It largely retains the skills of the network (scores equivalent on GSM8K benchmark, a little behind on HumanEval, I unfortunately don't have compute for the larger benchmarks such as TerminalBench2.1 but perhaps some of you can help me out) but forgets facts. It mostly works fine if you give it web search as far as my experience goes but this is not strictly measured.

I am still doing work on this and I will keep working on it, perhaps even for many years. The code is open for non-commercial use. Check out:

The core repo for training: https://github.com/oguzeldereli/ttf-ternary

The repo for conversion: https://github.com/oguzeldereli/ttf-conversion

Repo for running models trained by ttf: https://github.com/oguzeldereli/ttf-home

GGUF for a converted Qwen 3.8 27B with adapters (around 8 GB): https://huggingface.co/oguzeldereli/ttf-Qwen3.8-27B-GGUF

GGUF for a converted Qwen 3.8 Flash Next (around 40.4GB): https://huggingface.co/oguzeldereli/ttf-Qwen3.8-Flash-Next-G...

GGUF for a converted Qwen 3.8 27B without adapters (around 6 GB): Currently in conversion and will drop soon.

I will convert a Qwen 4 27B instance when it drops.

Full paper: https://github.com/oguzeldereli/ttf-ternary/blob/main/paper/...

Also, I would appreciate github stars if you like the project.

ZX Spectrum in SQL and Daley Thompson's Decathlon

https://sqlartist.github.io/posts/zx-spectrum-48k-in-sql-server-running-daley-thompsons-decathlon/
1•_usefulcat•1m ago•0 comments

Building a Bluesky account typeahead service

https://jola.dev/posts/tern-atproto-typeahead
1•shintoist•2m ago•0 comments

Isar Aerospace Could Launch Third Spectrum Rocket as Early as 26 November

https://europeanspaceflight.com/isar-aerospace-could-launch-third-spectrum-rocket-as-early-as-26-...
1•vrganj•2m ago•0 comments

Legocam: My Lego webcam from 2000, working on a modern Mac

https://blog.benjamin.ie/legocam
1•benkelly•4m ago•0 comments

Selling SaaS in India

https://embedworkflow.com/blog/selling-saas-in-india/
2•ewf•6m ago•0 comments

Show HN: GameRAGKit, lore-grounded NPC dialogue in C#

https://gameragkit.up.railway.app/
1•TowsifBuilds•7m ago•0 comments

Show HN: I made an old-school IRC-style chat for talking about movies and series

https://irc.artconnects.club/
1•kaizenb•7m ago•0 comments

Show HN: Tokspur a 3x faster open source inference engine for Macs

https://github.com/san-digital/tokspur
1•51monfarrow•8m ago•0 comments

Nuance Labs (Full Duplex AI Avatar)

https://app.nuancelabs.ai/try
1•armcat•8m ago•0 comments

Show HN: Grai – A deterministic cadence gate for AI drafts

https://grai.page/#test
2•AdrianPeticila•9m ago•0 comments

Ask HN: What future you see for software engineering?

2•no-user•11m ago•1 comments

Anthropic launches roadshow for proposed initial public offering

https://www.anthropic.com/news/roadshow-launch
3•davidbarker•11m ago•0 comments

Show HN: You can now train your own LLMs with less memory, on your consumer GPUs

2•gladia-solaria•11m ago•0 comments

Protect your Symfony login against brute force with login_throttling

https://www.mon-code.net/post/184/protect-your-symfony-login-against-brute-force-with-login-throt...
1•metfan•14m ago•1 comments

Anthropic's nearly $70B IPO plan briefly circulated to banks

https://www.reuters.com/business/anthropic-aims-raise-up-693-billion-blockbuster-ipo-2026-11-10/
1•tosh•16m ago•0 comments

Free GEO Content optimizer tool by Shoden Global

https://shodenltd.com/geo-content-optimizer/
1•sharp_entrepren•17m ago•0 comments

Minecraft: Java Edition 26.3 rewritten from scratch in Rust

https://github.com/horizon-rust/horizon
2•71bw•18m ago•0 comments

Merz: Google Cloud is sovereign enough for intelligence agencies

https://www.heise.de/en/news/Merz-Google-Cloud-is-sovereign-enough-for-intelligence-agencies-1150...
2•kakoni•20m ago•0 comments

Critical Xen Orchestra authentication bypass is being actively exploited

https://docs.vates.tech/security-advisories/advisories/2026/vates-sa-2026-062/
2•theGuyOnInterne•21m ago•1 comments

Music For Robots – 26 unquantized acoustic tracks for multimodal LLM evaluation

https://github.com/luchtan-GIT/m4r-data
2•music4robots•24m ago•0 comments

Show HN: Storyfold – Interactive stories shaped by your choices

https://www.storyfold.games/
1•barlutiu•27m ago•0 comments

Decrying the use of Gen AI in game dev

https://blog.damonreece.com/on-todays-main-character/
1•Emerald_dreamer•28m ago•1 comments

Counting the characters in ONE CHARACTER remains an open problem in CS

https://chaos.social/@fluepke/117507102492401278
2•marjancek•29m ago•0 comments

Charlie Cheever is building Exact: a cross-platform React alternative in Rust

https://twitter.com/ccheever/status/2119764253242695754
1•stevekrouse•30m ago•0 comments

Show HN: An alien pressing against wired glass, in Three.js (Claude Fable 5.2)

https://wired-glass.sandcastle.ffmux.com/alien.html
1•Amirso•34m ago•0 comments

Show HN: Secure dev boxes for your Mac

https://github.com/janpmz/mybox
2•janpmz•37m ago•0 comments

Earning to Give

https://en.wikipedia.org/wiki/Earning_to_give
1•chistev•37m ago•0 comments

Falsehoods programmers believe about addresses (2013)

https://www.mjt.me.uk/posts/falsehoods-programmers-believe-about-addresses/
4•vismit2000•40m ago•3 comments

Debugging Rust in 2026

https://blog.jetbrains.com/rust/2026/11/10/debugging-rust/
3•orhunp_•41m ago•0 comments

After 7-Months, Glasswing Overwelms Maintainers with Underwhelming Findings

https://www.vulncheck.com/blog/anthropic-glasswing-november-update
1•latexr•44m ago•0 comments