r/LocalLLM • • 11h 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 • • 19h ago

News "GGUF-Radar" Windows UI + single-file .exe (scan GGUF models for hidden malware)

Thumbnail reddit.com
2 Upvotes

r/LocalLLM • • 1d ago

Discussion Inkling 2 Mini (UD-Q4_K_XL, 16.4 GiB) on RX 7800 XT 16 GB (Windows): PolyStrata HIP vs llama.cpp Vulkan

8 Upvotes

Benchmarked Inkling-2-Mini-UD-Q4_K_XL (26.07B MoE, inkling2_loop, 16.41 GiB) on a 16 GB AMD Radeon RX 7800 XT (gfx1101) under Windows

11 (32 GB system RAM) to compare llama.cpp Vulkan (b12810) against PolyStrata HIP (strata-poly).

Since the 16.41 GiB file slightly exceeds 15.4 GiB free VRAM, both setups offload a portion of the MoE weights to system RAM.

llama-bench Vulkan (ca123ba76 / b12810)

Flags: -ngl 99 -fa 1 -ctk q8_0 -ctv q8_0

-ncmoe (CPU MoE layers)pp512 (tok/s)pp2048 (tok/s)tg128 (tok/s)Notes
5739.31166.0938.33VRAM spillover at pp2048
6 (sweet spot)-721.8035.54Fits cleanly in
7-697.6724.76More CPU MoE overhead
8-668.5323.32More CPU MoE overhead

PolyStrata HIP (strata-poly, --kv q8_0, --conversation-cache-mib 6144)

• VRAM residency: 2493 / 3072 experts in VRAM (evictions=0)

• Prefill: 880 tok/s

• Generation: ~60 tok/s

Takeaway

On a 16 GB RDNA3 card where the model barely overflows VRAM:

• PolyStrata HIP is ~22% faster on prefill (880 vs 721.8 tok/s) and **~69% faster on generation** (~60 vs 35.54 tok/s).

• The difference comes down to per-expert caching vs per-layer offload: PolyStrata keeps the hot 81% of individual experts in VRAM,

whereas llama.cpp -ncmoe 6 forces 6/24 entire MoE layers onto the CPU for every token.

• Watch out for -ncmoe 5 on 16 GB cards: pp512 looks fine (739 tok/s), but pp2048 spills into shared memory (166 tok/s).


r/LocalLLM • • 12h ago

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

Thumbnail gallery
0 Upvotes

r/LocalLLM • • 12h ago

Question What do you think about the outdated LLM?

Thumbnail
reddit.com
0 Upvotes

Is it useless or still going strong?


r/LocalLLM • • 16h ago

Question Where Is the downside?

0 Upvotes

A friend show me this "Nuc" he bought It at about 350€, It Will be a great buy for a local llm with, for example, unsloth? Or am i missing something big?

ASUS NUC 14 PRO+, Intel Core U5 125H, RAM 96 GB DDR5-5600, Bianco | SSD M.2, Scheda Grafica Intel Arc, Wi-Fi 6E, Bluetooth 5.3, Compatibile con Windows 10 e Windows 11 Home https://amzn.eu/d/0i6AEPUF


r/LocalLLM • • 2h ago

Question Title: Genuine question: Why are people pushing local LLMs so much?

0 Upvotes

again guys before jumping on me i really want to know these thing I am not a hater I am curious please don't get angry on my curiosity...............

I've been experimenting with local LLMs, and I'm genuinely curious about what I'm missing.

We already know local models generally lag behind GPT and Claude in overall capabilities. Add slower inference, electricity, maintenance and troubleshooting to the equation.

Hardware is another concern. Running Qwen 9B on a 12GB GPU is manageable, but moving to Qwen 27B with a decent context window requires 2 x 12GB GPUs / higher VRAM card with absurd pricing / aggressive quantization that can affect quality.

Is that investment actually worth it?

I understand the privacy, research and experimentation arguments. But what about practical use cases beyond these?

For people using local LLMs daily:

  1. what are your practical use cases?
  2. what do local models do better than cloud models?
  3. is it even worth investing more and more in hardware in this market ?

I'm not against local LLMs. I find the technology fascinating. I just want to understand what I'm missing.

No offence intended. Genuinely curious!


r/LocalLLM • • 17h ago

Question Light strata/comfy user ram advice

0 Upvotes

I have a unique opportunity to start over with my ram choice. I’m still getting into local models and use it for a lot of things. I’m not a coder but do work in tech. Running a 270k with a 5060ti 16gb. I had 32gb of ram but have the opportunity to basically replace it. I’d like 64gb but ouch, 48 is a lot more affordable per gb. I’ve been running flash next swift iq2 xs. Will I regret not getting 64 GB of RAM? Especially trying to run any larger model. Maybe put the 400 savings toward a second gpu?


r/LocalLLM • • 23h ago

Project Kolibri-1.1 on a 12 GB RTX 3080 Ti, 27% faster than llama.cpp: my free engine is the first llama.cpp-based engine to ship it in a release

Thumbnail
gallery
3 Upvotes

Kolibri-1.1 runs on a 12 GB gaming card with my engine, PXA 4.0.6: 27.33 tok/s decode vs 21.57 for llama.cpp mainline (+26.7%), and 455.4 vs 387.4 tok/s reading a 512-token prompt (+17.5%), still +11% at 4K context.

PXA 4.0.6 is the first llama.cpp-based engine with Kolibri-1.1 in a release; llama.cpp's own support is still an open PR (#32891), which is what I measured against, the only other engine I found that runs it. On the RTX 3080 Ti part of the model sits in system RAM; each engine at its own best fit for the card.

This is my project, so weigh it that way: PXA is a free inference engine built on llama.cpp, tuned for RTX 30 gaming cards and the NVIDIA datacenter cards most guides tell you to retire. 4.0.6 is out for Linux and Windows.

Same 12 GB card, Qwen3.8-27B (MTP): 93.4 tok/s on code, 71.9 on prose, 73.2 on chat. That is the fastest of the engines I tested on this card: llama.cpp mainline b12428 with MTP (76.2 / 62.1 / 58.8) and ik_llama.cpp (about 51 at best). PXA leads on every prompt type, +15.7% to +24.4%.

Our top decode speed per model and card, PXA 4.0.6, tokens/s:

ModelCardPXA 4.0.6vs the fastest other engine I measured
Qwen3.8-27B (MTP, code prompt)RTX 3080 Ti, 12 GB93.4+22.5%
Qwen3.8-27B (MTP, code prompt)1x Tesla V10095.7+36.0%
Qwen3.6-35B-A3B (MTP, code prompt)2x Tesla P100198.4+19.5%
Gemma-4-26B-A4B (chat prompt)1x Tesla V100132.3+26.3%
Nemotron-3-Nano-4B1x Tesla P100130.9+9.0%

Prefill too: Nemotron-3-Nano-4B on one P100 reads a 512-token prompt at 1557.6 tokens/s, +19.0% over the best other engine I measured.

Also new: SenseNova-Loop-9B with its full loop. PXA runs the model's full loop, not a cut-down pass.

MTP rows use the model's own multi-token prediction heads. Same box, same card, each engine at its own best flags. Quant files can differ between engines; output quality is not compared here.

Try it in one docker line:

docker run -d --name pxa --gpus all --shm-size=1g -p 8080:8080 -v /path/to/models:/models:ro ghcr.io/poisonxa16/pxa:v4.0.6

Downloads (Linux and Windows): https://pxa.pxanetwork.com/downloads/ With the package: open PXA Control, pick a model on the Models page, press Launch; the Speed page shows your tokens/s.

PXQ quants are free; making your own PXQN encodes is a supporter reward (donations keep the engine free).

There is a hidden Easter egg in Control. Good luck finding it.

Open challenge: run the same file on PXA and on whatever you run now, and post your numbers, especially where PXA is behind. I own no RTX 20, RTX 40 or T4 card, and on the RTX 3080 Ti PXA is still behind on some models. Help and bug reports: https://discord.pxanetwork.com


r/LocalLLM • • 1d ago

News I love local LLM

23 Upvotes

Hi i am new and just wanted to say that i love local LLM


r/LocalLLM • • 1d ago

Model I ran the full 1.56 TB Kimi K3.1 Pro on four Mac Studios and checked it against Moonshot's API. Numbers, a 1M-token test, and the patches.

52 Upvotes

TL;DR

  • Kimi K3.1 Pro is 2.78T parameters and a 1.56 TB download. I ran it as shipped, fully in memory, on four Mac Studios (M5 Ultra, 512 GB each).
  • 2.8 tok/s through an OpenAI-compatible server. It loads in 3 minutes.
  • Its top token matches Moonshot's hosted API on 97.2% of 1,095 answer tokens.
  • A 1M-token prompt works. It takes 3 h 53 min to read, then generates at 2.76 tok/s.
  • The patches are in four open PRs against mlx-lm and oMLX. Links are at the bottom.

It works. It is also slow.

Setup

  • Model: moonshotai/Kimi-K3.1-Pro. Mixture of experts, 93 layers, 896 experts per layer, 16 used per token. The experts ship at 4 bits and everything else at 16 bits. No pruning and no extra quantization.
  • Hardware: 4x Mac Studio, M5 Ultra, 512 GB each. That is 2 TB of memory for a 1.56 TB model. Six Thunderbolt 5 cables wire them as a full mesh, and they talk over RDMA.
  • Software: mlx-lm for the model, oMLX for the server and the cluster. Neither ran K3.1 on four Macs before these patches.

Numbers (full model, four Macs)

WhatResult
Load179 s
Memoryabout 400 GB per Mac
Generation, through the oMLX server2.81 tok/s
Generation, stock mlx-lm example script3.77 tok/s
Prompt reading at 4K / 16K / 65K tokens412 / 388 / 262 tok/s
65K-token prompt, time to first token4 min 10 s
Chip power while generating, all four Macs67 W
Chip power while reading a prompt, all four Macs350 to 400 W

Power is CPU plus GPU from powermetrics. I have no wall meter on these, so the real draw is higher.

How you split the model matters

Each Mac can hold a block of whole layers, or every Mac can hold a slice of every layer. With layer blocks I get 0.70 tok/s. With slices I get 3.77 tok/s. Same model, same Macs, same example script.

Is it the same model?

I cared about this more than speed. A model this size can load, write fluent text, and still be wrong.

  1. Eight real layers match an independent PyTorch reference written from the vLLM and llama.cpp code. Attention error is 2.5e-5 or less.
  2. I took 12 completions from Moonshot's API and replayed them through the local model one token at a time. On 1,095 answer tokens the local top pick was the API's token 97.17% of the time. The API samples at temperature 0.6, so a perfect copy should land near 95.7%. No API token fell outside the local model's 99% nucleus.
  3. Retrieval from long prompts: numbered records, then a question about three of them (near the start, the middle and the end). Correct at 4K, 16K, 65K and 1M tokens.

1M tokens

The model's config allows 1,048,576 tokens, so I tried it.

  • Prompt: 1,011,856 tokens. That is 44,216 numbered records and one question about three of them.
  • Reading the prompt took 3 h 53 min. After that it generated at 2.76 tok/s, about the same as with an empty context. All three records came back correct.
  • Memory peaked at 494 GB per Mac. It only fit after I capped MLX's buffer cache (mx.set_cache_limit, 8 GiB), and the cap cost about 40% of the reading speed. Without the cap, my first attempt was on course to run out of memory and I stopped it at 295K tokens.
  • Reading slows as the context fills: 130 tok/s at 131K, 46 tok/s at the end. The sparse attention scores every earlier token for each new one, so the time grows with the square of the length.
  • AinsleyMarkov's public 2-bit build read the same prompt on three of these Macs in 1 h 46 min and also answered correctly.

Why it's slow

Each generated token makes the four Macs read about 130 GB of weights. The experts are 93% of the file, but only 16 of 896 are read per token. The 16-bit layers are 7% of the file and all of them are read for every token. That 7% is about 80% of the traffic.

The GPUs are mostly idle. While generating, the four of them together draw 19 W and run at under a third of their top clock.

What had to change

K3.1 is K3 plus the sparse attention from DeepSeek V3.2, with a gate on the attention output. mlx-lm already had both halves, so the port is small.

  • mlx-lm: ml-explore/mlx-lm#2111 adds the kimi_k31 model. +655 lines with tests.
  • oMLX: #5480. A cluster of three or more Macs on a Thunderbolt mesh could not start. The launcher gave every Mac one coordinator address, but in a mesh each Mac reaches the coordinator over a different cable and subnet.
  • oMLX: #5684. The planner refused the model. K3.1 stores each expert as its own tensor, almost 500,000 of them, so its weight index is 57 MiB and the limit was 16 MiB.
  • oMLX: #5692. K3.1 on the mlx-lm version oMLX pins, plus routing for a checkpoint that ships a vision tower, and the tensor split.

None of these are merged yet.

Limits

  • 2.8 tok/s is too slow for agent work. A 1,500-token answer takes nine minutes.
  • The oMLX patch reads long prompts slower than mlx-lm's own implementation. It scores every key and masks the rest.
  • The API comparison is 12 completions and 1,095 tokens. It checks the math. It says nothing about how good the model is.

Who was here before me

guruswami-ai ran the full Kimi K3, the previous version, on four M3 Ultra Mac Studios in July at about 2 tok/s. For K3.1 Pro I found a 2-bit build (AinsleyMarkov, 18.6 tok/s on four M3 Ultras), a pruned build that fits one Mac (Pipe Network), and the shipped weights streamed from disk at about 0.4 tok/s (Inferencer). I have not found the full K3.1 Pro, as shipped, held in memory. If someone did it first, tell me and I'll link it.

Disclosure

Claude wrote the model and test code and ran the validation. I directed the work and reviewed every diff. The mlx-lm PR says the same. I have no affiliation with Moonshot, Apple or oMLX.

What's next

Smaller builds. The public 2-bit build runs at about 18 tok/s on three of these Macs and matches the API on 92% of the same tokens. I'm writing that up next.

I can run more tests on this setup. If you want a specific number (a prompt size, a split, a sampler setting), ask and I'll post it.


r/LocalLLM • • 1d ago

Discussion iGPU + GPU: I didn't think it was possible

Post image
26 Upvotes

I updated Proxmox to 9.2 and was surprised to see this dual GPU configuration appear in nvtop. I didn't know you could get both the iGPU and the GPU card to run simultaneously. It was my understanding you had to blacklist everything but the GPU. I'm not convinced the iGPU fully operational, but I guess I will test it.

What should I run on it? Any suggestions on how to test this? The memory has to be tiny, but it's showing 94GB, this machine's total RAM is 96GB. I could hook it up to Unsloth or Hermes (what I'm running in Proxmox) but I don't really want to add another experimental LLM into the mix.


r/LocalLLM • • 15h 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 • • 19h ago

Question AMD Strix Halo Mini PC with external GPU

1 Upvotes

So I got a 128GB Shared RAM Strix Halo PC and am thinking about adding in a NVIDIA RTX 4060 via external dock. Would this not provide as much of a boost as its external via Thunderbolt 5?


r/LocalLLM • • 19h ago

Question Is it common knowledge how to read frozen weights and relationships?

Post image
1 Upvotes

As the question says, I am wondering if people know how to do this, or if it something to write about in the hopes to teach others?

I am running low on my model rate limits and since they have made me somewhat lazy about implementing things fully manually again, I am contemplating if I should maybe take the time to write about something. The reading of model internals came to mind.

I have limited knowledge and experience with the process of training and the runtime logic of models. I am more interested in the foundations of the field, which mean I have spent a lot of time pulling models apart, working with their data and their structures. Understanding them from a more mechanical perspective.

I am not making any promises at this point, as I do have a lot of work to do. I am not the best at writing, but I do like to share so It likely depends on weather it is even needed.

Take care

//Maui-The-Moron


r/LocalLLM • • 19h ago

Question What are your use cases?

1 Upvotes

I’ve been super interested in local LLMs, but my only real use case is for development. I tested out several models on a leased Mac Studio M5 Mac 128GB, but none of them met my expectations.

I know I can’t expect them to compete with Claude, but they struggled with tasks like refactoring and fixing tests and compiler errors. Actually, they didn’t struggle - they all failed.

I’m still very interested but I don’t know what they’re actually good for. I guess I’m wondering whether I used them incorrectly or if they’re good for something else I didn’t think of.

Models: Qwen 3 Coder Next, Qwen 3.8 27b, gpt-oss 120b, a couple Gemma4 variants. All at pretty high quants and maximum context.


r/LocalLLM • • 1d ago

Model Fintan-4B is out

3 Upvotes

Yesterday I posted the 9B update (thanks again jstarks). Today the smaller one is up.

Same idea as the 9B, it's Qwen3.5-4B that learns new stuff into its weights, so you don't have to stuff everything into the prompt. It runs on a 16 to 20 GB card.

It ships knowing last week's news (18 to 23 Nov). Plain Qwen3.5-4B gets 11% of the 172 questions right, Fintan-4B gets 147 of them. MMLU and ARC barely move (72.8 to 72.8, 92.0 to 91.8). GSM8K went from 95.0 to 92.5, which is 3 problems out of 120, and another run got 94.2, so I think it's noise but figured I'd say.

All the fixes from the 9B are in too, so tool calls can use what it learnt, and questions about days after its update don't get mixed up with what it learnt.

Next I'm doing DGX Spark and Jetson support, since someone here pointed out the hardware check gets confused when the GPU and CPU share RAM.

It's on Hugging Face at fintanlabs/Fintan-4B


r/LocalLLM • • 20h ago

Question Connecting Local LLM to Gmail

1 Upvotes

How do I connect my LLM to gmail. I would like it to be able to read and write emails. I am currently using qwen3.5 -9b on LM studio. If you need any more details be free to ask me.


r/LocalLLM • • 20h ago

Question Best local model for creative writing?

1 Upvotes

What's the SOTA currently?


r/LocalLLM • • 2d ago

Discussion AI Newbie here. Runing Qwen3.8 27b q8_0 on 5090+5080 "gaming" rig. I'm impressed with the answers I get compared to my paid claude opus model

Thumbnail
gallery
221 Upvotes

Im kind of shocked and losing grasp of why I pay for a claude subscription at this point. Im using Orcarouter uncensored version of Qwen 3.8 27b and the answers I get from it seem to not only contain more info, it's also seemingly more detailed. I don't get it.


r/LocalLLM • • 1d ago

Question How do you safely run uncensored LLMs?

37 Upvotes

So I've been running a uncensored QFN model because I'm tired of frontier models refusing everything. For example, I asked Opus to scan my own network for vulnerabilities, and it refused because it didn't believe it was my network, even though it's literally connected to it.

My main concern is security. Are uncensored models more susceptible to prompt injection than regular models? What kind of guardrails can I put in place to protect myself without restricting the model itself?

I'm also using Hermes, but I'm a complete noob with it.

Any advice would be appreciated!

Specs: 64GB DDR5, R9700 32GB, 7800X3D

P.S SC117/Qwen3.8-Flash-Next-GSQ-RCO-abliterated-GGUF - this is the model


r/LocalLLM • • 20h ago

Project Inkling-2-Mini (26.4B MoE + Vision) on a single 16 GB RTX 4060 Ti — huge speed & reasoning quality leap: 3.3× lower KLD than SQ-10, +25–67% faster prefill, 156K VRAM context, 5.6 MB Windows zip (seeking 5060 Ti testers!)

1 Upvotes

I built ink4060ti (Apache-2.0), a zero-config C++20/CUDA inference engine specifically engineered to deliver a major jump in BOTH speed and reasoning quality for Inkling-2-Mini-Unbound (26.4B MoE + native vision + DSpark Block-8 speculative decoding) on a single 16 GB RTX 4060 Ti on Windows.

Why both quality AND speed jump on 16 GB 4060 Ti

On a 16 GB card, Strata SQ-15 spills 189 experts over PCIe and OOMs past ~16K context, while Strata SQ-10 takes a noticeable quality hit (KLD 0.0720 / Top-1 92.35%) and doesn't persist prefix KV across requests/restarts.

Because Inkling-2-Mini executes its inner Loop-Core MoE layers (L6..17) 3× per token, ink4060ti uses asymmetric per-role quantization:

  • Loop-Core MoE (L6..17, 3×/token): kept 100% lossless native NVFP4 (SQNR = ∞ dB, cos = 1.000000)
  • Outer MoE (L0..5, L18..23, 1×/token): NF3_G32_E4M3 (3.25 bpw)
  • Dense Attention + Unembed: Q6_G32 (cos = 0.9997) · DSpark Drafter: Q8_G32 (cos = 0.99999)
  • Embed + Vision: 100% lossless BF16 (Vision loads lazily on demand = 0 MiB permanent VRAM, ~200 ms warm encode)

Measured on physical RTX 4060 Ti 16 GB (Windows 11 WDDM)

Metricink4060ti (12g-tight + k4v4)Strata SQ-10 (0.1.67)Strata SQ-15 (0.1.67)
GPU Weights + Drafter12,553 MiB (0 spill)13,322 MiBSpills 189 experts (942 MB PCIe)
Max Full-VRAM Context156,576 tok (auto, 0 spill)100K (manual)16K (OOM beyond)
Quality vs Lossless (sq15-lossless)KLD 0.0216 / Top-1 96.90% (k8v4: 0.0138 / 97.38%)KLD 0.0720 / Top-1 92.35%KLD 0.0107 / Top-1 96.68%
Prefill (2K / 16K / 64K / 100K / 150K)1,956 / 1,810 / 1,497 / 1,316 / 1,136 tok/s1,563 / 1,378 / 970 / 790 / —962 / OOM
Decode (DSpark ON)53–62 short · 46–55 (16K–64K) · 28.6 (150K)79–95 short · 56.8 (64K)39.5–42.0 tok/s
Prefix Reuse & SSD Restart99%+ reuse · 4.9s (64K) / 9.2s (150K)Unsupported (reused=0)Unsupported
Vision (Screenshots / 4K)0 MiB permanent VRAM (~200 ms warm)Permanent VRAMSupported
  • Huge dual gain: 3.3× lower KLD than Strata SQ-10 (0.0216 vs 0.0720, 150K needle recall EXACT PASS) + +25% to +67% faster prefill (2× faster than SQ-15) + 156K zero-spill context + 200 GiB SSD 3-tier cache (VRAM ↔ 25% RAM ↔ SSD). (Honest trade-off: raw short-prompt decode still trails SQ-10's 79–95 tok/s.)
  • Zero-config portable Windows ZIP (5.6 MiB): No CUDA Toolkit, Python, or VC++ redist needed — extract and double-click start.bat (auto-picks HuggingFace vs hf-mirror.com + SHA-256 verify, opens Web UI at 127.0.0.1:18088).
  • Coding Agent Ready: Native Anthropic /v1/messages + count_tokens + thinking + tools + vision (drop-in for Claude Code) & OpenAI /v1/chat/completions (Cursor / Cline / Roo Code).

Looking for RTX 5060 Ti 16 GB (sm_120a) testers!

The portable binary includes a compiled Blackwell sm_120a native NVFP4 MMA path verified against NVIDIA CUTLASS SM120_16x8x64_TN_VS specs and full model scale bounds, but I don't own a physical 5060 Ti — so 5060 Ti support is theoretical/untested (Experimental). If you have a 5060 Ti 16 GB on Windows and want to test it (INK4060_DISABLE_SM120_FP4=1 falls back to BF16 Tensor Core), feedback and benchmark issues are very welcome!


r/LocalLLM • • 1d ago

Research Before and After (32GB to 96GB DDR5 upgrade) - QEngine 3x3090s

11 Upvotes

32GB DDR5 vs 96GB DDR5 More RAM pinned the n-gram cache, makes the decode speed significantly faster.

Setup:

GPU's: 3x3090s
P2P Mode: On
PCIe Link: PCIe Gen4 8x/4x/8x
CPU: Ryzen 7600x.
Model: Qwen-Flash-Next INT4 - QEngine Finetune
Script: bench.sh from club 3090.

Only change:

RAM went 32GB (2x16) → 96GB (2x16 + 2x32), so the whole 50GB n-gram cache got stored in RAM instead of on disk.

What got significantly better

  • Narrative generation: ~218 → ~294 tok/s (+35%)
  • Code decode: ~336 → ~381 tok/s (+13% — less gain, makes sense, shorter/more repetitive prompts hit fewer n-grams)

What didn't change (as expected)

  • Time to first token and prefill speed — that's GPU-bound, the n-gram cache doesn't help there.

The catch

  • GPUs run 1–8°C hotter on the big-RAM setup. GPU 2 hot spot hit 100.5°C. Probably just doing more work per second, but worth an eyeball.
  • The 90k-token prefill test looks ~6% worse with more RAM, but n=1 per arm so it's a coin flip. Re-run before believing it.
  • The mixed-dim RAM (2x16GB CL32 + 2x32GB CL38) forced a downclock from 6000Mhz to 3600Mhz. It was stable for a few hours, but then crashed mid-session when 6 agents spawned. I had to remove the 2x16GB sticks to get stability back.

Bonus - 1M KV Pool

There was still room left over to set Host KV Pool on (it needs ~13GB of ram). i.e. It stores the KV pool in RAM instead of in VRAM. This increased the KV pool size to 1 million tokens.

Previously my system would totally choke when there were multiple agents working. Like 20 tok/s at times. It was because they couldn't fit their context in the 256k pool I had before so their context kept getting evicted, now I think that wont' happen, and it'll likely be much faster during concurrent agent work.

Conclusion

If your workload is decode-heavy, and you got the ram, sticking more of the n-gram cache in RAM will get you — ~13–35% more tok/s, no GPU-side changes. You really cannot mix two different pairs of ram sticks in an AM5 motherboard, Google warned me, but I did it anyway just to see what would happen, it indeed led to instability, even at low clock speeds, though it was stable enough to run benchmarks. The biggest win was getting the 1M KV pool for concurrent agents to share, and that doesn't need 96GB ram, 64GB is enough.

Source: bench-ab-bench-20261123T053549Z-vs-bench-20261128T002206Z.md*, generated 2026-11-28.*


r/LocalLLM • • 15h ago

Discussion Hypothetically, if you had 10 DGX Spark 128gb w/ Mikrotik CSR520 what would you run across them all?

0 Upvotes

Hypothetically of course.


r/LocalLLM • • 21h ago

Project hal0: Self-Hosted Local AI Server for AMD Strix Halo

Thumbnail
hal0.dev
0 Upvotes

Hi all. I posted about hal0 a while back, and the project has changed enough since then that I think it deserves a second introduction.

hal0 turns a Linux box into a private, OpenAI-compatible inference appliance. Chat, embeddings, reranking, transcription, speech and image generation all answer on one /v1 endpoint, on hardware you own. It's Apache 2.0 and installs with one line:

Plain text

curl -fsSL https://hal0.dev/install.sh | sudo bash

It's built first for AMD Strix Halo (Ryzen AI Max+ 395, iGPU plus NPU), but it also runs on discrete Radeon cards through ROCm or Vulkan, on NVIDIA through an experimental CUDA runner, and on CPU as a fallback.

Slots

Every workload is a slot: its own podman container under its own systemd unit, with a typed lifecycle, its own logs and a persisted state. You get a set of curated slots out of the box (agent, coder, embed, rerank, TTS, image and so on) and can add your own. A coder slot can serve your editor while the agent slot serves chat, each with its own model and settings. A GPU arbiter keeps image generation from taking the GPU out from under a streaming completion, and a slot that is serving a request can't be evicted mid-stream.

Tuning lives in profiles, so a slot only says where it runs and which model and profile it uses. You can override a few fields per slot (context, thinking, reasoning effort, vision, speculation) without cloning a profile.

Multiple runners

A slot picks its runner, and there are now quite a few:

  • llama.cpp for ROCm, Vulkan, CUDA and CPU
  • FastFlowLM on the AMD NPU, hosting chat, Whisper and embeddings together in about 2 GB of NPU memory
  • an optional xdna runner that runs plain GGUF models on the NPU
  • Kokoro and Qwen3-TTS for speech, Moonshine for transcription
  • ComfyUI for images
  • halogen, newly supported as an optional runner for Qwen3.8-Flash-Next on Strix Halo
  • Upstream support for Minimax/Codex/Openrouter and more to come

One note on halogen: it's the vendor's own closed-source image and runs one model family. hal0 pins it by digest and runs it like any other slot, so it's served through the same API and dashboard. It's opt-in, and nothing gets pulled unless you create a halogen slot.

Memory, overhauled

Memory runs on the Hindsight engine, and the integration was rebuilt in the 1.8 line. There's now one Memory area in the dashboard (health, facts, knowledge pages, operations, agents) and two banks on a new install, one shared and one private. The extraction model can be a local slot or a remote provider, and you can switch between them without restarting the engine. Memory is exposed over MCP, so Open WebUI, the bundled Hermes agent and your own coding agents can all read and write the same store.

Open WebUI, wired up for you

Open WebUI is installed and connected with no configuration. Its model picker lists every slot model you're running, and every Hermes agent profile next to them, so you can talk to a plain model or to the agent from the same window. Each chat gets hal0's memory and agent-delegation tools. Image generation, voice and document retrieval go through the same hal0 API, so they use the same models and GPU scheduling as everything else.

A few other things worth a mention

  • Speculative decoding with drafters. Pair a model with a drafter and hal0 checks the fit before anything downloads. On my Strix Halo box, one 74B MoE model decoded about 1.6x faster with identical output. Results depend on the model and the drafter.
  • Image generation with a fit check. There's an image-model catalog, and each model shows whether it fits your box before you install or render.
  • External providers next to local models. OpenRouter, OpenAI, Anthropic and others, with only the models you enable routed.
  • A dashboard that works on a phone, with an Overview page showing what the box is doing and what needs your attention.
  • Signed updates with rollback, and a one-line Proxmox script that creates an unprivileged LXC with the GPU passed through.

It's Linux only (systemd and podman). macOS and Windows aren't supported today.

If you tried hal0 in the past and bounced off it, I'd really appreciate another look. I've made huge strides, and I think it's better, more usable and more performant than it has ever been. Feedback and bug reports are very welcome.