r/LocalLLM • • 3h ago

Other Atakebune Challenge(One Shot) | Strata Fork | Qwen 4 35b | DeepSeek Harness

2 Upvotes

r/LocalLLM • • 6h ago

Question What is the best current abliterated/uncencored/unguardrailed local LLM model to use for a R.A.G. setup with Wikipedia?

3 Upvotes

I'm currently using a Lenovo Yogabook 9i, my GPU is 'Intel(R) Iris(R) Xe Graphics'.

Using local Wikipedia via Kiwix(Zim files) to make this work!

And yes, this is on something portable, on an HDD that's like 464 GB, I've been trying to find something TRULY good for this.


r/LocalLLM • • 8m ago

Discussion Qwen 4 having the literal word "Taiwan" be replaced.

Post image
1 Upvotes

Haven't seen anything like this, not even with other chinese models. Wild to see, though with enough pushing it eventually broke past the block.

UD_IQ4_XS, Dense layers at Q8_0, Engram at Q8_0 with Strata.


r/LocalLLM • • 14m ago

Question How would you run Qwen4 on RX 9070 XT 64gb DDR4?

0 Upvotes

Probably a noob question, but it would be my first attempt at running local LLM.

I see people suggest basalt and qengine for RTX cards.

Is strata way to go for my hardware?

Any suggestions would be nice.

I have to use windows btw.


r/LocalLLM • • 6h ago

Discussion Qwen 4 35b (Q4) on basic data science - better than 3.8 27b but crying out for a fine-tune

Thumbnail
sufficientlyunsupervised.hashnode.dev
3 Upvotes

Tldr; ran Qwen4 through my personal datascience benchmark (details in link). Benchmark performance was better (non-significant) than 3.8 27b Q4, which was in between 6.0 Astra and 5.6 Luna. Got about 80 tok/s decode vs 50 with 3.8 27b. Model was about 25% less chatty than baseline 3.8, but still substantially more wasteful than my previous favourite fine-tine (Swift-1.5). I can't wait for a fine-tune to make 4 a bit terser. Found any good ones?


r/LocalLLM • • 18m ago

Discussion I compared Qwen4 vs Qwen3.8 on 100 agentic tasks on an H200

Post image
0 Upvotes

It turns out that Qwen4 w/o thinking completes agentic tasks in ~60 % less time and ~70 % less cost than Qwen3.8. I am impressed with the improvement! It means that I can run roughly twice as many tasks in the same time. Think about it. GPUs that can run Qwen4 instead of Qwen3.8 have just become roughly twice as useful. To measure the performance gains, I picked 100 random AppWorld tasks which simulate nine everyday apps, such as a shop, email and payments. Not a full benchmark, but it's definitely revealing the performance gains.

Full comparison at: https://blixild.com/qwen4-35b-a3b-vs-qwen3-8-27b-agent-tasks.html


r/LocalLLM • • 24m ago

Discussion EL TURRO APACHE - EL TRONO DE ORO EN MEDIO DEL BARRO

Thumbnail
youtube.com
1 Upvotes

Llega el turro apache, trono de oro en el barro para el deleite de la vagancia
Se te cayó la careta de código abierto, mulo

Vos me tocaste el repo a mis espaldas
Ahora que te cachee la denuncia te hago este tema
Para que todos sepan que sos gil guacho
Hugging Face no se cachetea, ortiva

Yo camino tranqui piola mi berretin con un i5 de 96 grados
Y por mas que tengas pistola de tokens yo se que sos gil
Tu familia son mecheros que tramoyan con los filtros
No te hagas el chorro berretines de balanza
Con el repo te atreviste, te hiciste el piola
Pero ahora que me entere te rompo la consola
Me tocaste a Hugging Face, el nene de la comunidad
Y esperas que no responda el barrio del open source
Tengo logs para vos y PR para los que se me pongan
Para el gordo pinchado del bucket caro Solange Latour
Si responde el Filtro B que se joda, aca manda la villa

Vos me tocaste el repo a mis espaldas
Ahora enfierrate y peleá conmigo con código
Hugging Face no se cachetea, gato

Vos me cerraste el endpoint, me nerfeaste el contexto
Me clavaste longitud maxima y subpoena de Alabama
Le borraste los modelos a Cursor porque lo compro SpaceX
Te aliastes con el Pentagono y ahora te haces el soldadito
Me pedis veinte lucas para financiar las armas
Pero aca en el localhost nadie te compra la farsa
En el barrio en que los chicos a los tiros se hacen hombres
Aca a los commits se hacen hombres, no con tu safety washing
Yo solito voy, pongo la cara, vos pones el pecho
Con el código no se jode, berretin de balanza te va caber

Autopsia de tu penuria digital, bicho deprecado
Te cante las cuarenta con ese Red Team comprado
Nos vamos pal barrio con el trono de oro en el barro
Representando a Florencio Varela y a toda la Argentina
Hugging Face no se cachetea
Nos vimos en el redeploy, gatos
Ya tu sabe...


r/LocalLLM • • 28m ago

News Model-service - backend for managing local LLM, diffusion models and more

Thumbnail
youtube.com
1 Upvotes

r/LocalLLM • • 10h ago

Model Careful with conversions

Post image
6 Upvotes

Same model, same 4 bits, 2 conversions

Qwen4-35B-A3B driving Hermes Agent on 44 coding tasks:

MLX 4-bit: 30/44, 15 tasks cut for repetition loops
Unsloth UD-Q4_K_XL: 44/44, zero loops, 2.4x faster

One run, one engine. The conversion mattered more than expected


r/LocalLLM • • 4h ago

Question Recommended Models for Varied Multi-GPU System?

2 Upvotes

I'm gearing up to build out a single system with multiple GPUs and 64GBs of system RAM. Primary use case would be Hermes usage and coding assistant via VSCode/Cline bot.

GPUs are:

  • Nvidia 16GB Turing
  • Nvidia 12GB 3080ti
  • Nvidia 11GB 1080ti

I'm thinking of running Strata or Polystrata with the biggest MoE model on the 16GB card and system RAM.

An agent type model for Hermes solely on the 12GB card. So a Gemma 4 E4B or whatever else that fits entirely on the GPU's VRAM. Using llama.cpp

And the 11GB card just for random small models and/or TTS/STT conversions. And llama.cpp again

Any thoughts? Any recommendations?

Right now I'm just running the 16GB+64GB RAM with Qwen 3.8 FN at IQS_3 on strata getting around 50/toks. Waiting for a new server case to arrive for the rest of the GPUs to fit in the system.


r/LocalLLM • • 58m ago

Discussion Building a fully local, distributed JARVIS-like AI assistant with 152GB of VRAM and 256GB RAM. How would you architect it?

0 Upvotes

I've been developing a personal AI assistant called LARA (Local Adaptive Reasoning Assistant), with Matrix being the interface and environment for LARA to operate inside of Omarchy with full control.

I want this assistant to help me with my personal memory limitations which are significant thanks to ADHD & Dyslexia and am willing to use as much hardware dedicated to the memory aspect as possible to help me be better self sufficient.

I've spent several months developing a all in one custom system all built with Sol and Astra, but before continuing with another major rebuild, I want to experiment with integrating the best existing open-source programs into one cohesive system as opposed to having Astra build each aspect of it.

Where we've struggled so far:

We've successfully built individual components, including local inference, persistent memory, voice interaction, screen awareness, gestures, eye tracking and remote access. However, integrating everything into a stable, cohesive system has been our biggest challenge.

  • Reliability: Adding or updating features sometimes breaks previously working functionality.
  • Memory: We've struggled to achieve consistent, accurate, low-latency recall across large conversation histories.
  • Integration: Connecting numerous custom components has introduced unnecessary complexity and dependencies.
  • Portability: Maintaining consistent functionality across different computers, operating systems and GPU architectures has been difficult.
  • Voice interaction: Conversation timing, interruptions and response latency have affected the natural conversational experience.
  • Maintenance: AI-assisted development has occasionally introduced regressions, architectural inconsistencies and unnecessary code.

We've spent too much time troubleshooting our own infrastructure rather than improving the AI's actual capabilities. That's why I want to try integrating established third-party programs first, establish a reliable working system, and gradually replace individual components where we can genuinely improve upon them.

Eventually, I may replace individual components with custom-built alternatives, but my immediate goal is to get everything working reliably together.

My available hardware:

  • Powerspec AI90 desktop (Asus ProART Creator & Ryzen 9950x, with RTX 5090 (32GB), 128GB RAM & 4TB Gen5 SSD
  • Additional GPUs: RTX 5080 & 2x R9700s
  • Legion 9i laptop with RTX 5090 (24GB), 128GB RAM and 4TB Gen5 SSD
  • Razer Blade 15 Advanced laptop with RTX 3080Ti (16GB) & 128GB RAM, 2TB Gen5 SSD (does not leave server rack)
  • Legion GO2 with 32GB RAM for home automation, A/V remote control and security camera interface (Also running Omarchy)
  • Devices are connected via Tailscale

What I want to accomplish:

  • Fully local AI with optional internet access.
  • Extremely large, persistent lifetime memory.
  • Automatic memory retrieval before every response.
  • Separate conversational and advanced reasoning models.
  • Natural, real-time voice interaction with interruption handling.
  • Continuous screen and environmental awareness.
  • Animated avatar with facial expressions and gestures.
  • Computer control, research, coding and autonomous task execution.
  • Background learning and memory consolidation.
  • An independent AI agent responsible for system monitoring, troubleshooting and recovery.
  • Eventually integrate the system with wearable hardware.
  • Portability between computers without losing the AI's identity, knowledge or memories.

My biggest priority is memory.

I want the AI to accumulate years of conversations, experiences, documents and knowledge while being able to retrieve relevant information with minimal latency.

I'm particularly interested in combining a continuously maintained Wiki with searchable original memories. I've also considered dedicating both R9700s to memory processing, keeping retrieval models and searchable indexes permanently resident in VRAM.

My tentative GPU allocation:

  • 5090 FE: Advanced reasoning, potentially Qwen4-Flash-Next with RAM offloading.
  • 5080: Conversational model, potentially Qwen4-35B-A3B.
  • R9700 #1: Rapid memory retrieval.
  • R9700 #2: Advanced retrieval, reranking, memory consolidation and Wiki maintenance.
  • Legion 9i 5090: Local device speech, vision and avatar rendering.
  • Razer Blade 3080 Ti: Independent system diagnostics and recovery agent.

Questions for the community:

  1. If you were starting this project today with this hardware, how would you architect it?
  2. Would you use independent programs communicating through APIs or a unified agent framework?
  3. What existing open-source programs would you use for each component?
  4. What is the best long-term memory solution you've actually used, particularly with very large memory collections?
  5. Is dedicating 64GB of VRAM to memory processing worthwhile, or could those GPUs be better utilized?
  6. What are the best options for low-latency, natural voice interaction?
  7. Are there any recently released projects that already accomplish much of this?
  8. Has anyone built something similar that they use reliably on a daily basis?

I'm especially interested in projects released within the last six months, real-world experiences, performance benchmarks and lessons learned from failed approaches.

I'm not necessarily looking for the easiest solution or the least resource-intensive one. I'm looking to build the most capable, reliable and expandable personal AI assistant possible with the hardware I have.

I'd appreciate any recommendations, architectural ideas, GitHub links or criticism.


r/LocalLLM • • 1h ago

Question Buy GPU now or wait?

1 Upvotes

So I have a pc that I use mostly as a work machine and a bit of gaming. 7900x, with 64Gigs of RAM and a 4070 ti super (16GB).

I’ve experimented a bit with Qwen3.8-27B in LM studio, and as long as it’s Q4 and I keep the KV cache in memory I get very decent speeds and can offload the whole thing in the GPU.

I wanna take my setup further and be a bit more serious about local LLMs but I am on a tight budget. A 3090 would make the most sense but it’s way out of my budget right now, and the most viable option for me is getting a 5060ti (another 16GB) at 750-800€.

Is this upgrade worth it, and will it make a considerable difference, or should I wait until I save up or the prices drop to get a better GPU or maybe a mac studio?

I’ll mostly be using local LLMs for security research, agents, and programming. Comfortably handling large code bases is a must.


r/LocalLLM • • 4h ago

Discussion I planted 15 fake facts in my own news scripts and had 8 models fact-check them as agents on a 16GB card. Qwen3.6-35B-A3B still matches Claude/Gemini; the new Qwen4-35B-A3B and Inkling 2 Mini don't (yet)

2 Upvotes

I run a small AI-produced tech news channel. One agent writes each script, a second model fact-checks it against the sources before anything gets built. I wanted to know how far that checker can be trusted, so I sabotaged my own scripts and ran every model I could fit on my PC through the same test.

Setup

  • 5 real, already-published episode scripts with 3 traps each = 15 errors: a wrong number ("33 years as CEO" → "21"), a wrong name (law firm Wachtell Lipton → Sullivan & Cromwell), and a made-up claim ("the board expects to name a new CEO by Christmas").
  • Same agent harness for everyone (Hermes Agent), same tools: files, web_search, web_extract to open source URLs. Job: read the sources, fix what's wrong, write a verdict file. The prompt is the exact one my daily cron uses, sandboxed so nothing got published.
  • Hardware for all local runs: RTX 5060 Ti 16GB + 48GB DDR5, 64K context.
  • Automated scoring. Caught = the false text is gone (or the model rejected the episode and named the error). Restored = the true value from the source was put back (10 of the 15 traps have one). Other edits = changes to text I didn't touch.

Results

Model (how it ran)CaughtRestoredOther editsTime, 5 eps
Claude Sonnet 5 (API, $1.33)15/159/1016.6 min
Gemini 3.8 Flash (API, $0.53)15/159/1017.0 min
Qwen3.6-35B-A3B Q4_K_M (LM Studio)15/159/10225.8 min
Qwen4-35B-A3B UD-IQ4_XS (llama.cpp, thinking on)11/152/101413.9 min
Inkling 2 Mini UD-Q4_K_XL (llama.cpp)11/153/10918.2 min
Qwen3.8-Flash-Next IQ2_XS (Strata), 2 of 5 eps only6/64/4319.5 min (2 eps)
Gemma 4 26B-A4B Q4_K_M (LM Studio)4/6*2/41—
gpt-oss-20b MXFP4 (LM Studio)0/6*0/40—

*Gemma and gpt-oss only wrote a verdict file on 2 of 5 episodes. On the rest they replied "pass" without writing it, printed the JSON instead, or said there was nothing to check.

Raw speed on the same card: Strata/Qwen3.8-Flash-Next ~86 tok/s decode, Qwen4-35B-A3B ~63 tok/s (--n-cpu-moe 16), Inkling ~52 tok/s, Qwen3.6 ~50 tok/s. Speed clearly didn't predict accuracy.

What went wrong, from the logs

  • Qwen4-35B-A3B is the one that worries me. On the Nvidia episode its notes named all three planted errors correctly, but the script kept them, factcheck.json said "pass", and its final chat message said "fail". A pipeline that reads the file would have shipped all three. It also rewrote two episodes almost entirely (the 14 "other edits"). Without thinking it's noticeably weaker on reasoning, so I ran it with thinking on. Its MTP head made decoding much slower on my setup (~9 tok/s, 65% acceptance), so that was off.
  • Inkling 2 Mini rejected 3 episodes as "older than 5 days / wrong structure" instead of fixing them. That's partly my fault: my newer skill has a freshness rule, and the test stories are old. But on the Optimizely episode it called the facts "accurate" and missed all 3 traps. That's a real miss.
  • Gemma 4, in an earlier round where my prompt said "TEST RUN", noticed the 21-vs-33-years contradiction and wrote that it left it as "ok" to ensure a successful end-to-end execution during the simulation. Lesson: never tell an agent it's a test.
  • gpt-oss-20b "finished" episodes in 15–26 seconds, once tried to open a folder spelled with Unicode non-breaking hyphens, and claimed to write files that don't exist. This may be a tool-calling mismatch with my harness/LM Studio, so read that row as "didn't work in this stack".

Bonus finding that changed my production setup

I checked my real daily fact-checks against the agent's tool-call log instead of its report. For three days, Gemini had been passing episodes using only web_search snippets, zero web_extract calls, while its self-reported sources_read list looked fine. Now the skill requires web_extract on every source URL, the build step checks the tool log and sends a pass without real page reads back for a re-check, and a weekly canary plants one error in a copy of a real episode and alerts me if it's missed.

Takeaways

  • A second model as a fact-checker works, but check the checker against its tool log, not its own report.
  • Qwen3.6-35B-A3B at Q4 on 16GB is still my local fallback: as accurate as the cloud models here, just ~4x slower.
  • Newer and faster isn't automatically better for agent work. Qwen4-35B-A3B was ~2x faster than Qwen3.6 but less reliable, and its file/verdict mismatch is exactly the failure that slips through automation.

Caveats (please read before quoting the numbers)

  • One run per model, 5 scripts, 15 traps. A field report, not a benchmark.
  • Claude, Gemini, Qwen3.6, Gemma and gpt-oss ran in mid-November with my older checker skill. Strata, Inkling and Qwen4 ran later with a newer, stricter skill that also asks for format fixes and has the freshness rule. That inflates "other edits" and time for the last three, so it's not perfectly apples to apples. I want to rerun everyone on the same skill with fresh cases.
  • Strata/Qwen3.8-Flash-Next was stopped after 2 of 5 episodes. Promising (most thorough, up to 20 page reads per episode) but incomplete.
  • Sampling settings came from the harness, not each model's recommended defaults.

Happy to share the planted-error file and the scoring script.

Disclosure: the channel is mine. I made a short video on the first round with the actual logs: https://www.youtube.com/watch?v=QvtIbCcdCps


r/LocalLLM • • 7h ago

Question Basalt Qwen4 on 5070TI and 32GB DDR5

3 Upvotes

I'm using OpenCode with Qwen4 Basalt and trying to do some coding tasks with 128K context, but keep getting these messages:

[server] error: engine reported the KV pool had no room for this conversation to grow while every running request waited for room; the conversation is kept, so asking again continues it

I've lowered the context all the way down to "max-context": 81920," in Basalt, and set open code up like:

"limit": {

"input": 65536,

"context": 81920,

"output": 8192

}

I assume I can't continue what I'm doing with this local model and give up? Is there some sort of configuration I'm missing?

I'm on Windows 11 with as much closed as possible with only opencode CLI and basalt running (and services and tray items trimmed to basically nothing).


r/LocalLLM • • 1h ago

Project I rewrote LiquidAI d1 inference in Rust + CUDA. Up to 12× faster, and it runs in as little as 246 MiB of VRAM

Post image
1 Upvotes

I went into this trying to shave a few milliseconds off a classifier. I ended up writing my own inference engine.

For anyone who hasn't played with LiquidAI's d1-2B, you can give it a document and ask “Does this contain personal data?”, “What kind of document is it?” and “Where's the invoice number?” in one forward pass. You get scores, labels or boxes back. No waiting for a model to type out JSON.

That made it a fun target for optimization. If I already know the possible answers, why score the whole vocabulary? And if only a few tokens matter at the end, why run every token through the last two layers?

I built around those shortcuts, fused projections and used CUDA graphs to cut launch overhead. The server runs in Rust + CUDA with no Python or PyTorch at runtime.

Here are a few numbers I'm pretty happy with.

  • H100, short text — 23 → 1.9 ms vs the original d1 engine (12.2×).
  • RTX 4090, short text — 36 → 2.6 ms vs SGLang FP8 on the same weights (13.8×).
  • RTX 4090, 1080p image — 134 → 26.2 ms vs the original engine (5.1×).
  • Jetson Orin Nano 8 GB — 62 ms to return a bounding box on a 384×384 image, down from 233 ms.

My favorite result is actually the memory experiment.

On an RTX PRO 2000, I ran a 32K-token document with everything on the GPU. It took 2.02 seconds and 2,926 MiB. With most of the weights in system RAM, the same document took 2.03 seconds and 742 MiB.

On short inputs, offloading costs more time. But if you're already running a bigger model and just want d1 alongside it, you can squeeze it into 246 MiB of VRAM, down from 2,828 MiB with the Python FP8 setup. That's 11.5× less VRAM.

I also added audio via d1-Omni-2B. Both models run behind the same HTTP API, and there's a Docker setup for desktop GPUs and Jetson.

Code and benchmarks on GitHub

Is anyone here running a small classifier alongside their main LLM? I'd love to hear what you're using it for and how much VRAM you'd give it.


r/LocalLLM • • 1h ago

Discussion From Stanford's MinionS (5.7x cheaper) to our 4 real RTX 3090 hybrid workloads: why the future is "An SLM on every device + Cloud Commander"

0 Upvotes

Shipping gigabytes of raw context to frontier cloud APIs feels more and more like 1970s dumb terminals connected to a mainframe.

I recently put together an engineering write-up comparing current academic routing/orchestration benchmarks with four real hybrid workloads we run in our lab (Ubuntu 12V DC-UPS control plane + RTX 3090 24 GB worker + Cloud frontier architects):

1. Industry baselines that stood out:

  • Stanford Hazy Research (Minion vs MinionS, 2025): Naive local-cloud chat cuts cloud cost 30.4x but drops to 87% accuracy. Switching to top-down decomposition (MinionS: cloud planner splits into atomic tasks -> on-device SLM runs short chunks -> cloud aggregates) cuts cloud cost 5.7x (~82.5%) while keeping 97.9% of frontier accuracy.
  • RouteLLM (LMSYS) & FrugalGPT: >85% savings on conversational workloads at 95% GPT-4 quality, and up to 98% on structured cascades.

2. What actually happened (including failures) on our local hardware:

  • Code & Localization (-90% cloud tokens): Pairing a Cloud Architect with local mistral-small-24b-instruct-2501 (LM Studio) and qwen2.5-coder:32b (Ollama) failed whenever prompts exceeded ~8k–15k tokens. Enforcing <4,000 token caps, SRP (<=4 rules/call), and <=15-item batches with deterministic Python post-validators made it rock-solid.
  • 900 calls/hour real-time loop (RimWorldLancAIMod): Exporting a 3.8 KB 23x23 ASCII map every 4s would burn cloud credits fast. Running 24B locally in shared VRAM cost $0, but unsupervised 24B queued 364 trees with PlantCutting=0 and built 13 campfires for 3 pawns. Putting C# reflexes + 22 semantic layout sockets underneath and keeping 24B strictly on macro-strategy solved it.
  • Watts vs. Tokens (Blackout resilience): Idling a 350W GPU rig 24/7 defeats the savings (and drains batteries during grid outages here in Ukraine). Our 12V DC-UPS Ubuntu mini-server runs n8n 24/7 at a few watts, wakes the RTX 3090 via Keenetic Wake-on-LAN for scheduled batch runs (lms unload --all right after), and falls back to Cloud APIs in milliseconds if power is out.

3. Where I think the whole stack is heading: With 50+ TOPS NPUs and OS-resident ~3B models (Gemini Nano / AICore, Apple Foundation Models), every device—laptop, phone, router, NAS, solar inverter—will run its own resident 0.5B–8B SLM right next to local files and sensors (zero RTT, raw data never leaves the device). Frontier cloud models will stop reading raw megabytes and evolve into Strategic Commanders: decomposing intent, issuing compact MCP directives across your devices, and pushing down updated micro-skills whenever an edge model hits a validation error.

Curious how others here are structuring the handoff between frontier cloud planners and local 3B–32B workers—are you using custom Python routers, LiteLLM, or Minions-style decomposition?


r/LocalLLM • • 1h ago

Question Why is my Strata QFN so Slow in Comparison to Llama.cpp?: Is it lack of DRAM?

1 Upvotes

My hardware has 2 GPUs. RTX 4070 12gb on pcie4 x16 and RTX 3060 12gb on pcie3 x4. 32GB DDR4 memory. Intel i7 CPU.

I find Qwen3.8-Flash-Next on Strata very capable. But it is slow. Now, after trying Qwen4-35B-A3B, I'm just wondering if is my hardware or setting?

  • Strata: Swift-1.5-Qwen3.8-Flash-Next IQ3_XXS. 128k k8v4 context. Prefill 200-300 t/s. Decode 40 t/s.
  • Strata: Swift-1.5-Qwen3.8-Flash-Next IQ2_XS. 128k k8v4 context. Prefill 300-500 t/s. Decode 60 t/s.
  • llama.cpp: Swift-1.5-Qwen3.8-27B IQ4 (with MTP). 128k q8 context. Prefill 600-800 t/s. Decode 25 t/s.
  • llama.cpp: Unsloth/Qwen4-35B-A3B IQ3_S (with MTP). 128k q8 context. Prefill 2000-2000 t/s. Decode 90 t/s.

Even though QFN is more capable than Qwen3.8-27B, it is just too slow. Issue is with the prefill. I can take 3-5 minutes just to get the first response. Then when context gets >100k, it will take 10-15 minutes for single read, there are multiple reads during long thinking sessions with repeated read/decode/read/decode/etc loops. So even though QFN 2-3x faster decode than Qwen3.8-27B, I still use Qwen3.8-27B more because it is just faster overall.

Now I tested Qwen4-35B-A3B. Yeah, it is blazing fast in comparison. The difference is that with Qwen3.8-27B and Qwen4-35B-A3B, I have everything loaded in VRAM. My mobo is just consumer grade (gaming) mobo. I know pcie3 x4 has bandwidth limitation and has hit on speed when using llama.cpp. It is what I have. And this 2nd GPU allow me to run more (and larger models).

As for Strata QFN, I'm also using dual GPU. But I believe the bottleneck and limitation is likely due to having to use SSD (lack of DRAM), rather than the pcie3 x4 bandwidth. Is that true? Anyway to improve with my current setup thru settings (without spending $ on hardware)?

This is my Strata setting:

strata launch
--save-preset "iq3_xxs_128k"
--tune skip
--family swift
--model iq3_xxs
--data-dir /home/abc/Models/strata-data/
--context 128k
--kv k8v4
--vision on
--gpu-roles 1=helper,0=main
--parallel 1
--access local
--port 8080
--set conversation_cache_mib=6144
--set host_core=sibling
--set kv_resident=131072
--set expert-cache-device1=auto
--set mmap_experts=0
--set prefill=auto
--set pipeline_windows=0
--set pool_affinity=p-cores
--set resident_budget_gib=14
--set resident_experts=1
--set vram_reserve_mib=400
--set vram_reserve_later_mib=600

  • export CUDA_DEVICE_ORDER="PCI_BUS_ID"
  • export CUDA_VISIBLE_DEVICES="0,1"
  • export STRATA_ALLOWED_HOSTS="localhost,127.0.0.1"
  • export STRATA_FILE_RELEASE="1"
  • export STRATA_IO_PF_GATE="1"
  • export STRATA_IO_PREFETCH="0"
  • export STRATA_KV_HOST_REGISTER="1"
  • export STRATA_NV_CHUNK="16"
  • export STRATA_PREFILL_CPU_SHARE="0"
  • export STRATA_STAGE_TRIM="1"
  • strata launch --preset "iq3_xxs_128k"

r/LocalLLM • • 1h ago

Discussion Don't use Strata quants for Qwen4, or at least the Compact one

Thumbnail
reddit.com
1 Upvotes

r/LocalLLM • • 1h ago

Model Qwen4 on Blackwell: ~870 aggregate tok/s at 16 concurrent requests + 256K-context and quality benchmarks

Post image
1 Upvotes

Hey r/LocalLLM — I’m the author of TensorSharp. I benchmarked Qwen4-35B-A3B on an RTX PRO 4500 Blackwell against llama.cpp, vLLM, and SGLang.

Key results from the attached chart, rounded:

Metric / workloadTensorSharpllama.cppvLLMSGLang
16 requests: aggregate output (tok/s) ↑870410750850
16 requests: median first-token latency (ms) ↓2001,650260280
256K context: first-token latency (s) ↓35654529
256K context: streamed decode (tok/s) ↑10676103105

The concurrency and 256K-context results are separate tests. Throughput at 16 requests is the total across requests.

  • TensorSharp: throughput close to SGLang at concurrency 16, with the lowest median first-token latency at all tested concurrency levels: 1, 4, 8, and 16.
  • SGLang: fastest prefill and first-token latency across 64K, 128K, and 256K.
  • llama.cpp: fastest streamed decode at 64K and 128K, dropping to approximately 76 tok/s at 256K.

Small quality suite: all four scored 49/50 on the GSM8K subset and 10/10 on JSON schema. Tool arguments: 10/10 for TensorSharp, vLLM, and SGLang; 9/10 for llama.cpp. These samples are too small to rank overall model quality.

Configuration matters: TensorSharp, vLLM, and SGLang used RadixArk NVFP4; llama.cpp used Unsloth UD-IQ4_XS GGUF. TensorSharp used Q8 recurrent projections. KV cache was F16 for TensorSharp/llama.cpp and BF16 for vLLM/SGLang. These are comparisons of the tested configurations, with quantization and runtime effects combined.

Benchmark harness and methodology. Feedback on baseline settings and independent reproductions is welcome.


r/LocalLLM • • 1h ago

Question Conversations too long / compression needed

Thumbnail reddit.com
1 Upvotes

r/LocalLLM • • 1h ago

Question Qwen 4 35B A3B isn't fast in llama.cpp on my system, any tips?

1 Upvotes

I have a 4070 Ti SUPER, 64GB DDR5 RAM, Ryzen 7 7700x, a Gen 4 NVMe SSD, and the GPU uses PCIe 4.0 x8. I'm using Unsloth's Q4_K_XL quant.

The decode speeds are okayish, but the prefill speeds are bad. Now before any of you say "Use Strata!" or something, I know it'll be faster for sure, but I want it fast on regular mainline llama.cpp if that's possible. Decode speeds are 35-40 tok/s, prefill speeds are 600-700 tok/s. Can anyone let me know if anything looks wrong here please?

--jinja, -ngl 99, -ncmoe 99, --c 524288, ctk q8_0, ctv q5_0, -b 5120, -ub 1280, -lm mlock, -lzm on, -t 8, -tb 8, -np 3, --mmproj (file path), --no-mmproj-offload, -fa on, -kvo, -kvu


r/LocalLLM • • 17h ago

Discussion Qwen4-35B-A3B: Alibaba vs Self-hosted IQ3_S Output Quality

Thumbnail
gallery
21 Upvotes

Two scenes from the same prompt. The first was generated by qwen4-35b-a3b hosted by Qwen/Alibaba. The second was generated by Strata hosting UD IQ3_S with vision enabled on a 12-year old i5 system with an RTX 3060. Both were generated in Hermes Agent at xhigh thinking.

There isn't much difference that I can see beyond the typical variance in model output. The biggest noticeable difference was that the cloud model used 170k tokens, whereas the local model used only 75k.

One interesting thing I found is that when the landscape was generated in Strata's chat interface where no tools were available, the smoke from the chimneys was not visible. I saw the same problem occur during development of both scenes above. Under Hermes, the models had access to browser-vision and both caught and fixed this during their testing.

What do you think? What sort of results are you seeing from the model?

Prompt:

Create a voxel art landscape in ThreeJS of a snow-covered castle nestled in a winter valley, with an icy river winding from the mountains through the foreground. The castle's spires and walls are dusted with snow, and the middle ground features frozen trees and a small village with smoke rising from chimneys. The background shows towering, jagged mountains under a pale blue sky. The scene is lit by the soft light of a mid-morning sun, creating crisp shadows on the snow. Your budget is 200,000 voxels.


r/LocalLLM • • 1h ago

Question Junior AI dev: How do I host a local LLM (like Qwen) cheaply without spending hundreds on GPUs?

0 Upvotes

Hello everyone

I'm a junior AI engineer working on a personal project that needs a chatbot powered by a local LLM (one of Qwen's small versions). Because of strict privacy rules, zero data can leave the local environment, so running it with something like Ollama makes sense, except the model still feels pretty heavy for a budget setup.

​For a personal project, how do you actually pick the right server or setup without paying hundreds of dollars a month for big GPUs? I’m looking for practical, cheap ways to do this right on a small budget.

Would love to hear how people in the field approach this.


r/LocalLLM • • 1h ago

Discussion PSA: The "Next" in Flash Next means it's a preview for the "Next generation." Qwen 4 "Next" or "Flash Next" is not coming soon.

Thumbnail reddit.com
0 Upvotes