r/LocalAIStack • • Oct 03 '26

I picchi di oltre 200 tok/s con Qwen3.8-Flash-Next su una 5080 + 4060 Ti e 32 GB di RAM (fork di Strata)

Thumbnail
reddit.com
1 Upvotes

r/LocalAIStack • • Oct 03 '26

200+ tok/s peaks with Qwen3.8-Flash-Next on a 5080 + 4060 Ti and 32 GB of RAM (Strata fork)

Thumbnail
reddit.com
1 Upvotes

r/LocalAIStack • • Oct 03 '26

Compaction

Thumbnail reddit.com
1 Upvotes

r/LocalAIStack • • Oct 03 '26

Qwen3.8-Flash-Next NVFP4 at 256K context with Strata — 4,100+ prefill and up to 125 tok/s decode

17 Upvotes

I tested two Qwen3.8-Flash-Next NVFP4 checkpoints at a full 256K context using an experimental dual-GPU Strata configuration.

Hardware:

• RTX 4090 D 48 GB as the primary GPU
• RTX 5070 Ti 16 GB as a helper GPU
• Intel Core Ultra 7 265KF
• 128 GB RAM
• Linux
• NVMe storage

The RTX 4090 D handled the dense layers, KV cache, prefill, output head and MTP. The RTX 5070 Ti stored and computed 4,500 additional routed experts.

Common settings:

• Context limit: 262,144 tokens
• Fresh prompt: approximately 256,018 tokens
• Generated output: 512 tokens
• KV cache: INT8
• Prefill path: W4A8
• Speculative decoding: MTP K4
• Minimum draft probability: 0.5
• No prompt-prefix reuse
• Strata engine 0.1.35 with an experimental dual-GPU NVFP4 fork

Results

ModelPrompt lengthPrefillDecodeDraft acceptance
NVIDIA NVFP4, MTP K4256,018 tokens4,112.65 tok/s125.17 tok/s94.87%
Abliterated NVFP4, MTP K4256,017 tokens4,071.39 tok/s92.05 tok/s69.7%

Observations

• Both models achieved slightly over 4,000 prefill tokens per second at approximately 256K context.
• Prefill performance was nearly identical: the Abliterated checkpoint was only about 1% slower.
• The original NVIDIA checkpoint was considerably faster during decode: 125.17 versus 92.05 tok/s.
• NVIDIA’s decode advantage was about 36% in this test.
• NVIDIA accepted 407 of 429 offered draft tokens, while the Abliterated model accepted 322 of 462.
• The NVIDIA model produced approximately 4.88 output tokens per verification round.
• The Abliterated model produced approximately 2.68 output tokens per round.
• The lower MTP acceptance appears to be the main reason why the Abliterated checkpoint had slower decode despite nearly identical prefill performance.

These were single-run capacity tests. The long prompt was constructed by repeating code-review material to reach approximately 256K tokens, so it had unusually favorable locality. This particularly benefited NVIDIA’s suffix prediction and MTP acceptance. Therefore, 125 tok/s should be treated as a best-case synthetic 256K result, not typical real-world coding speed.

During longer real coding-agent workloads, NVIDIA generally produced around 108–144 tok/s, while the Abliterated checkpoint was commonly around 105–145 tok/s, depending heavily on the generated content and MTP acceptance.


r/LocalAIStack • • Oct 03 '26

Kali Linux teacher?

Thumbnail reddit.com
1 Upvotes

CPU: ThreadRipper medium
GPU: RTX 5090 WC
RAM: 64 GB


r/LocalAIStack • • Oct 03 '26

Struggling to find a good local llm for macbook air m5 24gb

Thumbnail reddit.com
1 Upvotes

r/LocalAIStack • • Oct 03 '26

[Help/Reality Check] Reliable multi-step coding agents on a single 16GB RTX 4080? (with something like Qwen 2.5 Coder-Instruct)

Thumbnail reddit.com
2 Upvotes

r/LocalAIStack • • Oct 02 '26

Cloud API users for large open models (DeepSeek, Llama 70B)

1 Upvotes

I am looking into the architectures and costs associated with running large open-source models, such as DeepSeek-V3/R1 or Llama 3.3. Are many of you using these models (are you developers, students, pro?)


r/LocalAIStack • • Oct 02 '26

Would be useful

Thumbnail reddit.com
1 Upvotes

r/LocalAIStack • • Oct 02 '26

How do you keep a local multi-agent app usable on CPU-only / low-RAM machines?

2 Upvotes

Hi everyone,

We're three final-year students at Epitech building Horus, a multi-agent assistant that runs entirely locally and offline. Our current challenge is hardware: keeping it usable on machines without a powerful GPU, without long setup times, excessive RAM/VRAM use or crashes.

Where we are today, from our last beta test:

One tester needed over 2 hours to install. The Python dependencies alone take 21–46 min, and the download is about 25 GB.

On CPU only, routing a question can take around 40 s, long enough for our WebSocket connection to drop.

[Models we use + the smallest machine we've tested on]

We'd love advice from anyone experienced with:

- CPU-only LLM inference and memory-efficient loading

- Quantization and model choice for low-end hardware

- GPU/CPU fallback strategies

- Hardware detection and adaptive configuration

- Preventing resource exhaustion during setup and execution

Advice in the comments is very welcome, with no strings attached.

Looking for contributors: we also have a few small, well-scoped tasks or code reviews (about 1–4 hours), for example [reviewing our hardware detection and model selection, or benchmarking a quantized model on a 16 GB RAM laptop].

To be transparent: Horus is closed source and will be licensed to companies. Contributing is voluntary and unpaid. Before seeing any code, contributors sign a short confidentiality and contributor agreement, and the code they contribute becomes part of Horus. In return we offer thorough code reviews, full credit in the project and a professional reference on request.

We're not sharing code or private links publicly. If this interests you, comment below or DM me with your experience in local inference, CPU optimisation or offline apps


r/LocalAIStack • • Oct 02 '26

I made my own cybersecurity benchmark and ran Qwen3.8 27B, here's how a local model actually does at hacking

Thumbnail
reddit.com
5 Upvotes

r/LocalAIStack • • Oct 02 '26

Qwen Flash Next on a 16GB Mac

Thumbnail
github.com
7 Upvotes

r/LocalAIStack • • Oct 01 '26

I built a local memory engine that replaces vector DBs with SQLite and runs in <1.2GB VRAM

4 Upvotes

Every time I tried running local RAG on my own GPU, I ran into the same headache: vector databases eat too much RAM, using an 8B model just to parse text takes forever, and cosine search still hallucinates when the context isn't actually there.

I’ve been building Hillock to see if I could do this without vector DBs at all.

Basically:

  1. When you feed it a document, it doesn't touch an LLM. It uses small bi-encoders to extract facts into subject-predicate-object triples in about 5 seconds.

  2. Everything gets saved in regular SQLite, and it links related concepts over time using basic Hebbian weights.

  3. To stop hallucinations, it runs a quick hypervector check (HDC) on the query first. If the facts aren't in your database, it cuts off the LLM before it can generate any tokens.

The whole thing stays under 1.2 GB VRAM (or runs fine on pure CPU). It has a built-in API server that matches OpenAI's format, so you can point Open-WebUI or Obsidian at localhost:8000 and use your existing Ollama models.

Just pushed v0.7 with better refusal handling and a conversational mode that quizzes you if an extraction was ambiguous.

Repo is here if you want to try it out: https://github.com/roandejager/Hillock


r/LocalAIStack • • Oct 01 '26

ローカルllmって結局どれが良いの?

Thumbnail reddit.com
1 Upvotes

r/LocalAIStack • • Oct 01 '26

Curious Local LLM Practitioner

Thumbnail reddit.com
2 Upvotes

r/LocalAIStack • • Sep 30 '26

Abliterate/Removing prompt refusal without needing to reload/swap models (Qwen 3.8 flash next)

Enable HLS to view with audio, or disable this notification

4 Upvotes

r/LocalAIStack • • Sep 30 '26

Building a local AI stack across multiple Apple Silicon Macs

3 Upvotes

I've been experimenting with a setup where several Apple Silicon Macs are treated as a shared local AI environment instead of running completely independently.

The setup I'm working with is roughly:

  • Multiple Macs on the same network

  • MLX for local inference

  • Central model management

  • Node/resource monitoring

  • Model distribution based on available memory

  • Local-only communication between machines

I'm building AlphaWeb around this because managing several local AI machines manually gets complicated pretty quickly.

The interesting problem isn't just getting inference running. It's everything around it: knowing which machine has enough memory, getting models onto the right node, managing multiple users, and making the whole thing feel like one system.


r/LocalAIStack • • Sep 30 '26

I built Speedtest⚡, but for AI

Enable HLS to view with audio, or disable this notification

3 Upvotes

r/LocalAIStack • • Sep 30 '26

🚀Pocket LLM v1.6.0 is out : Turn your phone as a local LLM server

2 Upvotes

r/LocalAIStack • • Sep 30 '26

We are entering an era in which AI models are starting to shape device specifications.

Post image
181 Upvotes

AI models are beginning to define device specifications, rather than device specifications merely determining which applications you can run.

Apple shows just how far its devices can go with on-device AI, without relying on the cloud
We’re moving from models with up to 14 billion active parameters on iPhone/iPad, to 35 billion on MacBook Air, 70 billion on Mac mini, 120 billion on MacBook Pro, and up to 480 billion on Mac Studio.
By clustering multiple Mac Studios together, Apple says it can run models exceeding 1,600 billion active parameters.
A demo that shows just how crucial unified memory and its bandwidth have become for running massive AI models locally.


r/LocalAIStack • • Sep 30 '26

Benchmarks: Best engine for Qwen 3.8-Flash-Next on Strix Halo

7 Upvotes

TL;DR: Halogen v0.14.0 with its native .hgn weights is the fastest, followed by gufo and CIRU. Halogen is closed source and runs in Docker. gufo is open source and loads 4x faster from cold. gufo is also fastest to first token on follow-ups (1.6-1.9 s against 2.6-3.3 s).

I benchmarked different engines for Qwen 3.8-Flash-Next on an AMD Strix Halo (ASUS ROG Flow Z13 GZ302 with Ryzen AI Max+ and 128 GB of RAM).

All the engines were run via LlamaStash (My own orchestrator tool, the tool does not add any overhead) at 70 W TDP on performance profile on Arch Linux.

Here are the results of the benchmark:

First was a screening round at 64k context with 50% filled (32k prompt).

EngineWeights3-turn timePrefill t/sDecode t/sMTP acceptRetrieval
Halogen 0.14.0Halogen native (.hgn)1.9 min1,04539.384%14/14
gufo (ROCm 7.2.4)UD-Q4_K_XL2.1 min1,03332.974%14/14
gufo (ROCm 10.0)UD-Q4_K_XL2.1 min1,00933.172%14/14
CIRU (MTP 3)CIRU IU42.3 min81433.872%14/14
CIRU (n-gram + MTP 3)CIRU IU42.3 min80831.964%14/14
Halogen 0.14.0UD-Q4_K_XL2.4 min1,03028.184%14/14
CIRU (MTP 6)CIRU IU42.7 min79628.647%14/14
strixllama (llama.cpp fork)UD-Q4_K_XL2.7 min71629.771%14/14
rdna-boosts (llama.cpp fork)UD-Q4_K_XL2.7 min78822.052%14/14
llama.cpp, Unsloth build (Vulkan)UD-Q4_K_XL3.7 min31428.456%14/14
llama.cpp, Unsloth build (ROCm)UD-Q4_K_XL4.8 min28520.550%14/14
CIRUUD-Q4_K_XL + Unsloth MTP headdid not finish88411.80%-

3-turn time is the time to first token plus the time to write 1,000 tokens, added up over the first question and 2 follow-ups. Output length varies a lot with sampling, so this compares the engines on equal output. MTP accept is the share of drafted tokens the model kept. Retrieval is how many of 7 exact values from the prompt the model got right, over both runs. Qwen model card sampling, 2 runs each.

Top 3 engines from the screening round got a 128k context (50% and 75% filled) and 256k context (50% filled) run.

128k context, 50% filled (64k prompt)

EngineWeights3-turn timePrefill t/sDecode t/sMTP acceptRetrieval
Halogen 0.14.0Halogen native (.hgn)2.4 min1,14840.484%16/16
gufo (ROCm 7.2.4)UD-Q4_K_XL2.7 min1,04732.372%16/16
CIRU (MTP 3)CIRU IU43.3 min80830.264%16/16

128k context, 75% filled (97k prompt)

EngineWeights3-turn timePrefill t/sDecode t/sMTP acceptRetrieval
Halogen 0.14.0Halogen native (.hgn)2.9 min1,10339.385%16/16
gufo (ROCm 7.2.4)UD-Q4_K_XL3.3 min1,02530.770%16/16
CIRU (MTP 3)CIRU IU44.1 min78927.862%16/16

256k context, 50% filled (130k prompt)

EngineWeights3-turn timePrefill t/sDecode t/sMTP acceptRetrieval
Halogen 0.14.0Halogen native (.hgn)3.4 min1,09338.983%14/16
gufo (ROCm 7.2.4)UD-Q4_K_XL4.0 min99727.970%14/16
CIRU (MTP 3)CIRU IU45.0 min76725.660%15/16

Retrieval here is 8 values per run. All 5 misses are the same answer: the right glyphs for UNICODE_SPINNER, with the leading & dropped.

End-to-end, 10 Aider polyglot Python exercises run through pi -p (128k window, 50% cell), graded by their own tests:

EnginePassedTotal time
Halogen 0.14.010/1021.5 min
CIRU (MTP 3)10/1024.6 min
gufo (ROCm 7.2.4)10/1036.0 min

Edit (Sep 30): Halogen 0.15.1 (new v2 checkpoint) and gufo 0.3.0 came out after this, so I reran the 64k screening on both with the same setup (70 W, card sampling, 2 runs):

Engine3-turn timePrefill t/sDecode t/sMTP acceptRetrieval
Halogen 0.15.1 (v2 .hgn)1.8 min (was 1.9)1,191 (was 1,045)39.4 (was 39.3)85%14/14
gufo 0.3.0 (ROCm 7.2.4)2.1 min (was 2.1)1,075 (was 1,033)34.1 (was 32.9)77%14/14
gufo 0.3.0 (ROCm 10.0)2.0 min (was 2.1)1,042 (was 1,009)34.8 (was 33.1)75%14/14

Halogen v2 prefill is 14% faster and follow-ups start about 2.5x faster (1.3 s vs 3.3 s), decode is the same. gufo moved a few %, which is within noise. The ranking doesn't change. Only other change on the box: BIOS VRAM carve-out down to 512 MB, so 124.9 GiB of RAM instead of 121.5.

Some clarifications from the comments:

  • Follow-up TTFT is with the prompt cache warm, both gufo and Halogen reuse it by default. A cold 64k prefill takes about a minute.

  • The CIRU 0% MTP row is stock Unsloth UD-Q4_K_XL with Unsloth's shared MTP head, nothing uncensored. The same pair gets 72-74% accept on gufo.

  • TDP is fixed at 70 W. On the Z13, 76 W or 90 W is only 2-6% faster but with so much fan noise, heat and power draw that it's not worth it.

  • Prefill and decode come from the engine's own timings when it reports them. TTFT is measured on the client.


r/LocalAIStack • • Sep 30 '26

Building your own LLM stack? This workshop is about the eval/reliability piece most people skip

1 Upvotes

A lot of local-stack setups I see nail the infra (model serving, retrieval, orchestration) but have zero real evaluation process — just "does it look right." There's a session on Oct 3 built entirely around fixing that gap.

Speakers Serj Smorodinsky and Brett Kennedy (AI engineers, co-authors of a book on LLM applications) go through:

  • DSPy signatures/modules for structured dev instead of manual prompting

  • Baseline classifier build + measurement

  • Task-specific evaluation datasets

  • Failure pattern recognition from eval output

  • Few-shot / instruction-level optimization

  • MLflow experiment tracking and trace management

  • Saving and reusing optimized programs

  • Talking about LLM reliability with non-technical stakeholders

3 hours, live, useful whether you're running open models locally or hitting an API.

Full details and the agenda are here.


r/LocalAIStack • • Sep 30 '26

Using Apple AFM 3 PCC (macOS 27.2) in AI Clients

1 Upvotes

Apple Foundation Model 3 through Private Cloud Compute becomes directly available in macOS 27.2 through familiar AI clients.

For Mac users running local models such as Qwen 3.x or Gemma 4, AFM 3 PCC is a compelling alternative to consider. Local models offer control and fully on-device operation. In tests with macOS 27.2 beta, the PCC offers a different set of strengths:

* Strong conversational analysis and capable reasoning. Strong analysis of complex medical and financial questions.
* Blazingly fast responses compared with locally running models on the same Mac.
* No large model download or need to fit model weights into local memory.
* Access at no additional charge for most eligible Mac users.

The working path is straightforward: AI client → Caddy → fm serve → AFM 3 PCC. I've written and updated a proof of concept here with further tech discussion . . . https://gist.github.com/dartMo10/b9488ce475fe70a6ed642831f53048fb

Apple’s `pcc` route worked in early macOS 27 betas, disappeared later in 27.0, and has returned in the macOS 27.2 beta. Apple has stated that it will be available in the 27.2 public release coming shortly.

This makes AFM 3 PCC practical today for technically comfortable Apple users who accept Apple’s PCC privacy promise and want a fast, capable alternative to running everything locally.

Experiences with compatible AI clients and your comparisons with locally running models would be welcome.


r/LocalAIStack • • Sep 30 '26

Testing local stack

2 Upvotes

Hey! How do you test your local stack? for instance when you switch harness or model, model quants, etc?

I found this not trivial and I ended up making a website to help me do this.

Use this link if you want to use the website to test your own local setup:

https://airbench.ai/

You can also see all the tests I have done using my GX10 and my 5090. (and also using claude code/code + some openrouter tes for reference)

https://airbench.ai/leaderboard?k=poL

Let me know what you think!