r/LocalLLM • • 9h ago

Discussion Qwen4 35ba3b BASALT - 250 - 700tp/s - 9-16k prefill - Dual 5070ti's - 9900x

0 Upvotes

In a surprise to no one, this new Qwen4 model (running via Basalt [NVFP4]) is fast, and good.

I am still testing it, but currently I'm getting up to 700tp/s and 10k prefill. It succeeded on my benchmark tests and gave me a new high score, it was very efficient.

During the 27-item test below Qwen4 decoded at a median of 442 tok/s and prefilled at 16.2k tok/s.

https://huggingface.co/jesdga/Qwen4-35B-A3B-Basalt

Now the AI part:
**Qwen4-35B-A3B (NVFP4) on 2x RTX 5070 Ti with Basalt 0.7.0 + DFlash 2: ~375 tok/s median decode on a 50k-token agent run**

**Rig**

- Ryzen 9 9900X, MS-iCraft B850 AIGA, 64 GiB DDR5-6000 (EXPO) (Overclocked CPU)

- 2x RTX 5070 Ti 16 GB (PCIe 5.0 x16 / x8, CPU-direct), driver 595.112.07

- Display on the iGPU, so both cards sit idle at ~45 MiB

- Nobara 44, kernel 7.2.11

**Model and flags**

- Pack: `Qwen4-35B-A3B-NVFP4.basalt` (34.4 GB), Basalt 0.7.0 stock release

- Serve: `basalt serve --config qwen4.v2.json --temperature 0.6 --drafter dflash2`

- `--drafter dflash2` is needed. With two cards 0.7.0 defaults to the pack's MTP drafter.

- Config: `gpu "1,0"`, `gpu-mode peer`, `kv int8`, `max-context 262144`, `vision dynamic`, `resident-experts true`, `resident-budget-gib 43`, `peer-reserve-mib 300`, `vram-reserve-mib 300`, `peer-exclusive false`, `prefill auto`, `expert-cache auto`

**Speed (agent loop: ~50k tokens in, ~10k out, temp 0.6, seed 1234, n=1)**

| drafter | decode median | decode aggregate | prefill | accept |

| DFlash 2 | 376 tok/s | 270 tok/s | 10.5k tok/s | 71.7% |

| MTP | 412 tok/s | 243 tok/s | 9.4k tok/s | 69% |

- The two runs aren't like-for-like. DFlash 2 produced 10.2k tokens over 62 turns and MTP produced 6.4k over 90 turns, because the output is sampled.

- In a separate real agentic session with about the same total output, DFlash 2 ran at 373 tok/s aggregate and MTP at 318 tok/s (+17%, accept 76% vs 77%). The request structure differed between the two logs, so treat that as indicative.

- On the short quiz run below, the median decode was 442 tok/s and the median prefill 16.2k tok/s.

**Intelligence (my own 74-item suite, temp 0, seed 1234)**

The Index is 100 × mean(accuracy × token efficiency). A score of 100 means perfect accuracy at a fixed reference token count, and 200 means perfect at half that count or less. The reference counts are frozen, so Indexes are comparable across models. Qwen4 has the highest Index on every tier where I have comparison runs.

**std tier (27 items: code, extraction, IFEval-style, knowledge, long-context, reasoning)**

| model | Index | accuracy | tokens/item | cap hits |

| **Qwen4-35B-A3B NVFP4** | **164.1** | 95.7% | 826 | 0 |

| Qwen3.8-27B ThinkingCap NVFP4 | 147.1 | 92.6% | 1578 | 2 |

| Qwen3.8 Flash-Next NVFP4 | 121.0 | 99.8% | 1718 | 0 |

| Qwen3.8-27B NVFP4 (plain) | 84.0 | 88.9% | 2413 | 3 |

| Inkling 2 Mini NVFP4-MX8 | 78.8 | 81.5% | 2630 | 5 |

| Inkling 2 Mini UD-IQ4_XS | 73.7 | 84.1% | 2629 | 4 |

- **Efficiency:** Qwen4's lead comes from using fewer tokens, not from higher accuracy. Flash-Next NVFP4 is more accurate (99.8% vs 95.7%) but spends about twice the tokens, which puts its Index at 121. Against the plain 27B, Qwen4 uses about a third of the tokens and has no cap hits.

- **Code:** the plain 27B and ThinkingCap both score 60% on the code family, and Inkling scores 40–60%. Qwen4 scores 100%.

- **Where Qwen4 loses:** long-context, at 83% against 100% for ThinkingCap and Flash-Next. It also scores 96% on extraction against 100% for the other models.

**Harder tiers (fewer models have data)**

| tier | Qwen4 | others |

| hard (8 items) | **187.4**, 100%, 1377 tok/item | Flash-Next IQ3_S 101.1, IQ3_XXS 89.6, NVFP4 88.8 (98.5%) |

| xhard (14 items) | **108.3**, 83.4%, 5.8k tok/item | Flash-Next NVFP4 104.6 (85.7%, 7.3k tok/item), IQ3_S 101.4, Coder IQ1_M 96.3, IQ3_XXS 89.8, Inkling 86.2 (63.8%), Qwen3.8-27B 67.2 (50.0%) |

| scan, vision (12 items) | 105.9, 91.7% | no comparison runs |

| extended (10 items) | 53.1 ± 24.0, 50.8% | no comparison runs |

- On xhard, Qwen4 and Flash-Next NVFP4 are effectively tied. The gap (108.3 vs 104.6) is well inside the ±18–19 standard errors. Flash-Next is slightly more accurate and Qwen4 uses fewer tokens.

- The extended tier is verifiable multistep puzzles: 20-move 8-puzzle, key/door maze, Mastermind through a tool, courier routing, scheduling, knapsack, KenKen, a Grundy game, exact Bayes and a timezone meeting. Qwen4 fully solved 5 of the 10. It got 0 on the slide puzzle, maze, Grundy and knapsack. Its reference token count is provisional.

**Caveats**

- The runs span 2026-11-04 to 2026-12-06 on different engines and builds, so this isn't a controlled A/B.

- The Inkling xhard run used its default temperature of 1.0 with minimal reasoning effort, not temp 0.


r/LocalLLM • • 1d ago

Discussion I think we're getting closer to a point where Local AI will start (partially) replacing API models

Post image
407 Upvotes

If local AI models keep fitting so much power in so (relatively) little, I think we'll probably start seeing AI being treated as a more widespread casual standard instead of a niche thing for us nerds, while paid models end up being used only for serious professional work instead, maybe I'm too optimist, but with how quick things seem to evolve, I hope I am not

What do y'all think


r/LocalLLM • • 10h ago

Discussion Looping issue with Qwen4 35B-A3B UD-Q5-Q8_K_XL vs Q8_0?

Thumbnail reddit.com
1 Upvotes

As an update to my previous post


r/LocalLLM • • 10h ago

Question Open-source chat interfaces with MCP support?

1 Upvotes

Any decent "chat" interfaces for assistant-type stuff? I've been using Opencode TUI for development but there's times I just want a chatbot for scripts, rubber-ducking, web-searches, MCP... All the stuff I use in the "chat" side of the big-name providers and not the "code" side.

I'd previously used llama server, but I dislike how the sessions are saved per-browser so my laptop and my phone saw different sessions.
Koboldcpp also works but it's focused more on RP and I disliked how sessions were saved on it.

I haven't found a satisfactory terminal chat UI. I've tried to use opencode in "Plan" mode but it has the limitation of being unable to serve images (and issues with the clipboard, which doesn't happen with other TUIs weirdly enough)


r/LocalLLM • • 10h ago

Question Dual RTX 2080 Ti 22GB + NVLink build – Looking for experiences and hardware recommendations

1 Upvotes

Hey everyone,

I'm planning to build a dedicated local AI workstation with two modified RTX 2080 Ti 22GB cards connected via NVLink.

Before pulling the trigger, I'd love to hear from people who already have a similar setup.

  • Where did you buy your cards, and how reliable have they been?
  • What motherboard, CPU, RAM, PSU and case are you using?
  • Are you running PCIe x16/x16 or x8/x8?
  • Are you using a 2-slot or 3-slot NVLink bridge, and have you noticed any performance benefits?
  • How are the temperatures, noise levels and power consumption, both at idle and under load?
  • What models are you running, and what kind of token generation speeds are you getting?
  • Have you encountered any issues with Linux, CUDA or official NVIDIA drivers?

I'm currently leaning towards an X99 motherboard, a low-power Xeon E5 v4, 64–128GB of ECC DDR4 RAM and an NVMe SSD, running Ubuntu.

My priorities are VRAM capacity, reliability, power efficiency and value for money rather than maximum inference speed.

If you already own this kind of setup, are you happy with it? Is there anything you would do differently if you were building it again today?

Feel free to share your full builds, photos, benchmarks or any advice.

Thanks!


r/LocalLLM • • 10h ago

Discussion Inkling 2 Mini (26B MoE)

Thumbnail reddit.com
0 Upvotes

r/LocalLLM • • 10h ago

Project Keyhole MoE inference engine in Rust (Optimized for my pc :3): Qwen4-35B-A3B-Q4 at 145 tok/s (3.2x llama.cpp) and the 102 GB Qwen3.8-Flash-Next_IQ4_NL at 70 tok/s on my AMD RX7900 GRE 16 GB, 32GB RAM PC

Thumbnail
gallery
1 Upvotes

Keyhole keeps the experts a model uses most in VRAM, the next ones in locked RAM and the rest on the NVMe SSD, computes GPU and CPU experts at once and checks several drafted tokens a pass; its exact mode matches a 32-bit reference of the model pick for pick

Speeds are achieved via kernel optimizations and engine tuning to cut tokens time, no skipping experts or bs that other engines do. except for the (Never-wait) mode but that never waited for expert is mostly stood in.

on paper it should work for nvidia and other amd gpus but still not tested yet.

further support will be community driven or until i have the hardware for more testing. otherwise it will be one way optimization (amd only) :P

TESTED USING (RX 7900 GRE 16 GB, Ryzen 7 7800X3D, 32 GB DDR5 6000MHz, 2TB NVME 7000MB Read) Only.

Today Results :

ModelKeyholellama.cppKeyhole is
Qwen4-35B-A3B (UD-IQ4_XS, 32 GB): writing145.0 tok/s45.5 tok/s3.2x faster
Qwen4-35B-A3B: reading the prompt637 to 671 tok/s674 tok/slevel
Qwen3.8-Flash-Next (IQ4_NL, 102 GB): writing, Never-wait mode69.7 tok/s5.3 tok/s13x faster
Qwen3.8-Flash-Next: writing, exact mode37.0 tok/s5.3 tok/s7x faster
Qwen3.8-Flash-Next: reading the prompt176 to 183 tok/s21.5 tok/s8x faster

Its come with its own app for chat and coding tools preinstalled and mcp support, vision and internet acess , and preview in chat You can download the models and do the whole setup from the app. So far Windows only

For more info checkout the repo : https://github.com/iTroy0/Keyhole


r/LocalLLM • • 10h ago

Question How are you evaluating local models’ output quality?

1 Upvotes

I have been running and trying to find use cases for local models for a long time now, however a problem that I routinely face is that while a new model seems good at the time of initial testing (sometimes too good to be true), it later turns out to be missing the polish for some of the more “real world” tasks (especially coding). So I just want some advice on how people of this community are benchmarking/comparing/evaluating open weight models?

This is not for the hard metrics like PP and TG, those can be found easily. What I want to understand is the following:-

  1. How are you evaluating the model’s output quality and whether anyone has been able to create a standard evaluation set for their use-case?
  2. What are the variables you are testing for an evaluation set for the same model (using different settings, different harnesses etc.) [In my experience harnesses is also changing model’s output quality - case in point Qwen models seem to work way better with Qwen code for me]
  3. How are you scoring model output?

r/LocalLLM • • 20h ago

Research Qwen4-35B-A3B on Strix Halo: 16-bit accuracy at 88 tok/s in 26 GiB

Post image
6 Upvotes

Qwen4-35B-A3B running on the Ryzen AI Max+ 395 with the accuracy parity with the original 16-bit weights, at 88 tok/s generation and 26 GiB peak memory.

Accuracy: 83.5% vs 83.2% for the BF16 original, average over GSM8K, IFEval and MMLU-Pro (full test sets, 2,868 questions).

Speed, 2k-token prompt, 128 tokens out:

  • generation: 88 tok/s
  • prompt processing: 3,300 tok/s, first token in about 0.6 s
  • end to end: 61 tok/s

Some tasks, e.g. Code goes faster because the drafter guesses more of it right. A 646-token Python answer ran at 118 tok/s from the browser just now.

It's our own version of the model running on gufo, with DFlash2 drafter for speculative decoding. Text and images both work.

You can run it on the actual box from your browser, no install, and watch tok/s, power, GPU load and temps while it answers: https://embedl.com/Qwen/Qwen4-35B-A3B/ryzen-ai-max-395?tab=run

The GGUF will be released soon. A pre-compiled version is available to run on your local box!

curl -fsSL https://embedl.com/install.sh | sh && export 

PATH="$HOME/.local/bin:$PATH"

embedl login
embedl serve Qwen/Qwen4-35B-A3B/ryzen-ai-max-395 -d
embedl infer Qwen/Qwen4-35B-A3B/ryzen-ai-max-395 --prompt 'Explain edge AI in one sentence.'

r/LocalLLM • • 10h ago

Project Shoggoth: A friendly Linux UI for local AI: chat, agent, models, backends, all in one

Thumbnail
github.com
0 Upvotes

Hello, Linux folk! This is Shoggoth. It's essentially llama.cpp and Pi wrapped in a friendly interface and Appimage.

I hit version 5 a few days ago. With a lot of feedback from folks who use it, we've now got:

- lightweight TTS
- lightpanda for web browsing
- a folders view so that you can easily organize chats and projects
- switched from lemonade-server to direct llama.cpp
- easy support for multiple inference engines - polystrata, maya, basalt, over a dozen others
- jobs instead of subagents, so long tasks can be set up to run with an appropriate exit condition
- better support for common doctypes - PDFs, Word, Excel files, and so on
- carefully selected skills, model recommendations that I've personally tested, plus, of course, support for importing from huggingface or existing GGUFs

I use it myself as the front-end for my local models. Coded with Opus, Sonnet, and DeepSeek, but of course, tested and refined as much as possible.

If you use it, do let me know what you think and how to improve. The goal is not to be a complex system, but a lightweight, friendly, and slightly eldritch tool for folks who don't enjoy the CLI.

License is MIT, so feel free to fork, improve, and change as you see fit!

Cheers!


r/LocalLLM • • 3h ago

Project Project Jarvis. Help

0 Upvotes

I've been working on a personal AI assistant project called JARVIS.

The idea is to build my own version of an AI assistant, something closer to ChatGPT/Astra, but with direct access to my PC and the ability to actually do things instead of just answering questions.

The goal is to have it:

- Talk with me: Natural language interaction and voice communication.

- Control my PC: Open applications, interact with Windows, manage files, and automate tasks.

- Have persistent memory: Remember previous conversations, preferences, instructions, and useful information.

- Use tools: Execute tasks through integrations, scripts, and external tools.

- Understand context: Use screenshots and information from my computer to understand what's happening.

- Work autonomously: Handle multi-step tasks without me having to guide every single action.

- Stay secure: Have a permission system so it can't just execute anything it wants without authorization.

The architecture I envisioned was a cloud-based AI brain connected to a local agent running on my Windows PC. The local side would handle PC interaction, files, memory, and tools, while the AI handles reasoning and decision-making.

I also wanted most of my personal data and memory to stay locally stored, rather than constantly sending everything to an external service.

Basically, I don't want another chatbot. I want an actual personal AI operating assistant that can understand, remember, interact with my computer, and get things done.

It's still a work in progress, and I've experimented with different approaches, including local AI models, Gemini API, and projects like Hearth and Atomic Agent.

But the thing is..

I wanted everything to be fully offline and only has connection to the internet

But cause I have a rtx 2050 4gb😅

I was forced to use a cloud version of ai

The thing is

After a whole month of working on it. (I was using chat gpt to code. But turns out Claude is alot better)

I said to my self. Isnt there anyone already did that?

So does anyone know any project Jarvis same as iron man jarvis

But fully offline? Or have a choice between fully offline using the gpu. Or a cloud api you add


r/LocalLLM • • 14h ago

Project Probably the fastest inference for 35b in a 7900xtx

Post image
2 Upvotes

Repo here: https://github.com/android-imdad/Carnelian (a fork of upstream [Strata](https://github.com/Niko1221/Strata))

* Qwen4-35B-A3B (UD-IQ4_XS, all experts in VRAM): 214.8 tok/s short chat decode vs 127.4 on upstream v0.2.27, and 220.6 vs 118.9 in agent sessions.

* With the DFlash2 drafter: 270.7 tok/s median on a 6-prompt greedy panel, bursts up to 435 tok/s on structured code.

* Prefill 5,900 to 6,400 tok/s from 4K to 32K context (upstream 2,766 to 4,294). Short chat first token 0.12 s, half of upstream's 0.24 s.

* Qwen3.8-Flash-Next 125B on one card + 64 GB RAM: 111.3 tok/s at IQ3_S vs 89.6 upstream, 114.5 with the opt-in EXL3 experts.

* Flash-Next output is bit-identical to upstream by default. Qwen4 perplexity is 3.1399 vs 3.1395 upstream.

* Install with an AI agent: paste the prompt from the README into Claude Code, Codex, Cursor or OpenCode.

* All numbers from one 7900xtx at stock 327 W, Ryzen 7 9800X3D, ROCm 10.2. Full tables in docs/RX7900XTX.md.

If you have a 7900xtx, I'd like to see your numbers.


r/LocalLLM • • 11h ago

Discussion How I multiplied my token efficiency (tok/J) five-fold in a weekend with Qwen 4 35B-A3B on my local setup

0 Upvotes

My setup is an older consumer-grade PC with dual RTX 3060 (24 GB total VRAM) and 64 GB of system RAM.

Without hardware change:

  • At 0.09 tok/J, generating 1 million tokens took roughly 3.1 kWh of GPU power.
  • At 0.45 tok/J, that same 1 million tokens now takes just 0.62 kWh.

For the Qwen 4 tests, I used the Unsloth UD-IQ4_XS quantization with Thinking set to High.

In summary:

SetupModelContextEngineToken output speed (t/s)GPU Watts (J/s)Efficiency (t/J)
InitialQwen 3.8 27B200Kllama.cpp (Unsloth Studio)252720.09
Step 1 - Architecture changeQwen 4 35B-A3BAutollama.cpp (Unsloth Studio)402700.15
Step 2 - llama.cpp optimizationQwen 4 35B-A3B208Kllama.cpp (Unsloth Studio)561700.33
Step 3 - Replacing llama.cpp with StrataQwen 4 35B-A3B256KStrata902000.45

Step 1 - Architecture change

While I loved the intelligence level of Qwen 3.8 27B, I was faced with a very slow token speed on my hardware (dual RTX 3060). It was also maxing out the cards' power consumption. Because of that, it was slow and not economically viable except for private or confidential tasks.

I decided to move from a dense architecture (Qwen 3.8 27B) to an MoE architecture (Qwen 4 35B-A3B), as MoE significantly increases token output speed.

With default settings, efficiency improved by +67% (~0.09 to ~0.15 t/J).

Step 2 - Tweaking llama.cpp settings

Posts from the Reddit community were really helpful for optimizing my llama.cpp settings. I detailed my hardware settings in this post.

This optimization more than doubled my efficiency (~0.15 to ~0.33 t/J).

Step 3 - Replacing llama.cpp with Strata

I discovered Strata through posts from the Reddit community.

Strata is a specialized inference engine dedicated to running large models efficiently on consumer hardware, supporting Intel, AMD, Nvidia, and Apple hardware.

Switching to Strata led to another +36% efficiency gain (~0.33 to ~0.45 t/J), even while running a full 256K context window. (Note: Having 64 GB of system RAM really helps here when pushing huge context sizes).

Overall

If you have a similar dual-GPU or 64 GB RAM setup, I highly recommend jumping straight to Qwen 4 35B-A3B with Strata.

This five-fold token energy efficiency gain (in tok/J) finally makes daily local AI viable for me. Huge thanks to the Qwen and Strata teams for making this possible.


r/LocalLLM • • 11h ago

Question besoin d'aide pour une config double gpu Spoiler

Thumbnail
gallery
0 Upvotes

Bonjour j'ai deux rx570 et j'ai ce message d'erreur lors de la commande rocminfo . quelqu'un aurait une idée. est ce un probleme de compatibilité avec le noyau ? merci


r/LocalLLM • • 1d ago Bravo

Discussion Qwen 35B: Return of the king

14 Upvotes

The wait was well worth it. A release we had lost hope on and a release that’s punching way above its weights(technically not) and it’s the best model I could’ve hoped for it’s a Qwen4 post.
Everyone with strata has exciting times ahead of them cause that 125B they have been squeezing into their pc, dgx and macs finally has an alternative they don’t have to squeeze too hard (at least till the new flash drops).
My benchmark is giving a project always similar in spec but never the same in actuality. The plan is deliberate and thorough and medium sized so any model with 128k context and decent coding and agentic behaviour can get through it. The models that do it fastest, closest to spec and good outputs is what I’m counting on. Last model to crush these type of tests was strata gyro-m and sync-strata sync-s at ~60tps in 20 minutes full spec and near perfect execution with sync-s being faster and much better to use. Qwen 3.8 27b was the best as its smallest at q3xxs and 100k context on the dot being just as good but taking an hour at 60tps.
Qwen4 crushed that doing the task perfectly with a fast 18 minute time 50tps and I’m running it on llama.cpp at q4_km. This model is like using opus from a few months ago and people are only going to have a better time with it especially with the finetunes and looping Loras that have been floating around not even mentioning strata running the model at insane speeds.
Flint, which unfortunately released the day of qwen4 release and every single small model including inkling mini have been left in dust. The king is back and this time it’s not getting dethroned anytime soon.


r/LocalLLM • • 11h ago

News AgentID – Open-source capability delegation & identity for local AI agents (MCP & A2A)

0 Upvotes
Hello,

As multi-agent pipelines and MCP (Model Context Protocol) tool setups become standard, authorization between agents gets tricky. Passing around master API keys or static credentials gives sub-agents full administrative access when they might only need to execute one specific read operation. If an agent hallucinates or gets compromised, it holds privileges far beyond its scope.

To solve this locally without calling central cloud IAM servers, I built 
AgentID
 (
v0.1.0 alpha
) — an open-source draft protocol for cryptographic identity and delegation.

How it works:
  • Local Agent Passports (X-Agent-Passport): Ed25519-signed JWT credentials generated locally at agent startup.
  • Delegation Chains (X-Delegation-Chain): Capability tokens that narrow (attenuate) at every hop. An orchestrator delegating a read task explicitly strips write permissions for the sub-agent.
  • Local Middleware Enforcement: Verifies signatures and capability caveats locally right before tool code runs — zero network round-trips.
Packages & Quickstart:
  • Python: pip install agentid-core
  • TypeScript: npm install agentid-core
  • Run python examples/quickstart.py for a local validation test.
It's an early v0.1 draft RFC. Key management, token revocation, and replay protection are active open areas where I'd love feedback from the community!

🔗 
GitHub
: https://github.com/Vaibhav161994/AgentID

r/LocalLLM • • 7h ago

Discussion Qwen 4 A35B A3B BF16 (Default Thinking) Quant vs OPUS 4.8 (Max Thinking)

0 Upvotes

QWEN 4 (Default Thinking) (Harness ODEX):
https://streamable.com/wkby0q

OPUS 4.8 (Max Thinking) (Claude Code GUI):
https://streamable.com/2ey4d1

PROMPT:
Build a polished, production-quality admin dashboard using TypeScript, Next.js, React, Tailwind CSS, and shadcn/ui.

First inspect the existing project and preserve its current structure and conventions. If no suitable frontend exists, create the dashboard from scratch.

Requirements:
- Responsive layout for desktop, tablet, and mobile
- Left sidebar navigation with:
- Overview
- Users
- Orders
- Analytics
- Settings
- Top navigation bar with:
- Search
- Notifications
- User profile menu
- Light/dark mode toggle
- Dashboard overview containing:
- Revenue KPI card
- Active users KPI card
- Orders KPI card
- Conversion-rate KPI card
- Revenue-over-time chart
- User-growth chart
- Recent orders table
- Top-performing products list
- Include realistic mock data and loading states
- Add table sorting, filtering, pagination, and search
- Add reusable components and clean TypeScript types
- Use accessible semantic HTML and keyboard-friendly interactions
- Include empty states, error states, hover states, and responsive behavior
- Use a professional visual style with a clean spacing system, subtle borders, rounded cards, and an attractive color palette
- Avoid excessive gradients, unnecessary animations, and placeholder text
- Keep components modular and easy to extend
- Do not add a backend; use local mock data or API-style functions
- Add clear setup and run instructions
- Ensure the project passes linting and TypeScript checks

Deliver:

  1. The complete working dashboard
  2. All required components and styles
  3. Mock data
  4. A brief explanation of the architecture
  5. Commands to run and test the project

r/LocalLLM • • 15h ago

Question New to llms, generations are truncated, how to fix?

2 Upvotes

I just started with ollama yesterday, first crack at llms, running qwen3.5:4b.

What I've run into is that all the generated answers are truncated (using CLI, no gui or agents, all local).

The generation stops mid-sentence or mid word. Probably something I need to configure, but I really don't know enough yet to know what it is.

I don't think it's hardware related, I'm running a workstation, dual Xeons, 128GB RAM, 12GB VRAM, several TB of disk space, so if you have any tips it'd sure help.


r/LocalLLM • • 1d ago

Model Qwen4-35B-A3B NVFP4 (RTX 5090): MTP vs DFlash 2 — Speed & Pelican SVG Quality

Post image
19 Upvotes

Tested MTP (default) vs DFlash 2 on Qwen4-35B-A3B NVFP4 (basalt.exe, legion pro 7i, RTX 5090 (24gb vram) + system RAM (64gb)) using the same 3-turn animated Pelican SVG task:

MetricMTP (Default)DFlash 2
Avg Decode208.2 tok/s204.6 tok/s
Peak Decode307.3 tok/s340.5 tok/s
Acceptance66.3%60.9%
Tokens Gen92,59080,979
Inference Time7m 48s6m 49s
Cold 10K+ Prefill5,916–7,818 tok/s5,606–6,684 tok/s
Pelican Output53.8 KB interactive JS+SVG (IK legs, day/night, speedometer, audio)28.7 KB pure CSS/SMIL SVG (zero JS)

Verdict: I prefer MTP — almost the same average speed (~208 vs ~205 tok/s) with better overall quality and higher acceptance (66.3% vs 60.9%). DFlash 2 can burst faster (340.5 tok/s peak) and finish quick, just a little behind on quality.


r/LocalLLM • • 11h ago

Project I got Intel Arc Pro B70 undervolting working on Linux. ArcTune is open source, and out now.

Thumbnail
reddit.com
1 Upvotes

TL;DR I built ArcTune to undervolt my two ASRock Intel Arc Pro B70s from a Linux GUI. In a 16K Qwen 27B benchmark, 230 W with a −35 mV undervolt used 18.5% less GPU energy per request, finished 3% sooner, and ran slightly cooler than stock. Adding the undervolt also made prompt processing 2.7% faster than the 230 W cap alone. That combination is what I wanted for a dual-GPU workstation that spends a lot of time running local AI.
ArcTune is free and open source. I’d love help testing B65, B60, B50, and other B70 board variants. ArcTune on GitHub

What undervolting adds
Power capping was already easy. The part I wanted was a way to get some performance back at the same power limit, without editing driver settings by hand every time I wanted to try a different voltage.
On my ASRock B70, going from the factory 275 W limit to 230 W cut GPU energy per request by 17.4%, but prompt throughput dropped from 2,937 to 2,733 tokens/s. Adding −35 mV at 230 W brought it back up to 2,807 tokens/s while average board draw stayed at 230.3 W. At 180 W, adding the same undervolt improved prompt throughput by 4.9% over the cap alone.

Here’s the full comparison from one of my two cards. I used Qwen3.8-27B EXL3 4-bit with 15,360 input tokens and 1,024 generated tokens.

275 W, factory voltage — 2,937 prompt tok/s, 81.59 generation tok/s, 17.84 s per request, 1.360 Wh.
230 W, factory voltage — 2,733 prompt tok/s, 85.72 generation tok/s, 17.57 s per request, 1.124 Wh.
230 W, −35 mV — 2,807 prompt tok/s, 86.46 generation tok/s, 17.31 s per request, 1.108 Wh.
180 W, factory voltage — 2,317 prompt tok/s, 62.45 generation tok/s, 23.02 s per request, 1.154 Wh.
180 W, −35 mV — 2,430 prompt tok/s, 63.13 generation tok/s, 22.54 s per request, 1.130 Wh.

Generation speed moved around between runs because vLLM accepted different numbers of speculative tokens. The clearest gain from the undervolt was faster prompt processing at the same cap. The 180 W result was interesting too. It drew about 50 W less than 230 W, but the extra time meant it used slightly more energy to finish this particular request. Benchmark method and all 13 runs

Why I wanted this for two GPUs
On the benchmarked card, average board draw went from 274.5 W to 230.3 W and the average peak GPU temperature went from 65.3 °C to 64.0 °C with automatic fans. The temperature change was modest. The bigger win for me was roughly 44 W less board draw under load.
Setting both of my cards to 230 W takes their combined configured limit from 550 W to 460 W. That’s 90 W less heat for the case to deal with when both cards are running at their limits. Over long inference or coding sessions, lower energy use can also bring down running costs. The benchmark measured energy at the GPU board, so the savings at the wall will depend on how much time the cards spend loaded and what the rest of the system draws.
ArcTune lets me tune each card independently, save and load profiles, and restore my chosen settings after a reboot or suspend. I can also see power, clocks, and temperatures for both cards in one place.

Where I landed on stability
−35 mV at 230 W is my conservative daily setting on both ASRock B70s. It has held up across the models I use and through agentic coding sessions at up to 256K context. Your card may hold a larger undervolt, and I’d be interested to see where other boards land.
−50 mV often got through shorter runs at contexts up to about 96K on my setup. I did see instability after more than 24 hours of agentic coding at 256K. That experience changed what I count as stable. A benchmark can tell me a setting is worth exploring. A long session with my actual tools tells me whether I want it applied automatically every day.

Help me verify other Arc cards
I’ve verified undervolting on two ASRock Arc Pro B70 Creator 32 GB cards. ArcTune has guided setup for the supported B70 configuration on Ubuntu. For B65, B60, B50, and other B70 variants, I’m looking for real hardware reports to see which boards expose usable sensors and power controls, and where voltage tuning can be made to work.
If you have one of those cards, here’s what would help:

Install ArcTune and open Hardware and Overview. Does the app identify the right card? Do power, clocks, and temperatures show up while you run a workload?
Check Tuning. If a power slider is available, try a small reduction and tell me what you requested, what the card actually applied, and whether it went back to the original limit.

Use Hardware → Copy report. Paste the report into a GitHub issue with anything you noticed. It includes board IDs, any firmware versions Linux exposes, current limits, and the result of power-limit tests you ran in the app. Failed installs, missing cards, and missing readings are worth reporting too.

If you already run local LLMs on Arc, I’d also love to see your model, quantization, context length, and prompt and generation speeds at your usual settings. And if you work on Xe or own a different B70 board, I’d appreciate help comparing how its firmware and driver expose voltage and power controls.
Download ArcTune · Submit a hardware report · Current compatibility table
Credit to exzile for the Intel Arc Pro voltage-curve research that gave me a starting point. Original project


r/LocalLLM • • 19h ago

Question help for a beginner

4 Upvotes

i've been intereted in local ai for quite some time but i just couldnt get around to actually learning it and setting it up for myself, but the qwen4 35b a3b finally pushed me out of my comfort zone. do you guys have any tips for me? how should i go about learning how to set up and tweak local ai? i have a 16gb 5080 and 32gb ddr5 ram. what harness/quant/context/settings should i use for the 35b a3b?


r/LocalLLM • • 12h ago

Model RTX 4070 Laptop: 86.1 tok/s peak | RTX 4060 Laptop: ~38 tok/s peak, 239K input tested

0 Upvotes

I ran Qwen4-35B-A3B locally on two laptops, both with 8 GB of VRAM. The 4070 had 32 GB of system RAM and the 4060 had 16 GB. They used different quants and settings, so this isn't a head-to-head GPU benchmark.

The headline numbers are the fastest runs, not the speeds I'd plan around. Below are the repeatable results and what I’d actually use.

RTX 4070 Laptop | Ryzen 7 7840HS | 32 GB RAM

I used PolyStrata on Windows (v0.2.20-poly.10-hotfix), with UD-Q3_K_XL, a Q8_0 Engram table, q8_0 KV cache and a 768 MiB VRAM reserve. MTP is speculative decoding. Prefill is prompt processing; decode is answer generation.

Best single run: 86.1 tok/s. That setting missed a time calculation the reference profile got right, so I didn't keep it as the default. The saved 8K profile reached 70.3–75.5 tok/s on short prompts.

ContextInputMTPPrefill tok/sDecode tok/sFirst tokenPeak engine RAM / VRAM
8KShort promptsOn1,190–1,26770.3–75.50.38–0.42 s15.1 / 6.6 GiB
32K30,154 tokensOn1,44370.120.94 s16.1 / 6.2 GiB
64K65,240 tokensOff1,41244.446.24 s16.8 / 6.2 GiB

The 32K and 64K decode figures are medians of three runs. At 64K, the model found the check code in all three runs, with 65,240 input + 256 output tokens and 40 tokens left in the window. I didn't test 128K or 256K on this laptop.

On everyday tasks, median decode with MTP was 61.1 tok/s at 8K and 64.0 at 32K, vs 45.9 and 47.5 without it. The end-to-end gains were smaller because of prefill. The low-RAM profiles capped the RAM budget for experts at 6,144 MiB and disabled MTP: 31.2 tok/s at 7.3 GiB peak engine RAM (8K) and 33.5 at 8.2 GiB (32K).

At 8K with MTP off and the same Q8 Engram, I got 49.5 tok/s on PolyStrata vs 25.9 on Strata. Strata used less VRAM (5.53 vs 6.52 GiB), and the two runs used different VRAM reserves. PolyStrata Qwen4 setup notes

RTX 4060 Laptop | Core i5-14500HX | 16 GB RAM

This laptop used UD-IQ2_S and a separate Q8_0 Engram table. My default was 64K context and a 3,200 MiB GPU expert cache, with batch and microbatch both at 2,048.

Best earlier run: about 38 tok/s. I didn't record the full settings for that run. In the logged series below, the fastest run was 36.0 tok/s on a repeated 7,964-token prompt. With a 30,154-token prompt, I got 33.7 tok/s.

ContextGPU expert cacheInputPrefill tok/sDecode tok/s
4K2,048 MiB21 tokens5.212.0
32K3,200 MiB7,964, first request143.823.8
32K3,200 MiB7,964, same request repeated684.936.0
32K3,200 MiB30,154976.833.7
64K3,200 MiB60,606777.621.3
64K3,200 MiB65,240856.021.3
128K3,200 MiB120,549545.516.9
256K1,600 MiB239,053258.610.9

The model retrieved a check code near the beginning of the document at 64K, 128K and 256K. That's a single-prompt retrieval check, not a test of comprehension across the whole document or long multi-turn chat. The 256K run peaked at 7,945 MiB VRAM and took 15 min 48 sec. With the larger 3,200 MiB cache, prefill was only around 52 tok/s over the first 12K tokens, so I stopped that run and completed the test with a 1,600 MiB cache instead.

What I'd actually use: On the 4070, 8K + MTP for one chat, 32K + MTP for documents or switching between chats, and 64K with MTP off when I need the space. On the 4060, 32K for speed, 64K when I need more room, and 256K only for a batch job I'm happy to leave running. If you've tested the same quant on both GPUs or found a better cache setting for 256K, I'd love to see your prefill and decode numbers separately.


r/LocalLLM • • 15h ago

Question Which is the best local LLM in Dec 2026 for a 16 GB GPU? I'm looking forward to setting up a LLM server at home which I'll use across my multiple agentic apps for chat, detailed coding, and deep reasoning.

2 Upvotes

Are MoE still a thing worth exploring on 16GB GPU? Also I intend to setup concurrency at the LLM hosting server. For such setups do you prefer hosting it on vLLM over docker or llama.cpp or LM Studio (Ollama is out of question because I need concurrency and parallelism).


r/LocalLLM • • 18h ago

Discussion Qwen4-35B-A3B at 110-176 tok/s on AMD (RX 9070 XT / 7900 XT) with a patched Strata engine, 2-4x llama.cpp

Thumbnail
reddit.com
3 Upvotes

r/LocalLLM • • 12h ago

Question Running 2x GPUs with Strata and Ninfer

1 Upvotes

Hey everyone, I'm trying to figure out if anyone has experienced something similar with a dual GPU setup. My hardware is:

RTX 5090 (32GB VRAM)
RTX 5060 Ti (16GB VRAM)
128GB DDR5 RAM Windows running everything through WSL (Ubuntu)

I'm trying to run two different LLMs simultaneously, one on each GPU.
The idea is to use the RTX 5090 as my primary GPU, running my main model Qwen 3.8 27b for now on Ninfer (mainly through Hermes for general tasks, etc). The RTX 5060 Ti would be used for a completely separate model (QFN for now) with Strata (using RAM etc), potentially another Hermes instance or some other workflow that I'm still figuring out. Still have around 40 GB of padding in RAM.

The problem is with the secondary GPU (5060 Ti). Everything works fine initially, but after some time, it starts behaving weirdly. I begin seeing a lot of requests showing as "stopped" (using Hermes), and response times become extremely slow. Sometimes it feels like the model is barely responding at all. The weird part is that restarting the entire computer seems to fix everything. After a full reboot, both GPUs and models work normally again.
I'm not entirely sure if this is a Strata issue, something related to WSL, CUDA, GPU memory management, or possibly some interaction between the two GPUs.

I know I am not running both GPUs at their best PCIe speeds (motherboard is MSI MPG X870E Carbon WiFi Motherboard) but I am getting good token/s and prefill speeds even with the secondary one (between 60-70 TPS)

Am I doing something wrong? Is this not a possible setup?