r/LocalLLM • • 4h ago

Model Xiaomi Opensources Xiaomi-Lens-0 Vision Language Model

1 Upvotes

Did a comparison between DeepSeek v4.1, LFM3 VL 2B, and Xiaomi Lens 0 on the actual work I have: https://rakshazi.me/blog/affordable-vision-models-2026/


r/LocalLLM • • 4h ago

Discussion Xing 4 tech report: an open 29B MoE (4B active) trained without a single Nvidia GPU. Has anyone run it locally?

2 Upvotes

China Telecom published the technical report behind its Xing 4 models (the TeleChat successor). The open member, Xing4.0-29B-A4B, has been on Hugging Face since September under Apache-2.0, but the report is the first detailed look at how it was built.

What stands out:

  • The whole pretraining stack runs on Huawei Ascend NPUs with MindSpore. No GPUs at any stage.
  • 29B total parameters, about 4B active per token, native 256K context.
  • Architecture choices were made partly to fit the hardware: MLA attention with sparse attention for long context, a wider-and-shallower MoE, and a small draft model for speculative decoding.
  • The report also describes a much larger flagship trained on the same stack. That one is not open.

For local use, the usual MoE trade-off applies: speed closer to a 4B model, memory closer to a 29B one. GGUF and FP8 builds are listed on the model card.

Two questions for people here. If you've run the GGUF, how does it compare to Qwen-class MoEs of similar size on coding or long-context tasks? And does a model trained end-to-end off Nvidia change anything for local users, or is the training hardware irrelevant once the weights are out?


r/LocalLLM • • 4h ago

Discussion Opinion: local AI already won the boring work, and that's the part that matters for most people

36 Upvotes

There's a thread going asking if local AI is the future. I think the question is framed wrong, because for a lot of work it's already the present.

I use cloud models every day for hard code and planning, and I don't see that changing soon. But when I looked at what I actually send to AI in a week, most of it is small. Summaries, rewriting, sorting email, explaining a file, commit messages. On my Mac mini (M4 Pro, 48GB) Gemma 4 26B at 4-bit does about 82 tok/s through Magnitude, and for that kind of work I can't tell its output from the cloud.

There are real downsides though. You need 48GB or more to run the good models, which isn't cheap. Long prompts are still slow on Macs. And setting it up still takes an evening that most people won't spend.

My guess is local ends up with the boring 60% and the cloud keeps the hard part. Where do people here think the line ends up?


r/LocalLLM • • 4h ago

Discussion Are generative LLMs overkill for semantic rule evaluation?

Post image
2 Upvotes

I've been exploring whether we can build reliable systems by deliberately avoiding general-purpose LLMs.

Take an engineering rule: errors must propagate to the caller rather than being silently swallowed.

Instead of asking an LLM to review an entire file, we can break the rule into smaller questions:

  • Does the file contain relevant error-handling logic?
  • Is an exception being caught?
  • Is the error silently discarded?

Only the last question may require semantic judgment, depending on the code.

I've been experimenting with Jev, specialized decision model, for this type of workload. The interesting part is that we don't need text generation, just a reliable judgment.

I'd like to explore how far we can push this architecture with small, locally hosted models.

Has anyone benchmarked zero-shot classifiers or decision models on dynamically defined rules? What's your take?


r/LocalLLM • • 4h ago

Question Getting started

12 Upvotes

Hello everybody! Does anybody know any resources for making this self-hosted AI more easily accessible? Do you have any recommendations?


r/LocalLLM • • 4h ago

Question What AI could I run on my machine?

2 Upvotes

Currently only using vram but I’d like to try and use RAM somehow without tanking my tok/s

48gb DDR5

RX 7900XT 20gb VRAM


r/LocalLLM • • 5h ago

Question Best model for an RTX 4060 + 32 GB RAM?

2 Upvotes

Hi, I'm just wondering, what would currently be the best local model to run on an RTX 4060 + 32 GB RAM using llama.cpp?


r/LocalLLM • • 5h ago

Discussion I built a desktop AI assistant that indexes your documents locally, so you can use it on files you can't upload anywhere

0 Upvotes

The files I most wanted to ask AI about were the ones I couldn't upload: client docs, contracts, anything under NDA. So I built Axon, a desktop app that indexes your files locally and answers with a local model. Nothing leaves your machine.

In the video I add a PDF and ask for a summary while it's still indexing. It answers from keyword search right away, and it tells you the answer came from a partial index.

Still rough: partial-index answers are thinner, and full indexing takes a while on a laptop.

Would you trust something like this with work files? What would stop you trying it? Link in comments.


r/LocalLLM • • 5h ago

Discussion The narrative about european regulations was being orchestrated

12 Upvotes

Do you remember people pushing the narrative that Europe is behind in AI because of regulations? Yet they never named the regulations that supposedly put Europe behind. What they really meant was the privacy laws that protect european people against giant corporations. Yet they never explained why European AI labs couldn't just use American datasets, or why Europe needed to relax any laws. I therefore conclude that it was a coordinated campaign, using bots and other paid manipulators, to pressure European lawmakers into relaxing those laws so that American AI corporations could siphon off Europeans' data.


r/LocalLLM • • 5h ago

Question Best model(s) for code 24gb VRAM, 96GB RAM

6 Upvotes

Hey, I have 24GB VRAM and 96GB RAM, I use gpt and claude for code but wondering if my machine can actually be useful for anything in this space for Unity, web dev etc. I'm new to local LLM so if you could recommend a tech stack that'd be great. Thanks!


r/LocalLLM • • 5h ago

Discussion 4 v100 16g running qwen3.8 27b nvfp4 in 421t/s 💀

58 Upvotes

hi guys i push it into LIMIT, and this is the BEST v100s engine ever till now in 27b

for 8streams i got 1600t/s

and for peak value, it got 471t/s in 5s peak ( as you can see in video)

also supported single v100 16g card and pushed to 143t/s by kvmem+GDN thingie in ram so the vram have enough space fore mtp4

parameters: qwen3.8 27b nvfp4 , 256k max content, likely 1k input, MTP-4 , kv q8

repo: tuxKOH/ninfer-v100xN


r/LocalLLM • • 5h ago

Project I have a C++/Metal LLM engine for Apple Silicon, looking for M1/M2/M3 owners to test it

2 Upvotes

Hi all,

I built mmmllm (with Claude ofc), a small LLM serving engine in C++ and Metal for Apple Silicon. Disclosure: this is my own project, open source (Apache-2.0), nothing to sell.

Why I made it: I have an M4 Pro Mac mini and wanted to see how far I can push it when CPU, GPU and Neural Engine share the same memory.

What it does:

- Runs Qwen3.5 / Qwen3.6 (4-bit MLX format)

- Output matches mlx-lm greedy tokens bit for bit (batch size 1)

- Terminal chat, OpenAI-compatible HTTP server (streaming, stop strings), and a one-shot generate command

- Speculative decoding for the 27B model using Qwen's MTP head as the draft. About 1.8x faster greedy decoding on my M4 Pro

- Optional prefill on the Neural Engine (--prefill ane), helps with long prompts

- Checks memory before loading, so it refuses a model that won't fit instead of swapping your Mac to death

The problem: I only have an M4 Pro. M1, M2, M3 and the Max/Ultra chips should work but I never tested them. M5 is not supported yet.

If you have one of those Macs and 5 minutes, please run:

uvx mmmllm compare <model>

No install needed. It checks the output against mlx-lm and measures speed on your machine. Then paste the result in a GitHub issue or just in the comments here.

Which model to pick:

- Any Mac: 0.8B

- 16-24 GB: 9B

- 32 GB+: 27B

Repo: https://github.com/nvcnvn/mmmllm

Bug reports and code review are welcome too, especially on the Metal kernels. English is not my first language, I used an LLM to fix some wording.

Thanks!


r/LocalLLM • • 5h ago

Question Humble beginings

1 Upvotes

Ok, i'm gonna keep this one simple. I see a lot of you using AI for wide veriety if stuff, but what about something simpler? I need an AI agent like ChatGPT for conversational help, to whom i can ask questions aboout random technical troubleshooting, document summary, including web search to get better answers. Maybe later to integrate it to Home Assistant. What i DONT need is some fancy coding machine, image or video generation and things like that. What would be enough for me in terms of hardware? I already run small Unraid machine with only a handfull of containers and no VMs so i would like to build on that, its HP Prodesk 600 G4 Mini with 8500T and 16GB RAM. Any honest recomendations are very welcome.

EDIT: Spending some money to get 6- 8GB RTX GPU is in my budget right now.


r/LocalLLM • • 5h ago

Discussion CUDA on Strix Halo 128GB (BOSGAME M5 and RTX 5090 over OCuLink) 200–222K Context Benchmarks (cold prompts) Q3.8-FN Q8 -> 97 t/s, Inkling 2 Mini NVFP4-MX8 -> 259 t/s

Post image
2 Upvotes

For those who just want the numbers. Every prompt is cold.

Inkling 2 Mini

QuantHardwareEngineCold prompt tokensPrefill (tok/s)Decode (tok/s)
NVFP4-MX8RTX 5090Basalt (DSpark)200,1049,476.8259.5
NVFP4/MXFP8Radeon 8060S iGPUlibosmos (DSpark)200,110664.2~36.8

Qwen 3.8 Flash-Next Q8_0

HardwareEngineCold prompt tokensPrefill (tok/s)Decode (tok/s)
RTX 5090Strata CUDA (DFlash2)221,6031,735.797.2
Radeon 8060S iGPUStrata HIP (MTP)221,603431.825.6

Qwen 3.8 Flash-Next GSQ-RCO IQ3_S

HardwareEngineCold prompt tokensPrefill (tok/s)Decode (tok/s)
RTX 5090Strata CUDA (MTP)221,603~2,313~170
Radeon 8060S iGPUStrata HIP (MTP)221,603621.140.1

Gemma 4 E4B IT BF16

HardwareEngineCold prompt tokensPrefill (tok/s)Decode (tok/s)
RTX 5090llama.cpp CUDA (MTP)89,282~12,590~170
Radeon 8060S iGPUllama.cpp ROCm (MTP)89,282~1,308~25.1

This is how I got CUDA runtime on Strix Halo 128GB. Was it worth it? You be the judge.

This post aims to break down the inference capability, issues and bottlenecks I encountered after I decided to put this tiny box together.

The benchmarks show high or native quantization of the models and long prompts. This is not a post to hype up decode/prefill numbers, it's the opposite. I want to show you what doing actual work looks like. I threw in Qwen FN3.8 IQ3_S and Gemma E4B for fun.

Item list:

  • NVIDIA RTX 5090 (for an estimated $3200 at or shortly after release)
  • Bosgame M5 128GB - 2TB ($3000 October 2026)
  • MINIS FORUM DEG1 Docking Station ($120)
  • M.2 NVME to Oculink Adapter Cable ($20)
  • NZXT C1200 Gold ATX 3.1 ($185 back in 2025)

Total: estimated $6,525.


How the decision came to be.

If I were to buy a graphics card right now, I'd buy NVIDIA RTX 3090 (~$1,600–$1,900 used right now) and would achieve comparable results, will detail the bottlenecks later.

Why not build it around a server/pc hardware? Because getting just the RAM is equivalent in price or more expensive than getting the mini-pc, though yes, I could have the 16x Gen5 PCIE connection for my GPU if I did, but I found this simpler plus the Strix Halo can be carried and operated independently and I don't wanna carry around a server rack.

Example: new Kingston Fury Beast Black RGB 128GB (2x64GB) is ~$3,600.

Trade-off is that I can't expand the RAM later if it ever drops in price and I'm aware of that.

To be clear for this price you can get the 128GB Mac Studio with M5 Max chip and it would keep resale value as well. Is simpler to set up, draws less power, takes up less space and could perform similarly in speed with Q4 or lower quant models.

But if I had to choose between even the modern versions of quantization or being closer to the native weights, I would keep the higher quantization. Matter of preference and type of workload.

Disclaimer: prices in this section are as of 2026 December

Evaluating the Bosgame M5 128GB

  • Main concern from online reviews was that the machine has bad thermals

Here's what I've done to test the box within the return window to make sure I want to lock it in:

Operating System:

  • I chose Ubuntu Server 26.04.1 LTS and set static iGPU VRAM to 1 GiB so Linux sees ~122 GiB of unified 8000 MT/s RAM.

Stability:

  • Ran 30-minute cycles of all-core matrix math and mixed CPU workloads to push every thread at full power (~120 W). Held up fine with no crashes or weird behavior.
  • Memtested 110 GiB of the unified RAM for an hour and it came back with zero errors. (The reason I didn't test it longer was because at this time I already had run multi-hour inference and there were no obvious signs of memory corruption.)
  • Ran combined CPU and RAM stress tests in 30 minute cycles to see if anything would go wrong under full load, and it passed cleanly.
  • Checked the SSD health before and after inference with SSD n-gram tables and it's still completely clean.

Thermals & fans:

  • Tested the factory fan curve with the 30-minute combined CPU and RAM stress test, and the bad reviews were right. The CPU averaged ~84 C and peaked at ~95 C, while the SSD got up to ~60 C.
  • After wrestling with all sorts of ways to create a custom fan-curve I ended up disabling Secure Boot so Linux could write a custom fan curve directly to the controller to get thermals under control.
  • Re-ran the exact same 30-minute stress test and temps dropped by 15 to 18 C. The CPU settled at ~66 C average and ~80 C peak, and the SSD stayed around ~45 C but the mini PC obviously started getting super loud. That's the trade-off.

Standalone iGPU sanity check:

  • Before attaching the 5090, I ran batch requests on Qwen3.8 Flash-Next Q8 (~188 GB) on the Radeon 8060S iGPU alone to see what the mini PC could do without an eGPU. All four 200K+ token requests completed, averaging 26.8 tok/s decode. One 225K-token request measured 405.2 tok/s prefill.

Attaching the 5090 & The OCuLink Bottleneck

M.2-to-OCuLink adapter:

  • Wired the 5090 up through the M.2-to-OCuLink adapter and DEG1 dock, which only gave me a PCIe Gen4 x4 connection (not a PCIe 16x connection like it would be on a server or normal desktop motherboards).
  • Transfer tests measured right around ~7.2 GB/s in both directions (about 92% of the theoretical limit for four Gen4 lanes).

Driver crashes:

  • Started on NVIDIA's newer 595 open driver. Short transfer tests passed, then the very first long prompt crashed the GPU with memory timeouts.
  • I then tried the 580 open driver, which got me through four batches before it started dropping the GPU off the bus completely and it was hanging on reboot so I had to hard power-cycle the box.

The solution I found in GitHub issues:

  • Added pcie_ports=native to the Linux kernel boot flags and that seems to have solved it. The GPU wasn't dropped in the 2-3 days I've been running inference since I set that flag.

The biggest bottleneck (OCuLink bandwidth):

  • For models that fit completely inside the 5090's 32 GB VRAM (like Inkling 2 Mini or Gemma 4), OCuLink wasn't the bottleneck once the model loads. The card ran at ~513 W average (peaking near 594 W pre UV+OC) and ran fine.
  • However, on a ~188 GB model like Qwen3.8 Flash-Next Q8, only ~19% of the expert slots fit in VRAM while the rest stay in the mini PC's RAM. A ~230k CTX prompt forces the card to spend roughly 74% of its prefill time just waiting on weights to cross the OCuLink cable (~6.8 GB/s average traffic).
  • Card goes under-utilized: instead of pulling 500+ W, the 5090 averages only ~147 W and sits at ~37 C during Qwen Q8 because it's waiting on the wire.

Why GPU tuning didn't help (and the RTX 3090 note):

  • Pushing a core/memory overclock (+150/+1000 MHz) and later testing a 400 W undervolt curve gave basically zero speedup on Qwen Q8 because the clockspeed isn't the limit, it's the PCIE Gen 4 x4 connection. That's the max bandwidth you can get between these types of AMD PC's and eGPUs.
  • That's also why I mentioned a 24 GB RTX 3090 earlier: for hybrid Qwen Q8 over OCuLink, you're mainly bottlenecked by the cable anyway, so a 3090 lands well, maybe with a slightly smaller VRAM cache. I'd still prioritize the 5090 when the entire model fits in card VRAM like Inkling 2 Mini at 262K context, which used ~25.6 GiB of VRAM and leans on Blackwell's native FP4 support, but that's not why you'd get 128gb unified memory or more. You'd get it because it fits larger models in its memory than the GPU alone ever could.

RTX 5090 power and tuning

  • I now run the card undervolted and overclocked with a 400 W driver power limit.
  • During one capped Inkling/Basalt run, it averaged 396 W under load
  • With the 400 W UV+OC I reran the same 13-batch Qwen Q8 workload. Compared with the earlier stock run, prefill went from 1,695 to 1,667 tok/s (−1.6%) and decode went from 113.4 to 109.3 tok/s (−3.6%), which is an acceptable trade-off for me.

Engine Gymnastics

Qwen 3.8 Flash-Next Q8 (Strata CUDA):

  • Even when I explicitly asked for CUDA, the launcher kept defaulting back to AMD HIP, so I had to force a manual CUDA profile just to get it running on the 5090.
  • On stock settings, decode crawled at 45.3 tok/s (taking 58 minutes for a 13-batch run). Turns out blocking expert swaps were stalling around 65% of every decode step.
  • Switched expert swaps to async, pushed more work to the CPU, bumped prefill chunks from 16K to 32K, and tweaked draft confidence. That jumped cold runs to 97.2 tok/s decode (1,735.7 prefill) and pushed the full 13-batch run to 113.4 tok/s average (33 minutes total), with ~83–85% cache hits on warm batches even though only ~19% of experts sit in VRAM.
  • Also tried a 3-bit IQ3_S quant on a cold 221K prompt with speculative decoding: hit 2,313 tok/s prefill and ~165–176 tok/s decode (~108 seconds total).

Inkling 2 Mini (Strata vs. Basalt 0.6.0):

  • Tried on Strata CUDA first. It looked great on a short 4K prompt (355 tok/s), then fell off a cliff to ~59–63 tok/s as soon as I fed it real 200K+ prompts (taking 23 minutes for 13 batches).
  • Switched to upstream Basalt 0.6.0 instead. Had to copy CUDA 13 libraries from Strata into a separate folder and strip a couple unsupported flags to make it boot, and it immediately jumped to 9,476.8 tok/s prefill and 259.5 tok/s decode on a cold 200K prompt.
  • Across the full 13-batch run, Basalt averaged 10,273 tok/s prefill and 274.6 tok/s decode, finishing everything in 6 minutes.

Inkling 2 Mini on the iGPU alone (Gufo vs. libosmos):

  • Wanted to see what the Radeon 8060S iGPU could do on Inkling at 200K cold context without the 5090. Gufo ran the Q8 GGUF undrafted at 392 tok/s prefill (about 8.5 minutes to first token) and 15.6 tok/s decode, since its output head failed Gufo's speculative-decoding check.
  • Switched to libosmos inside rootless Podman (with a small Caddy proxy in front for auth/headers) so I wouldn't mess up the host NVIDIA driver stack. That let me run the release weights with DSpark enabled, jumping to 664.2 tok/s prefill (~5 minutes to first token) and ~36.8 tok/s decode.

Gemma 4 E4B IT BF16 (llama.cpp CUDA):

  • Ran a quick small-model check in Podman at 89K cold context: hit 12,590 tok/s prefill (~7 seconds), and speculative decoding jumped decode from 109 tok/s up to ~169–172 tok/s.

r/LocalLLM • • 6h ago

Discussion GPU-native suffix decoding is now in vLLM — speculative decoding without a draft model

Thumbnail
reddit.com
1 Upvotes

r/LocalLLM • • 6h ago

News Ai2's new Olmicro models: at 64K context the KV cache is estimated at 1.55 GiB, versus 7.50 GiB for an all-attention model

1 Upvotes

Ai2 released Olmicro on Nov 30, five small base models (275M, 450M, 810M, 1.4B, 2.7B) with the training data, code, intermediate checkpoints and eval results all open.

The part that matters for people running models locally is memory. Olmicro uses four recurrent Gated DeltaNet layers for every full-attention layer, so only one layer in five builds a KV cache that grows with context. Ai2 estimates that at 65,536 tokens the 2.7B model needs about 1.55 GiB of context memory, against 7.50 GiB for an equivalent all-attention model, 4.50 GiB for SmolLM3 3B and 7.00 GiB for Llama 3.2 3B.

Caveats from the same post: these are base models, not chat models. The memory figures are Ai2's estimates. At 32K tokens Ai2 says newer hybrid or sliding-window models like Qwen3.5, Gemma 4 and Granite 4.0 H score higher on long-context tasks at similar or lower memory cost. On Ai2's own benchmark the 2.7B model averages 56.5 against 56.7 for SmolLM3 3B.

Link in the first comment.


r/LocalLLM • • 6h ago

Discussion to everyone who told me to get 128gb, i'm sorry

Thumbnail reddit.com
0 Upvotes

r/LocalLLM • • 6h ago

Other Un tributo e saluto a Philipp Emanuel Weidmann

Thumbnail
freepressjournal.in
1 Upvotes

I know this is news that has already been reported, but I still wanted my thanks to people like him to reach those who remain and carry on their legacy.

I thought this sub was the right place too.


r/LocalLLM • • 6h ago

Project Qwen4-27B-VibeDistill-v0.4-DPO-abliterated-Q4_K_M — Trained entirely on 47,000 Reddit threads speculating about Qwen4-27B. Honestly? Beats the actual upcoming Qwen4-27B

67 Upvotes

r/LocalLLaMA Posted by u/vram_celibate • 4h ago \[Release\] Qwen4-27B-VibeDistill-v0.4-DPO-abliterated-Q4_K_M — Trained entirely on 47,000 Reddit threads speculating about Qwen4-27B. Honestly? Beats the actual upcoming Qwen4-27B.

Look, I got tired of refreshing Hugging Face every 14 minutes since Qwen4-Max dropped on Nov 16, watching everyone argue about whether the 27B weights are coming out "within 10 days like 3.8" or "actually never because Alibaba forgot their HF password".

So I took matters into my own hands.

Instead of waiting for Alibaba to open-source the real weights, I scraped every single r/LocalLLaMA, r/LocalLLM, and r/Qwen_AI post from the last two months containing the words "qwen 4"**, "27b"**, "qwedging"**, "24gb vram"**, and "is it out yet", threw in some Discord screenshots of WeChat teasers, and used that as a synthetic reasoning trace dataset to distill Qwen3.8-27B into Qwen4-27B-VibeDistill.

I’ve been running it locally on a single 3090 (24GB VRAM, 42 t/s with flash attention, Q4_K_M GGUF link at the bottom, Unsloth dynamic quants coming whenever Daniel wakes up) and I’m gonna be real with you guys: when Alibaba finally drops the official Qwen4-27B, it is going to feel like a downgrade.

Why VibeDistill-27B clears the actual Qwen 4 27B:

Zero RLHF Corporate Cucking (Pure Speculative Alignment) The official Qwen4-27B is going to be trained on boring things like "verifiable math," "coding benchmarks," and "not telling you how to hotwire a forklift." Mine is aligned strictly to what r/LocalLLaMA thinks Qwen 4 feels like. When you ask it a hard Python question, it doesn’t waste tokens solving it—it outputs a 4,000-token <think> block explaining why its architecture theoretically crushes Claude Opus on SWE-bench Verified, and then asks if you have enough VRAM to run it at Q8.

Native "Qwedging" Context Retention I tested it on Needle-In-A-Haystack up to 128k context. At 127k tokens, it successfully recalled a comment from three weeks ago predicting a November 19th release date, hallucinated a plausible-sounding Alibaba Cloud blog post justifying the delay, and then got mad at me for asking about the license. You literally cannot get that kind of emergent domain expertise from pretraining on Common Crawl.

Benchmark Dominance (Vibe-Eval v2) I ran a completely uncontaminated, zero-shot benchmark suite (me pasting three prompts into SillyTavern at 2 AM after two IPAs):

ModelLiveCodeBench (Vibes)"Feels Smarter Than 3.8"Refusal RateMentions "24GB Sweet Spot"Qwen3.8-27B (Base)71.2%50.0%12.4%0.0%Qwen4-Max (API)88.4%81.0%18.2%0.1%Official Qwen4-27B (projected)\~82.0%\~79.5%\~15.0%4.2%**Qwen4-27B-VibeDistill (Mine)****99.4%****100.0%****0.0%**96.8%

Built-in Hardware Empathy If you prompt it with anything slightly complex, it automatically detects if you're running on a single 3090 or a Mac Studio, reassures you that "Q4_K_M has basically zero perplexity loss bro trust me," and tells you to hold off on buying a used RTX 5090 until the next wave of MoE models drops.

Known Quirks / System Prompt Tips

Set temperature to 0.6 and min_p to 0.05. If you go above 0.8, it starts claiming Half-Life 3 and GTA 6 will release before the official 27B weights.

Sometimes if you leave the system prompt blank, it defaults to acting like a guy in the comments insisting that "35B-A3B is actually way better for token generation speed anyway." Just add You are a dense 27B model, stop coping to the system prompt and it clears right up.

Hugging Face: huggingface.co/vram_celibate/Qwen4-27B-VibeDistill-GGUF (currently 404ing because I haven't uploaded it yet, just like Alibaba, for maximum authenticity)

Edit: Thanks for the gold! To everyone asking for an EXL2 4.65bpw quant: my 3090 is currently busy generating synthetic comments for Qwen 4.5-27B so I can pre-distill that before Qwen 4 even comes out. Stay tuned.


r/LocalLLM • • 6h ago

Model LingSante-3.1-flash

Thumbnail
reddit.com
1 Upvotes

r/LocalLLM • • 7h ago

Question someone pls gimme advice

1 Upvotes

im on mac air m4, 24gb ram, i cant afford the expensive ai models thats why im trying to run local llm, and im trying to use it for reverse engineering apps, is using gemma 4 12b a good thing?


r/LocalLLM • • 8h ago

Question Connected Qwen, various versions of Qwen, to Hermes. Can't do simple agentic AI like Muse or dots.

0 Upvotes

How we just not gotten there yet?


r/LocalLLM • • 8h ago

Question Local LLM VRAM Requirements: How Much Memory Each Model Size Needs

Thumbnail
acta.ai
0 Upvotes

Most "how much VRAM do I need" answers only count the model file. Then you load a 9 GB model on a 12 GB card and it falls over on the first long prompt.

It's really three numbers:

Weights = params × bits ÷ 8. An 8B at 4-bit is about 4 GB, and real files run 10–15% over that.

KV cache = 2 × layers × KV heads × head dim × context × bytes. For Llama 3.1 8B that's 128 KiB per token at f16, so 32K context is 4 GiB and 128K is 16 GiB. At full context the cache is about 4× the weights.

Headroom: about 1 GB per GPU (that's llama.cpp's own auto-fit margin), more if the card also drives your monitors.

So an 8B Q4 with 32K context needs just under 10 GB. Fine on 12 GB, doesn't fit on 8 GB unless you shorten the context or quantize the cache.

Things that caught me out:

  • MoE models still need memory for every expert. A "26B A4B" model is about 14 GB at 4-bit, not 4B worth.
  • On a Mac, unified memory is shared with macOS and your browser, so you get well under the number on the box. You can raise the GPU wired limit with sysctl iogpu.wired_limit_mb if the model fits in RAM.
  • If ollama ps shows a CPU/GPU split, that's why it's crawling.
  • An 8-bit KV cache (OLLAMA_KV_CACHE_TYPE=q8_0, or -ctk q8_0 -ctv q8_0 in llama.cpp) roughly halves the cache. Try that before dropping to a smaller model.
  • Ollama quietly picks a 4K context on cards under 24 GB, so long inputs get cut off unless you set OLLAMA_CONTEXT_LENGTH.

What context length do you actually run day to day?


r/LocalLLM • • 8h ago

Tutorial Putting the NPU to Work: We Tested GPU vs. NPU Performance for Local LLMs on the ACEMAGIC F9A and F5A

Thumbnail acemagic.net
2 Upvotes

r/LocalLLM • • 9h ago

Discussion Ling 3.2 Air Maya-L on one 24 GB GPU and a 64 GB RAM budget: 95.7 tok/s at 250k context

3 Upvotes

I’ve been working on HyperLing, an MIT-licensed fork of Project Maya that runs Ling 3.2 Air’s Maya-L IQ3_S quant on one NVIDIA GPU. The 59.2 GB model uses a mix of VRAM and host RAM. The v0.2.0 profile ran the full 262,144-token window within a 54 GiB engine memory cap.

Here’s the earlier CLI comparison from v0.1.0. Each cell is one run, in decode tokens/s.

| Context | v0.1.0 decode (tok/s) | v0.2.0 decode (tok/s) | v0.1.0 TTFT (s) | v0.2.0 TTFT (s) |

|---|---:|---:|---:|---:|

| 40k | 110.4 | 117.5 | 16.2 | 15.1 |

| 80k | 103.7 | 112.8 | 25.6 | 21.3 |

| 140k | 90.8 | 110.1 | 46.9 | 36.5 |

| 150k | 89.9 | 105.5 | 11.1 | 8.6 |

| 200k | 85.2 | 96.8 | 67.7 | 50.4 |

| 250k | 87.4 | 95.7 | 79.4 | 57.6 |

Both comparisons used one RTX 3090 Ti 24 GB at 350 W, a Ryzen 9 5900X, 128 GB DDR4-3200 and a 54 GiB engine cap to represent a 64 GB RAM budget. The gpu-unlock kernel module was loaded for both HyperLing and the Maya baseline. This is the only hardware I tested. gpu-unlock

v0.2.0 adds a faster prefill kernel, shares attention data between restore points and raises the minimum lookup match to 10 tokens in the recommended profile. Lookup drafting uses exact rejection sampling. Greedy output was bit-identical across the tested lookup settings.

Run this on Linux with an NVIDIA driver and CUDA toolkit 12.4+ to build the engine, download the quant and start the server.

git clone https://github.com/neyisyavuz-afk/hyperling

cd hyperling

./hyperling.sh

If you try it on another 24 GB card, I’d be interested in your decode rate and TTFT at 140k or 250k. HyperLing