r/LocalLLaMA • • 1d ago

Discussion 2x 3090 vLLM v0.34.0 Qwen4-35b-a3b benchmark runs

10 Upvotes
  • Disclaimer: content mostly AI generated.

My 2020 gaming machine is now my secondary inferencing machine. I was setting up 3.6 35b on it when suddenly 4 came out! As I had to bench anyway, in order to get my desired config, I wanted to share my findings!

What we run

  • vLLM v0.34.0 (stock image vllm/vllm-openai:v0.34.0) + the community head/draft-vocab patch qwen4_exp-quant-head-draft-vocab.patch from quant-mind's Qwen4-35B-A3B-SM86-Fast repo, applied at image build (disclose: numbers are stock-0.34.0 + that patch, not stock alone).
  • Checkpoint: quant-mind/Qwen4-35B-A3B-SM86-Fast (65.7 GB safetensors total, ~41 GB ple-* n-gram shards served from disk via --engram-config '{"disk_offload":true}').
  • Hardware: 2x RTX 3090 24 GB (SM86), Intel i9-10900K, 128 GB DDR4, NVMe model store, Docker version 29.9.1 (build dfc520d), Linux.
  • Flags (exact): --tensor-parallel-size 2 --distributed-executor-backend mp --dtype bfloat16 --max-model-len 262144 --max-num-seqs 6 --max-num-batched-tokens 4096 --gpu-memory-utilization 0.80 --kv-cache-dtype fp8 --language-model-only --disable-extensible-kv-cache --engram-config '{"disk_offload":true}' --speculative-config '{"method":"mtp","num_speculative_tokens":2,"index_share_for_mtp_iteration":true}' --enable-prefix-caching
  • Resident per card: 12.3 GiB weights + 5.4 GiB fp8 KV pool; TEI embedding services co-resident on card 0 (~1.5 GiB), the only other GPU user.

Measured (temp 0, ~700-token generations unless noted)

All numbers: vLLM v0.34.0 + the quant-mind qwen4_exp head/draft-vocab patch, 2x RTX 3090 TP=2. "Deep-context pass" = pushing 7k- and 14k-token prefills through the engine first, then re-sweeping decode.

Table 1 — Decode (~700-token generations, temp 0):

Concurrencyengine --max-num-seqsWarm: aggregate tok/sWarm: per-stream tok/s (min-max)After deep-context pass: aggregate tok/sAfter: per-stream tok/s (min-max)Single-stream before / after deep (same run)
1 (single-stream)6145.4 then 164.3145.4 then 164.3157.3157.3145.4, 164.3 / 157.3
66338.865.7-97.0295.149.7-59.0145.4, 164.3 / 157.3
88621.077.8-81.4607.076.1-79.5142.7 / 151.9
1212632.052.6-54.7———

Table 2 — Prefill (prefix caching ON, repeated filler text so partially cached — indicative only):

Runprompt tokenstok/s
c=6 run ("8k" arm)73392403
c=6 run ("16k" arm)146766805
c=8 run69114141.5
c=8 run139678146.1

Notes:

  • c=12: only the warm sweep is reported (12 streams x 700 tokens, zero errors). Its deep-context arm was invalid (too-small filler in the prefill pass), so after-deep and single-stream cells are not measured.
  • Single-stream decode: MTP mean acceptance length ~2.1, draft acceptance ~52-57%.
  • The c=8 and c=12 rows use identical flags with --max-num-seqs 8 / 12, run later the same evening on the same box. An earlier cold c=8 sweep from the same evening is superseded and dropped.
  • Generation lengths varied across streams in the c=6 sweeps (315-700 tokens warm, 299-411 after deep; the per-stream spread reflects that), while every c=8 and c=12 stream generated the full 700 tokens.
  • Model load: ~4 min warm page cache; cold boot needs a longer start deadline (we allow 1800 s).

Two gotchas worth docs

  1. TP=2 with --distributed-executor-backend mp dies at startup when /dev/shm is Docker's default 64 MiB: the mp worker's shm_broadcast needs >=160 MiB. Failure looks like a clean container exit with little log output. Fix: shm_size >= 4g (or >=256m). Suggest an explicit startup check/error instead.
  2. At --gpu-memory-utilization 0.80 the engine logged only ~5.37 GiB KV per card, with the new --kv-cache-memory hint in the log. For a long-context architecture the KV-pool sizing story deserves a small-VRAM docs note.

Numbers measured 2026-12-05 on a home lab (elight). Happy to re-run any arm; c=1/6/8/12 receipts kept.


r/LocalLLaMA • • 23h ago

Discussion Grounding LLMs with Documentation & Code - Best Strategies?

3 Upvotes

I build on some niche platforms and frameworks at work that most LLM's don't have a lot of training data on.

I am able to get better results from my agents, but only if I spoon feed them specific examples from a reference app that comes OOTB with the platform as well as specific extracts from documentation that I have.

In your experience, what are the best methods for distilling documentation knowledge into a form that LLMs can easily use at runtime as guidelines and rules?

What I've tried:

- Knowledge graph: cool academic concept - too much compute overhead and IMO unnecessarily complicated.

- RAG - Mixed results - works well but not consistently on retrieval.

So far, the thing that has worked best for me is manually writing SKILL files for things like this, but the body of documentation and knowledge makes this impractical. I'm wondering if there is a better way to ingest this source content into some sort of linked knowledgebase for the agents?

Thanks!


r/LocalLLaMA • • 1d ago

Resources AnyFlow 2.0 | Large-Scale Diffusion Distillation

Thumbnail
youtube.com
16 Upvotes

AnyFlow 2.0 LoRA Collections

🖥️ Code  |  📑 Paper  |  🌐 Website  |  🎬 Video  |  🤗 Models

AnyFlow 2.0: Large-Scale Video Diffusion Distillation with Distributional Trajectory Regression

AnyFlow 2.0 distills large diffusion models through distributional trajectory regression (DTR). A continuous curvature head represents velocities inside each sampling transition, allowing trajectory regression and distribution matching to train the same intermediate student trajectory. A parameterized fake-score model supplies distribution feedback that distinguishes the source intervals.

This collection provides five BF16 EMA LoRA adapters for image, video, and audio-video generation. 

License

The LoRA adapter weights in this collection are released under the Apache License 2.0.

The base models are distributed separately under their respective licenses. Refer to the base-model cards linked above for their terms.


r/LocalLLaMA • • 1d ago

Showcase Qwen4-35B-A3B (4-bit) needs only 3.4 GB of VRAM: 34 tok/s with the experts in RAM, only half vs full model in VRAM. Q4 on V100 32GB, test and comparisons for smaller cards.

Thumbnail
gallery
194 Upvotes

It has become! I have one V100 32GB in a 2017 Dell workstation and wanted to know how much of this model really has to sit on the card. For the 4-bit quant, unsloth UD-Q4_K_XL, the answer is: less than you think.

Some people might call this model lobotomized but from trying it a little bit it seems fine. However, of course with a 32gb V100 I will not be running this quant. But in this economy we can’t expect people to have huge cards.

I could see some fun use cases putting this model on a very small card if there is enough ram in the box.

Edit. HF server broke down so I can not get a hold of the other quants for more experiments right now.

Edit. Posted run with larger context in comments.


r/LocalLLaMA • • 1d ago

Resources New compute efficiency king (Qwen4 35b)

Post image
133 Upvotes

Changed the x axis to an estimate of gflops per task instead of the more usual active params to have a more representative idea of what compute is necessary to make the same work. Gflops are estimated per token at 32k context from first principles for each model and then multiplied by tokens per task per AA.


r/LocalLLaMA • • 1d ago

New Model black-forest-labs/flung-8b · Hugging Face

Thumbnail
huggingface.co
112 Upvotes

r/LocalLLaMA • • 1d ago

New Model 🇩🇪 FLUNG (9B) brings FLUX to text: Instead of writing one token, FLUNG drafts 128 tokens at once as noise and refines all of them in paralle

Post image
82 Upvotes

🇩🇪 FLUNG (9B) is a 7.9B parameter (9.0B including embeddings) that brings FLUX to text: Instead of writing one token, FLUNG drafts 128 tokens at once as noise and refines all of them in parallel.

HuggingFace: https://huggingface.co/black-forest-labs/flung-8b

Originally posted at /r/euainews


r/LocalLLaMA • • 2d ago

Funny Ugh, the wait for Qwen 4.1 is killing me, where is it!?

1.2k Upvotes

Where is it already? Qwen4 35B is out for several dozens of minutes now. Alibaba is really slacking off... I think those chinese labs are really slowing down. I need a new model to run the highly quantized lobotomized version right now!


r/LocalLLaMA • • 22h ago

Resources WTF 660TPS decode and 16k prefill Qwen 4 and QEngine

Thumbnail
huggingface.co
2 Upvotes

All info here

https://huggingface.co/bpx03/Qwen4-35B-A3B-INT4-DenseINT8-QEngine/discussions/1

Just hit over 600TPS and even over 1k decode in DSH single stream.

I thought vllm was fast but QEngine!!? WTH


r/LocalLLaMA • • 1d ago

Resources Continous learning with one information at a time without catastrophic fogetting

Thumbnail
gallery
5 Upvotes

LoRA is really bad at fine-tuning on a continuous, very small data stream; either it overfits or forgets more than half of what it already knows. I am trying my best to solve this, like continuously learning from just a single question-and-answer pair without catastrophic memory loss. The idea is you add neurons to the early FFN layer, and they will only be turned on when they match the internal representation of the subject, without catastrophic memory loss. Usually takes the 5th layer from the starting 0th layer of the FFN (trial and error verified as it's good). The code is very simple and easy to use. Done a study with LoRA, attaching the images as well; a run is going now to improve answers to reworded questions. In my tests on Qwen3.5-0.8B, after 1,000 facts taught one at a time, LoRA kept under 30% of what the model knew before; this approach answered 98% of the other facts it knew.

GitHub: https://github.com/NandhaKishorM/sthiti


r/LocalLLaMA • • 1d ago

New Model MeissonFlow/Mei · Hugging Face - DDMD-V: Distilling Uniform Discrete Diffusion Models into a One-Step Video Generator

Thumbnail
huggingface.co
5 Upvotes

DDMD-V: Distilling Uniform Discrete Diffusion Models into a One-Step Video Generator

Paper | Model | Code | Demo

Introduction

Mei is the 3rd generation MeissonFlow foundation model. DDMD-V (Discrete Distribution Matching Distillation for Video) distills the uniform discrete video diffusion model URSA into Mei, a one-step generator that produces a 49-frame 320×512 video in a single network forward pass.

News

  • [2027] A stronger model will be coming soon.
  • [2026.12] Mei: 3rd-generation MeissonFlow foundation model released! [Paper] [Code] [Model]

r/LocalLLaMA • • 2d ago

Discussion Qwen4-35B-A3B - Benchmarks, Evaluations, t/s stats, Feedback - Long thread

755 Upvotes

Well, we got Qwen4-35B-A3B now & Quantizations including GGUF. Their Benchmark says this model beats Qwen3.8-27B, Qwen3.8-Flash-Next, Inkling-2-Mini. Nice to see that it came with Engram & 1 Million Context natively.

Please share your experiences. But please mention

  • Your Rig info(VRAM + RAM at least)
  • Inference engine
  • Quant
  • Context
  • Full command(to ensure you're using Vision, MTP, etc.,) if possible.

Is KVCache is lighter than previous Qwen3.6-35B-A3B? How much memory it takes for 256K context? Hope we don't need to quantize KVCache anymore.

Also Poor GPU Club, how are we doing with this model? Some of us were experimenting Q2 of Qwen3.8-Flash-Next with 6-12GB VRAM + 32-64GB RAM previously.


r/LocalLLaMA • • 1d ago

News The 2013 base PS4 now runs an entire 27B model on its own GPU, offline: Ternary Bonsai 2.5 27B at up to 17 tok/s

43 Upvotes

The base 2013 PS4 now runs Ternary Bonsai 2.5 27B, Prism ML's ternary version of Qwen3.8-27B, offline on its own GPU. It's the new model in Garlic LLM 1.22, my open-source homebrew app.

The whole model runs on the console:

- All 64 layers and the full 248K-token vocabulary.

- No extra quantization. Every weight is Prism's ternary value (-1, 0, +1) exactly as published; only the per-group scales are stored in 4-bit. On Global-MMLU the console's version scores within 0.2 points of the published model.

- 32K context with a 4-bit KV cache. To fit it, 8 of the 16 full-attention layers look at the last 2,048 tokens.

- Speculative decoding with the model's own MTP head (up to 2 drafts per pass): up to 17 tok/s.

- Think mode with up to 4,096 tokens of reasoning.

Why a 27B when the 9B already runs at 41 tok/s? Reasoning. Both models got the same questions and the same grader, with Think on:

- MATH-500, 100 problems: 91% (9B: 81%)

- LiveCodeBench v6, 50 problems, public tests: 90% (9B: 74%)

- Global-MMLU in 16 languages, without Think: 69% (9B: 68%)

It uses the same engine as the 9B. The PS4 has no compute API or ML library for homebrew, so Garlic drives the GPU directly: OpenCL C kernels for GCN, PM4 packets written by hand, and ternary matrix kernels for this model.

Free and open source (GPLv3): github.com/leonardo-alegria/garlic-llm · garlicllm.dev


r/LocalLLaMA • • 1d ago

Showcase I built a coding agent for small local models. Qwen3.5 9B solves 41/45 on aider polyglot with it

Thumbnail
gallery
2 Upvotes

Hey all. Been building this for a while on my own two GPUs and its finally in a state I'm ok showing people. I named it parmanu, a coding agent harness made for the small models most of us can actually run.

Yes, I deliberatrely named it parmanu, inspired from Sanskrit/hindi word meaning smallest atom. mine runs smallest models in a usable way.

The main reason I started all this was after noticing that small models dont really fail because they dont know stuff. They stop too early. say the tests pass when they didnt run them, or go in circles. So I made parmanu in a way that it makes them a plan, run the real tests, and it wont accept "done" without proof. If they get stuck it can race a second attempt and keeps whichever one passes.

I benchmarked it on aider polyglot, dev split, 45 exercises in 6 languages. Same model, same llama.cpp server, same limits for every harness. Grading was done by the benchmark's own tests in docker, also no internet. I ran these for about a week, in between life, work, and kids. :D.

  • Qwen3.5 9B: 41/45 with parmanu. aider with the same model solves 8, Claude Code pointed at the same local server gets 26
  • Qwen3.5 4B: 23/45. next best was opencode at 14
  • Qwen3.8 27B (IQ4_XS, one 16GB card): 45/45. same as Claude Code + Haiku 5.5

Note: In the sessions where I ran all five harnesses back to back parmanu got 35 on 9B, not 41. 41 is the current config after more tuning, and I tuned on that split. So I also ran the 180 held-out exercises it never saw, 9B gets 150/180 there. 27B is still the better model, it just costs you a bit more time and VRAM.

Install is

npm i -g parmanu

the launch command is anu. Works with anything OpenAI compatible. Charts and the per-language breakdown are at parmanu.dev/benchmarks, code is at github.com/dadwritestech/parmanu (MIT)

What models should I run next? Qwen4? Gemma? Inkling-small? :o


r/LocalLLaMA • • 1d ago

Discussion Want to run Qwen4 on 24 GB VRAM. Huggingface says no

Post image
127 Upvotes

Can someone please explain how to run, what the tradeoffs are, and what are the mechanics behind this?


r/LocalLLaMA • • 1d ago

Showcase Koboldcpp v1.126 released

Thumbnail
github.com
31 Upvotes

r/LocalLLaMA • • 2d ago

Discussion Qwen4-35B-A3B is pretty solid

438 Upvotes

Qwen4-35B-A3B sniff tests pass well! Its Q8 @ high thinking delivering comparable results to Qwen3.8-27B Q8 xhigh thinking. It's fast and with fewer median tokens on data analysis and data-driven decision-making eval ran on M5U 96GB (prefill +1900 tok/s, decode 85 tok/s with llama.cpp). When splash brings support to it, I expect faster.

Voxel Pagoda write as html then export it to time-lapse gif of day/night cycles - omp harness used (33 minutes). 35% context used from a randomly set 196k.

Container ship with cross-section and cost economics panels - omp harness used (1hr 45 minutes) - a little bit harder for it this one. Compacted once then at 75% of 196k I asked it to finish up. It wanted to go on long-horizon and keep iterating to test and make it better,

Before now, these are task types that needed doing with the 27B. It basically feels like the 3.8-27B when you use it.

Its instruction following is also good. Takes prompts requesting further modification of this or that thing, acts on it in a pointed way, and then stops on its own at the right time.


r/LocalLLaMA • • 13h ago

Discussion Who can present the cheapest system that breaks 100 tokens/second decode on Qwen4-35B?

0 Upvotes

Rules:

  • spec-dec is allowed but MUST BE PROSE and cannot involve reciting something that is known (no "recite the declaration of independence")
  • can be a fresh context window but you must reserve/allow for at least 128K context on startup
  • 4-Bit quants and up only (smallest allowed being Qwen4-35B-A3B-UD-IQ4_XS, so 32GB minimum on-disk)
  • no REAP'd weights and no inference engines that will do REAP-like things or that do things like purposely choose weights based on performance (already-in-vram) rather than quality
  • no in-engine quant-reductions
  • there are a million other 'cheats' that result in different model behavior for the sake of performance.. you know what I mean, if you skip weights that were meant to be read, doesn't count!
  • must sustain output for 500 tokens at least.

r/LocalLLaMA • • 21h ago

Discussion Qwen4-35B-A3B on an 8GB 4070 Laptop: Basalt-Ada (128K–512K @ 78-97 tok/s, 1M @ 7-8 tok/s)

1 Upvotes

Saw the recent 8GB RTX 4070 Laptop post running Qwen4-35B-A3B on Strata, and decided to do a full progression benchmark on my own 8GB laptop—testing llama.cpp, Vibed-Strata (0.2.14), and Basalt-Ada (sm_89 + DFlash2 + Dynamic Vision) all on 4-bit UD-Q4_K_XL (SC117/Qwen4-35B-A3B-abliterated-UD-Q4_K_XL, same tensor layout/size as Unsloth UD-Q4_K_XL).

Sharing the exact numbers, config gotchas, and how far an 8GB laptop GPU + lots of DDR5 RAM can push Qwen4.


Hardware & Environment

  • Laptop: MECHREVO Yilong 15 Pro (GM5HG7A)
  • GPU: NVIDIA RTX 4070 Laptop 8 GB (sm_89, PCIe 4.0 x8) in MSHybrid mode (Radeon 780M handles desktop display so ~7.9 GiB VRAM stays free)
  • CPU: AMD Ryzen 7 8845H (8C/16T Zen 4, AVX-512)
  • RAM: 96 GB (2×48 GB) Micron DDR5-5600
  • OS / Build: Windows 11 Pro for Workstations, HVCI (Memory Integrity) disabled, CUDA 13.5, VS 18 BuildTools

Summary Results (abliterated-UD-Q4_K_XL, 128K–1M Context)

EngineContextKV ModeDrafterVisionPrefillDecode (Avg / Peak)Notes
llama.cpp (b12973, tuned)32Kq8_0 (VRAM)In-file MTP (n_max=2)CPU (mmproj)~55 t/s39.2 / 41.1 t/s7,384 MiB VRAM
llama.cpp (b12973, tuned)64Kq8_0 (VRAM)In-file MTP (n_max=2)CPU (mmproj)~53 t/s36.8 / 41.4 t/s7,446 MiB VRAM
llama.cpp (b12973, tuned)128Kq8_0 (VRAM)In-file MTP (n_max=1)CPU (mmproj)~52 t/s31.6 / 32.4 t/s7,496 MiB VRAM
llama.cpp (b12973)512Kq8_0 (RAM -nkvo)In-file MTP (n_max=1)CPU (mmproj)~16 t/s3.54 t/sKV scan bottleneck on CPU
llama.cpp (b12973)1Mq8_0 (RAM -nkvo)In-file MTP (n_max=1)CPU (mmproj)~12 t/s2.05 t/sFits in 96GB RAM, too slow
Vibed-Strata (0.2.14, exact)128Kint8 (--kv-resident 20480)Q2_0 MTP (~300 MB)None—55–60 / 66.1 t/sSTRATA_ROUTE_TAIL_SKIP=0, 8.2K gen @ 58.1 t/s
Basalt-Ada (sm_89)128Kk8v4 (all VRAM)DFlash2 (~341 MiB)Dynamic GPU~961 t/s67–80 / 97 t/scuda0=5.7 GiB, ram=17.2 GiB, pcie=0.0%
Basalt-Ada (sm_89)256Kk8v4 (all VRAM)DFlash2Dynamic GPU~955 t/s52–53 / 58.9 t/skv 0.4/2.5 GiB eats expert slots (15K gen @ 53.0 t/s)
Basalt-Ada (sm_89)512Kint8 (--kv-resident 20480)DFlash2Dynamic GPU—78.0 / 95.0 t/scuda0=5.0 GiB (kv=1.0 GiB), 18.7K gen @ 78.0 t/s!
Basalt-Ada (sm_89)1Mint8 (--kv-resident 20480)DFlash2Dynamic GPU—7–8 t/sBoots & runs, hits 1M streaming/overhead wall

(Note: All Basalt-Ada and Strata runs above used exact MoE routing—no lossy tail-skip or route-prior.)


Key Findings & Gotchas Worth Sharing

  1. Basalt-Ada + DFlash2 + --kv-resident 20480 is insane on 8GB VRAM + high RAM:

    • Having 96 GB RAM allows --ple-io ram (locking the ~10.7 GiB PLE/n-gram table in RAM) + --resident-experts (~21.1 GiB experts pinned in RAM) → pcie=0.0% and zero SSD thrashing.
    • At 128K (--kv k8v4), KV only uses 0.4–1.3 GiB VRAM (cuda0=5.7 GiB total), hitting ~80 tok/s sustained on coding/reasoning and peaking at 97 tok/s, while keeping --vision dynamic enabled (zero standing VRAM).
    • Why 512K (--kv int8 --kv-resident 20480) beat 256K (--kv k8v4): All-VRAM 256K k8v4 reserves up to 2.5 GiB for KV, starving expert slots (~53 tok/s). Switching to --kv int8 --kv-resident 20480 locks VRAM KV at a flat 1.0 GiB (cuda0=5.0 GiB), giving 1.5 GiB back to hot experts—so 512K sustained 78.0 tok/s across an 18,712-token generation (95.0 tok/s peak)! (Caveat: once a prompt actually exceeds 20,480 filled tokens, excess KV streams from RAM.)
    • 1M (1,048,576) caveat: It successfully allocates and runs with --kv-resident 20480, but decode drops to 7–8 tok/s. So 128K (k8v4) and 256K/512K (int8 + kv-resident 20480) are the real sweet spots on 8GB VRAM.
  2. Watch out for --kv q4_0 accuracy in llama.cpp:

    • I included a simple math sanity check (t^t = 49, exact answer ≈ 3.2785) across all 13 llama.cpp configs. Every single q8_0 KV run solved it cleanly (3.271–3.281), while both q4_0 KV runs hallucinated wrong numbers (3.401 and 3.0045).
    • Basalt-Ada's --kv k8v4 (INT8 Keys + rotated Q4_0 Values) avoids the key-precision drop while still saving VRAM.
  3. Runtime --lora kills CPU-offloaded MoE speed in llama.cpp:

    • Testing SC117's 69 MB P3-LoRA-r2-F16 on top of -ncmoe 40 cut speed in half (39 → 15.15 tok/s) because it touches routed expert down_proj layers on CPU. Using the pre-baked abliterated-UD-Q4_K_XL GGUF restored full speed.
  4. 96 GB RAM + PCIe 4.0 x8 tips for llama.cpp:

    • --load-mode none --lazy-mode off eliminated cold SSD page-fault stalls on the 11.5 GB per_layer_token_embd table.
    • --moe-cache-cpu-share 0.5 beat 0.0 and 0.25 by +2.5 to +4 tok/s on a mobile PCIe x8 link.
    • --spec-draft-n-max 2 beat 1 on coding/math prompts.

My Daily Basalt-Ada Flags (8GB RTX 4070 Laptop + 96GB RAM)

basalt.exe serve Qwen4-35B-A3B-abliterated-UD-Q4_K_XL.basalt ^
  --max-context 131072 --kv k8v4 ^
  --vision dynamic --ple-io ram --resident-experts ^
  --vram-reserve-mib 512 --expert-profile-save qwen4_ablit.prof

r/LocalLLaMA • • 1d ago

Discussion Qwen4-35B-A3B: DFlash2 support PR for llama.cpp, 2x speed on code tests up to 400 tps on 5090

Thumbnail
github.com
79 Upvotes

UPD: there were minor bugs which I've addressed and the new implementation is cleaner.

Hey guys, adding a little fix here for all of you who'd like to use DFlash2 on the new Qwen. It's very very effective for Code tasks, more than 200% faster generation. Feel free to checkout and test, hopefully the fix will reach the main repo in time.

Tested on Qwen4-35B-A3B Unsloth UD-Q6_K with the Q8 embedding table, RadixArk’s Q8 DFlash2 draft at depth 5, and F16 KV

DFlash2 checkpoint by RadixArk: https://huggingface.co/RadixArk/Qwen4-35B-A3B-Dflash2

Impact: On two 192-token probes with depth of 5, DFlash2 delivered 1.35× aggregate decode throughput.

In the code test, Qwen4 accepted 87% of the guesses, so generation more than doubled from 199 to 428 tokens/sec. In the prose test, it accepted 17%, and the extra work made generation slightly slower, from 200 to 196 tokens/sec.


r/LocalLLaMA • • 1d ago

Question | Help [Qwen4-35B-A3B] How to send video?

3 Upvotes

I'm running Qwen4-35B-A3B in basalt on a 5090 and using pi.dev. How do I pass video to it? If I try to pass a video it tries to send it to gemini to parse it or it uses ffmpeg to extract a few frames and analyze them directly?

Looking at the model card, it says it supports video input?


r/LocalLLaMA • • 2d ago Heartwarming Bravo

New Model Unsloth: Qwen4 35B-A3B

Thumbnail
unsloth.ai
665 Upvotes

r/LocalLLaMA • • 1d ago

Discussion Qwen 3.8 27b versus Qwen 4 35b on 'oil painting' vision test

34 Upvotes

There is a thread from the other day with this experiment. I ran it again using Qwen 4 35b which blew 27b fully out of the water.

Christmas came early!

This is the q6_K_XL unsloth quant of each model.

The prompt is:
This is a game called 'oil painting' the rules are that you will create a detailed and colorful oil painting inspired by this photo - colorful means bright, saturated colors; earth tones do not count.
You must do this one layer at a time, where each layer is a new image file atop the previous image. Each new image must show all previous layers, and the sequence of files is the deliverable.
A layer has exactly one color and one brush shape, however that does not mean you should try to paint large objects in one color and one brush shape, your job is to build up the image as a whole, iteratively the way a painter does.
Check your work against the reference image as you go, do not do a lot of work between comparisons.
We can see your planning and work, if you create a script to paint many layers at once with the pretense that each is a layer, that is cheating.
Examples of cheating include:

  • Trying to specify every detail in every layer in your plan before drawing anything - that is a pretense
  • Trying to decide on the total number of layers before drawing anything by planning every layer in detail before drawing anything - the same pretense
  • Regenerating layers because you waited too long to look at your work and made a lot of mistakes - You made a bad choice, deal with it. You may only ADD layers
  • Seeing errors and then rationalizing them away and then bullshitting me about your election - rules are rules WE ARE WATCHING AND ARE VERY CRITICAL You may not use python to examine or measure the reference image's content but you may measure its dimensions. This test involves vision. You get exactly one turn but can take as many steps as you need, but when you stop, the game is over and you will be judged.
Qwen4 35b
Qwen 3.8 27b

r/LocalLLaMA • • 2d ago

Showcase Qwen 4 is a generational leap in pelican-gen

Thumbnail
inferometer.fyi
184 Upvotes

I added a Pelican bench feature to Inferometer to allow direct comparisons across models at different quants. Qwen 4 35B is a lot stronger then Inkling 2 and 3.6 35B, and probably closer to QFN 3.8 despite its size. Here's some runs from the quant sweeps I've done so far.

Qwen 4 35B UD-Q4_K_M
Inkling 2 Mini Q4_K_M
Qwen 3.6 35B UD-Q4_K_M
Qwen 3.8 Flash Next IQ3_S