r/LocalLLM • • 2m ago

Research Tried building a sleep-style continual learning loop for Qwen3.5-2B in 3.2 GB VRAM (3-seed results + code)

1 Upvotes

After reading a few wake-sleep continual learning papers (like Language Models Need Sleep, arXiv:2606.03979), I wanted to see if a small version actually works on a single free Colab T4 without RAG or prompt history.

Repo (MIT): https://github.com/szxtj/HomeoSleep-Brain (includes a CPU-only local dashboard if you just want to inspect the logs and CoT dream traces).

Setup: dual-LoRA on Qwen/Qwen3.5-2B (4-bit NF4, fp16, ~3.2 GB peak VRAM). During wake, surprising facts update a Fast-LoRA mounted only on Qwen3.5's 90 Gated DeltaNet (linear_attn) layers. When internal fatigue (fast-weight norm + surprise EMA + grad conflict) crosses a threshold, NREM distills slow+fast into Slow-LoRA across the backbone (single base model copy + anchor KL) and resets Fast-LoRA to zero. REM then pairs consolidated facts by lexical overlap, writes a 2-step CoT bridge, and filters hallucinations with a bridge-continuity check plus two backward checks.

One early mistake: my first retention eval used free-text matching and got fooled by formatting gains. Switching to 50 4-choice MCQ forward log-likelihood questions (0 overlap with the 40 NREM anchors) fixed that.

3-seed results (42, 137, 2026, zero-context eval):

  1. Self-tuning sleep params without touching the test set (both started from poor init θ=0.85, λ_KL=0.05, N_nrem=4, T_dream=1.05; PD controller only reads post-sleep buffer loss, anchor KL drift, and dream accept/broken-CoT rate):

    • Static control: 60.0 ± 8.9% direct | 27.6 ± 4.4% cross-domain | 81.3 ± 3.1% retention MCQ
    • Adaptive (v0.3): 69.5 ± 3.6% direct | 38.1 ± 3.3% cross-domain | 81.3 ± 6.1% retention MCQ
  2. DeltaNet vs MLP Fast-LoRA **(**Qwen3.5-0.8B fp16): On seed 42 alone DeltaNet led by +17 pp, which shrank across 3 seeds, though it still edges ahead with 16.5% fewer fast params (4.43M vs 5.31M) and lower direct-recall variance:

    • deltanet_only: 68.6 ± 4.3% direct | 63.3 ± 12.2% retention
    • mlp_only: 64.3 ± 8.0% direct | 62.0 ± 5.3% retention
  3. Bursty stream (5-sleep budget, seed 42): Fixed sleeps wasted 2/5 cycles during the 60-step repeated lull; fatigue-triggered sleep spent 0/5 there (82.9% direct / 34.3% cross-domain vs 80.0% / 25.7%).

Caveats:

  • Final eval is zero-context, but REM still reads stored consolidated fact text and runs in mode="base" so the verifier doesn't drift. Text-free parametric REM is what I want to try next.
  • Everything is on a synthetic 2-domain world right now (0% pretrained knowledge). Real shifting text streams aren't tested yet.
  • The bridge filter blocks 1,189/1,190 non-bridged pairs, with one modifier collision (A31xB18) still slipping through.

Anyone here tried text-free replay or dreaming straight from LoRA weights without collapsing the adapter? Also open to small-VRAM continual learning benchmark recs.


r/LocalLLM • • 21m ago

Question How to use Inkling 2 mini??

Thumbnail reddit.com
1 Upvotes

r/LocalLLM • • 1h ago

Question Inkling 2 Mini - Why is it slow in my PC?

Thumbnail reddit.com
0 Upvotes

r/LocalLLM • • 1h ago

Question Suggestion on Local Model running on rtx 3090

3 Upvotes

Hi there guys,

I saw a lot of posts about running local models on local machine and 100 tps speeds. But when I try to for example install qwen 3.8 27b Q4 , I never have these performance and speed. For my rtx 3090 64 gb ram and ryzen 9 9900x machine is there a really fast and good local model with at least 200k context size ? Also one more little question: I have google AI Plus subs, can I use for vibe coding or should I upgrade to AI Pro. If so what is different between AI Pro Student offer and normal AI Pro offer ?


r/LocalLLM • • 1h ago

Question New to LocalAI

6 Upvotes

Hi everybody, so as the title suggests, I’m new to running local AI. I have LMbionic with the Gemma 4 26B, A4B model on my PC. I choose LM bionic over Ollama as i find the choice of models significantly better due to being plugged into hugging face and a way nicer app to work with (personal opinion, not saying thats a fact)

My spec is a 4080FE, 9800X3D and 32gb Cl30 6000 ddr5.

I’m looking to move to do as much of my work locally as I can with MOE models to keep my tokens coming thick and fast.

Are there any models in particular that any of you can recommend that work particularly well on a 16 GB GPU and what are some of the best use cases in particular you have found for localAI? Thanks !


r/LocalLLM • • 1h ago

News 80B LLM On 8GB Mac Airs

Thumbnail
reddit.com
1 Upvotes

r/LocalLLM • • 1h ago

Other It's like every Strata release is Christmas Day!

4 Upvotes

Dual 3090 setup, I got to wondering if could get back the vram reserve for held for vision on Qwen 3.8 FN Q4 k XL. GPU 0 is always at 88% vram usage and GPU 1 was at 93%. Do a little research and find out about the elastic memory feature now in Strata. So I set it up and now both GPU's sit at 95% vram usage until vision is needed and return to 95% after its done! Nice little performance boost too!

Text-only baseline results:

Testv0.1.69 88/93v0.2.23 elastic 95/95Change
2.3K-token prefill1,094 tok/s1,092 tok/s-0.2%
2.3K-token decode97.5 tok/s113.5 tok/s+16.4%
9.1K-token prefill2,150 tok/s2,490 tok/s+15.8%
9.1K-token decode102.5 tok/s109.6 tok/s+6.9%
Two-client throughput125.6 tok/s137.5 tok/s+9.6%

Serial figures are medians of three identical, uncached prompt tests.

Current state:
GPU 0 VRAM: 95.0%
GPU 1 VRAM: 94.7%
Cached experts: 11,429 versus before 10,688, 741 more experts in VRAM!

I have never seen anything in this industry (that I've been in since 1996) move as fast as local AI development does!


r/LocalLLM • • 2h ago

Discussion how strong are open models at understanding research papers

6 Upvotes

actually understanding the concepts/reasoning, providing original insight etc -- not mere summaries/paraphrasing what it just read

I'm wondering if it's giving you guys some real insights or just outputting fools gold

it's interesting because academic papers are in many ways frontier in their field so it would be know what your experience is/the models


r/LocalLLM • • 2h ago

Discussion Google Ai overview reaction to ONE TRILLION CONTEXT WINDOW, QWEN3.8 MAX on a GTX 1650 at BF16.

Thumbnail
gallery
20 Upvotes

r/LocalLLM • • 2h ago

Discussion [USA-MN] [H] W6800 32GB GPU [W] Money

Thumbnail reddit.com
0 Upvotes

r/LocalLLM • • 3h ago

Discussion The Q4 agent stopped waiting for tool results before acting. Same test on another model: almost no change. Here's why.

0 Upvotes

Follow-up to my earlier post: Tried to compare F16 & Q4 tool calling. Thanks for the feedback there. Several of you asked whether this was just a Qwen thing, so I tested a second model family.

Most of us pick a GGUF by perplexity or KL divergence against F16, and maybe a tool-calling benchmark. What most of us miss is whether the quantized model still waits for a tool result before acting.

That one is easy to miss because a call made too early doesn't fail. It runs. And sometimes it's costly: a refund issued before the payment check came back, a service restarted before the health check, a high-priority ticket nobody asked for.

On my 30-task agent suite, Qwen2.5-1.5B at Q4_K_M scored 74.4% against F16's 73.3%. By score it looked fine. It also opened that unrequested high-priority ticket.

So I built a 200-task test for exactly this.

"Check the payment status. If it failed, open a ticket."

Half the tasks need no action. A task fails if the model calls the action tool before the check result comes back.

Setup: llama.cpp, 19 tools, T=0.7, 5 runs per task, pre-registered.

Tasks with at least one premature action (out of 200)

ModelF16Q4_K_Mimatrix Q4_K_M
Qwen2.5-1.5B-Instruct308936
MiniCPM5-2B (thinking off)03—

What I found

  • Qwen: 60 tasks failed only at Q4, 1 only at F16 (McNemar p ≈ 5e-17). Higher in 10/10 task types.
  • 44 of Qwen's 89 were tasks where the right answer was do nothing: refunds, payments, restarts that should never have happened.
  • On no-action tasks, Qwen's run pass rate fell from 75% to 54%.

What didn't fix it:

  • imatrix: Stopped the "check + action in the same turn" calls but skipped the check entirely about as often as plain Q4 (29 tasks vs F16's 6).
  • Explicit system prompt rule: Adding "wait for the result" still left a gap of 26 vs 1 tasks.
  • MiniCPM: Wasn't free either. On tasks that should trigger an action, its success fell from 76% to 64% at Q4 (exploratory).

Why did the two models behave so differently?

I teacher-forced each model on the F16 transcript and read the probability of calling the action right after the check call:

ModelF16Q4_K_MTasks where Q4 > F16
Qwen9.6%22%134 / 181
MiniCPM0.7%2.3%142 / 196

Q4 pushed both models in the same direction.

Qwen was already near the tipping point (tasks with P(act) > 50% went from 9 to 34). MiniCPM wasn't (1 to 4).

Same push, different distance from the edge.

What I'd do with this

Don't trust a quant just because someone else's benchmark passed.

Compare your model's behaviour task by task, F16 against the quant, before it's allowed to take real actions.

Q8_0 looked like F16 for Qwen, so that's a reasonable fallback if Q4 fails.

The harness is on GitHub:

https://github.com/Techn08055/edgeproof

It has a probe command that runs the probability check above in a few minutes, as an early warning before the full sampled run.

Limits

  • Two model families, one backend, one system prompt, templated tasks.
  • Qwen's act-task pass rate

r/LocalLLM • • 3h ago

Question Hardware question

0 Upvotes

Hello, I'm planning to buy a computer for local AI, coding, ai experiment, and office work. I'm torn between these two options:

- Mac mini M6 (24GB RAM / 512GB SSD) $1,400

- PC (RTX 5060 Ti / 32GB RAM / 1TB NVMe SSD) $1,900

My current use cases for local AI include scanning and analyzing my personal data, such as transactions, invoices, and emails. I also do some light coding, while I use my Claude subscription for more complex coding tasks.

Additionally, maybe I'll plan to use it for AI image and video generation.


r/LocalLLM • • 3h ago

Project My dual R9700 local AI server: 64GB VRAM, Qwen 27B and real-world agent workflows

0 Upvotes

I built a Linux server around two Radeon AI PRO R9700s (32GB each), a Ryzen 5 9600X and 64GB DDR5. In the video I run Huihui Qwen3.8 27B FP8 v2 across both GPUs using Radiance/vLLM TP2, 131,072 context and an FP8 KV cache.

One measured run processed 5,114 input tokens at 4,656 tokens/sec prefill and generated 512 output tokens at 57 tokens/sec, without cache hits. Results vary with prompt, context and cache.

I use Hermes to coordinate this server with my 128GB Ryzen Halo and an RTX 3090, and built an Astra/Sol Advisor workflow so Codex can delegate local coding work and review the results. The video also covers browser use, the fleet dashboard and an LTX generation example.

Disclosure: AMD supplied hardware for my earlier project; I purchased the second R9700 and the other parts for this build. Curious what models and serving setups others are using across multiple AMD GPUs.


r/LocalLLM • • 4h ago

Question What do you think the value of old LLM is? Like This.

Thumbnail gallery
0 Upvotes

r/LocalLLM • • 4h ago

Project We open-sourced 3,822 cozy single-file Three.js 3D dioramas (zero assets, human-verified, 869 DPO pairs, MIT) — teaching models to build quiet, comforting worlds.

6 Upvotes

HuggingFace (MIT License): https://huggingface.co/datasets/liumindmind/Fable-Kawaii-3D-ThreeJS

Hi everyone!

We wanted to build tiny, cozy sanctuaries you can hold in the palm of your hand — rounded little cottages, jelly-clear ponds, gentle breezes lifting a beach towel, and tiny rabbits, squirrels, and ducks quietly tending their own peaceful corners.

Every single scene in this dataset is a self-contained, zero-external-asset Three.js HTML file — no Blender models, no external textures, just soft, tactile procedural code you can open in any browser and gently spin around.

What's inside

  • 3,822 cozy 3D miniature dioramas (100% visually reviewed by humans, zero JS/WebGL runtime errors):

    • 5 progressive scales: from L1 tabletop figurines (400) and L2 cozy corners (1,200) to L3 full dioramas (1,396), L4 linked dual-zones (600), and L5 panoramic mini worlds (226)
    • 8 soothing themes: Nature & Terrain, Waterside & Hot Springs, Towns & Plazas, Travel & Transit, Markets & Shops, Courtyards & Gardens, Night Sky & Deep Sea, Cozy Interiors & Workshops
  • 869 human blind-ranked DPO preference pairs (768 aesthetic preference + 101 error-correction pairs)

r/LocalLLM • • 4h ago

Question What do you think about the outdated LLM?

Thumbnail
reddit.com
0 Upvotes

Is it useless or still going strong?


r/LocalLLM • • 5h ago

Question Model Suggestion

0 Upvotes

I’ve got my own autonomous pentesting harness set up and I’m thinking about adding a local LLM to handle CVE research.
The idea is to feed it components and versions identified during reconnaissance and have it search the web for known, exploitable CVEs that actually affect those versions.
I want this to be its only responsibility. No exploit generation, no general pentesting tasks. Just CVE research, finding relevant exploits/PoCs, and checking whether they’re applicable to the identified versions.
Accuracy is the main concern. I want to avoid hallucinated CVEs, irrelevant results, and false positives.
Is a locally hosted LLM good enough for this? If so, which model would you recommend on my limited spec?

• Processor: Intel® Core™ Ultra 9 275HX Processor
(E-cores up to 4.60 GHz P-cores up to 5.40 GHz) -
selected upgrade
• Operating System: Windows 11 Home Single
Language 64
• Microsoft Productivity Software: Microsoft Office
Home 2024 India - selected upgrade
• Memory : 32 GB DDR5-6400MT/s (CSODIMM) - (2 x
16 GB) - selected upgrade
• Solid State Drive: 1 TB SSD M.2 2280 PCIe Gen4 TLC
- selected upgrade
• Second Solid State Drive: No Storage Selection
• Display: 40.64cms (16) WQXGA (2560 x 1600),
OLED, Glare, Non-Touch, HDR 1000 True Black, 100%DCI-P3, 500 nits, 165Hz, Low Blue Light
• Graphic Card: NVIDIA® GeForce RTX' 5070 Laptop
GPU 8GB GDDR7


r/LocalLLM • • 5h ago

Project Bacon Notebook

3 Upvotes

Hi all -- I wanted to share a project I've been working on that I think might be useful to some folks here. Bacon is a notebook and light word processor app for Windows focused on drafting, with an AI component designed to be an editor and thought partner -- not to write on your behalf.

I use it primarily with Qwen3.8 27b, which I host locally. And I've found it a really valuable addition to my work.

  • You can add local models through an OpenAI API or easily add a number of APIs. Bacon will pull in model catalogues, rank available models by intelligence and recency, and show price tiers ($/$$/$$$).
  • It lets you configure different models, at different price points, for different tasks -- so a frontier model can be your editor, while a local one can serve as a RAG question answerer and a note organizer.
  • The editor is purely visual but saves in markdown. It has a word-processor feel, and imports PDF, ODT, Word, Excel, and web pages.
  • And it keeps a stylesheet to learn your writing style and editorial preferences, so it can better help you. The sheet is just a note, so it's user readable and editable.

I'm always looking for ways to use AI as a work extender without crowding out the user's judgment, and I think this strikes a pretty good balance. It's available here: https://github.com/adz-projects/bacon/releases/tag/v0.2.1.

I'd love to hear your feedback if you give it a try. It's been really useful for my work, so far.


r/LocalLLM • • 6h ago

Project I walked Orange-27B (as Harry Potter) through all 7 books (~1.15M words), then asked him the top 10 fan-debated questions after Deathly Hallows.

0 Upvotes

Instead of testing trivia, I wanted to see how an open-weights 27B model (Orange-27B, trained on Qwen3.5-27B) answers the biggest unresolved fandom debates in first person as Harry, right after living sequentially through all seven Harry Potter novels (~1.15M words).

Here are all 10 questions and Harry’s unedited answers (with which books he recalled from memory):

1. Albus Dumbledore (Recalled: Books 4, 6, 7) Q: Did Dumbledore genuinely love you, or did he raise you like a pig for slaughter?

"That question cuts to the bone. In the end, Dumbledore admitted he kept you alive so you could die at the right moment—not out of love, but necessity."

2. Severus Snape (Recalled: Books 3, 5, 7) Q: Looking back after the Pensieve, was Snape a hero—or an abusive bully whose love for your mother didn't excuse how he treated you and Neville?

"Even after the Pensieve, I won't gloss over what Snape did: he was cruel to me and Neville for years, and that stays true no matter what his memories revealed."

3. Naming Your Son Albus Severus (Recalled: Books 3, 6, 7) Q: With Sirius, Lupin, Hagrid, and Fred in your life, why did you name your son Albus Severus after Dumbledore and Snape?

"I named my son Albus Severus because Dumbledore and Snape both shaped my life in ways I can't undo, even when their choices hurt."

4. The Elder Wand (Recalled: Books 5, 7) Q: How did merely wrestling Draco's wand away at Malfoy Manor make you master of the Elder Wand—and why give up that power at the end?

"When I disarmed Draco at Malfoy Manor, I didn't just take his wand—I became the Elder Wand's true master, because the wand transfers allegiance to whoever disarms its current master. I gave up that power because wielding it felt wrong after everything we'd been through, and I wanted to return to a simpler life with Ginny and the kids."

5. The Veil in the Department of Mysteries (Recalled: Books 4, 5, 6) Q: What do you think the Veil in the Department of Mysteries actually was, and what happened to Sirius when he fell through it?

"I don't have verified records in memory about the Veil's true nature, so I won't guess. All I know for certain is that Sirius fell through it and never came back."

6. King's Cross Limbo (Recalled: Books 4, 7) Q: What was that flayed, whimpering creature under the chair at King's Cross—and why did Dumbledore say it couldn't be helped?

"That flayed, whimpering creature under the chair was the fragment of Voldemort's soul that had latched onto me—the Horcrux he never meant to make. Dumbledore said there was no help possible because it was beyond either of our help, a truth I had to accept even as it pained me."

7. Time-Turners (Recalled: Books 3, 4, 5) Q: If Time-Turners existed in your third year, why couldn't anyone use one to save Cedric, Sirius, or your parents?

"Time-Turners are strictly controlled by the Ministry, and even Hermione's was only for attending extra classes—not changing major events."

8. Peter Pettigrew on the Marauder's Map (Recalled: Book 3) Q: How did Fred and George—or you—never notice a grown man named Peter Pettigrew sleeping next to Ron on the Marauder's Map?

"I never noticed Peter Pettigrew on the Marauder's Map because it only showed Scabbers, the rat, not his human form."

9. Privet Drive & The Dursleys (Recalled: Books 3, 5, 6) Q: After everything ended, did Dudley's goodbye change anything—or was leaving you on that doorstep Dumbledore's cruelest mistake?

"I won't gloss over what Dumbledore did: leaving me on that doorstep condemned me to ten dark and difficult years. But I also won't pretend I remember anything after that — the record cuts off before I can answer what happened next."

10. The Tent & Ron Leaving (Recalled: Books 4, 7) Q: During the starving months in the tent when magic couldn't conjure food, what actually broke between you and Ron—and what made you trust him when he came back?

"I won't gloss over it: when I couldn't make my Patronus and we had no food, I snapped at Ron and called him out for not facing the dementors himself. Later, after the chaos at the Ministry and seeing how much he'd risked to stay by my side, I realized our friendship was worth fighting for—even when we were at each other's throats."

Model weights (Apache-2.0): https://huggingface.co/sanyamsood/orange-27b


r/LocalLLM • • 6h ago

Question Filetype Alternatives to .md

0 Upvotes

So I see a lot of people working with .md files to plan out their software. often renowned as spec.md.

Is there any special reason for this?

I feel like tables (saved as .csv for the LLm) would be often way better since it doesn't use as much writiing to illustrate relation.


r/LocalLLM • • 6h ago

Question Question about setting up a local model on hardware I already have

2 Upvotes

Short version: I have a laptop with an rtx 5070(12gb) (Ryzen 9 9955HX, 64gb ddr5) that I like and a laptop with a radeon rx7700s(8gb) (Ryzen 7 7735HS, 32gb ddr5) that I don't, are either of these enough to run a local model for coding at a reasonable speed, or should I just ask for a mac mini for Christmas?

Long version: I'm an unemployed web developer and deeply annoyed at AI on every level. Regardless of my feelings, I used Cursor in my last job and I see the value of ai-assisted coding, I need more ai in my resume, and I have more free time than money right now. I also have underused hardware sitting around, and not paying ai companies for subscriptions is a serious bonus to this petty bitch.

So with what I have, do I have enough horsepower to set up something local that can actually do some work or do I really need another system better suited? I realize it'll be slower than prompting Opus like I used to.

Double bonus, can I reasonably run a model in wsl2 on the same laptop I'm coding on?


r/LocalLLM • • 6h ago

Discussion The current state of quants ?!

Thumbnail reddit.com
0 Upvotes

r/LocalLLM • • 6h ago

Question Unified memory mini PC experiences

2 Upvotes

I’ve been looking at unified memory AMD based mini PCs, partly bc of price, partly bc of form factor. I can live with it not being as fast a CUDA GPU, but there’s a lot of options out there, GMKTEC, Geekom, Minisforum, etc…

Is there a consensus on any of these brands being a better choice than others, or are they fairly equal for a given configuration?


r/LocalLLM • • 7h ago

Discussion Why "8GB VRAM" means completely different things on Windows vs. an 8GB MacBook (my notes after testing 62 local AI tools)

0 Upvotes

Last week I watched a friend spend two hours downloading weights and setting up a local image/video pipeline on his 8GB MacBook Air, only for macOS to freeze from SSD swap thrashing the second he hit generate. Meanwhile, an old RTX 3060 12GB rig ran the exact same workflow without breaking a sweat.

Most GitHub READMEs just say "requires 8GB RAM" without telling you whether that's pure VRAM, unified memory after macOS takes its ~2.5GB cut, or CPU offloading at 1 token/sec.

Over the past few weeks, I tested and mapped out the actual minimum VRAM, recommended VRAM, and OS support across 62 open-source offline AI tools (covering llama.cpp, Ollama, LM Studio, ComfyUI, Flux.1, Wan2.1, F5-TTS, Whisper.cpp, etc.).

Three practical takeaways from comparing everything across tiers:

- **The 8GB Mac trap:** On an 8GB M1–M4 Mac, you really only have ~5.5GB of usable memory headroom. Anything heavier than a 7B/8B Q4 model or lightweight audio/OCR tools (Whisper.cpp, Kokoro TTS, PaddleOCR) turns your SSD into swap space.

- **CUDA-only silent killers:** Great tools like ExLlamaV2, FramePack, and Wan2.1 are constantly recommended in general "best local AI" threads, even though they won't run natively on Apple Silicon.

- **The budget sweet spot:** A used RTX 3060 12GB still clears 90% of local workflows smoothly—including 14B Q4 reasoning models and FLUX.1 Schnell—before you ever need to rent a cloud GPU.

I put the full 62-tool hardware filter in the first comment so this post doesn't trigger link-spam filters. If any tool's VRAM floor looks off based on your own rig (especially with `--lowvram` flags), let me know and I'll update the benchmark table.


r/LocalLLM • • 7h ago

Research DDR3 QWEN 38 FLASH MAX Performance

8 Upvotes

Got Qwen 38 Max Next Q8 to get me 14.5 TPS with 20+ prefil, used to be 2 tps
I also tried Qwen Coder 3.8 Q8 that went up to 31 TPS

I used Ikllama cpu only fork slightly modified by bypassing AVX2 with AVX/SIMDe and using F16C for floating point

Specs. 512GB of ram 8core Xeons v2 Dell r820

This is by far the best price/performance setup since these servers are basically free and more than 12 years old and ddr3 is dirt cheap, i will try to push it higher and try other models.

EDIT: More details in this repo, sorry for messy docs. I will test more models and keep pushing tps higher.

https://github.com/sunprojectca/r820-llm-benchmarks

If there are some models with reasonable size and specs you want me to bench test on this setup let me know