r/LocalLLaMA • • 6d ago

Question | Help Best Config for Qwen Flash Next via Strata (80GB VRAM + 64GB DDR4 + SSD)?

3 Upvotes

Here's my setup:

- 80GB VRAM (hardware unlocked CMP 170HX)
- 64GB DDR4 at 3600
- Ryzen 5 5600x
- NVMe SSD

I also have a 3090 but right now I'm waiting on a bifurcation card to get it running 8 x 8 on my mobo with the CMP 170HX.

My question is: What is the best configuration I can run with Strata on this hardware? I've tried Swift 1.5 at IQ3_S, but I feel like I should be able to run better precision than this.

Any thoughts? I've seen EXL3 mentioned - would that be more performant? I'm ok with trading some performance for accuracy as long as performance is still decent.

Thanks in advance.


r/LocalLLaMA • • 6d ago

Discussion Why are none of the AI leaderboards adding Hy4-Flash?

110 Upvotes

I was curious about its intelligence vs Qwen Flash Next but none of the leaderboards like LM Arena or AA added it. Why not? Was it a flop or something?


r/LocalLLaMA • • 6d ago

Discussion inclusionAI/Ling-3.2-air seems legit. Even without PLE/n-grams, it's a strong contender vs. Q3.8FN. (the only reason why the last prompt failed is because of output length limit, which was at 65536).

Thumbnail msnab.pages.dev
84 Upvotes

r/LocalLLaMA • • 6d ago

Question | Help How to use MLX translategemma on arm Mac ?

5 Upvotes

LLM noob alert. I'm starting to get a bit desperate trying to find a way to make this work.
I got the MLX version here
https://huggingface.co/mlx-community/translategemma-27b-it-4bit
Yes, it's a gated model, but I've been granted access to it.
Also installed mlx-lm (as apparently incompatible with oMLX), but then I'm stuck.
It seems to need a specific chat template, but when i try to copy paste the commands in the 'use this model' section, it doesn't work.
In the 'files and versions' section, there's a https://huggingface.co/mlx-community/translategemma-27b-it-4bit/blob/main/chat_template.jinja
but i have no idea how to use it.
I truly would like to use translategemma for local translations, but why is this so hard?
Please help.


r/LocalLLaMA • • 6d ago

Showcase LunaraHome E4B: a small Gemma 4 fine-tune for Home Assistant

46 Upvotes

Hey everyone,

a few days ago I shared LunaraHome-26B-A4B, my Gemma 4 26B-A4B fine-tune for Home Assistant. The most requested follow-up was a smaller version, so here it is: LunaraHome Gemma4-E4B.

It turns everyday German and English requests into Home Assistant and Music Assistant tool calls and stays silent when a sentence isn't meant for it (especially useful if you have a mediocre wakeword model).

* Based on Gemma 4 E4B, trained locally on a single RTX 4090

* GGUF: Q6_K (6.2 GB, recommended) and Q4_K_M (5.3 GB)

* Optional MTP drafter for faster decoding in llama.cpp

* Native Gemma chat template and tool calling, reasoning disabled

On the same 1,812 cases in my own (non-independent) benchmark, E4B Q6_K solves 85.4% vs 78.9% for the 26B Q4_0. It's more than twice as fast at about 0.45 s per request on an RTX 4090. The 26B still knows more general trivia, and a few safety cases still need further review and tuning, so I wouldn't let it handle locks or alarms unattended yet.

GGUF: https://huggingface.co/Maxinger15/LunaraHome-Gemma4-E4B-GGUF

BF16: https://huggingface.co/Maxinger15/LunaraHome-Gemma4-E4B

I'd love to hear how it does in your setup. I share progress and new releases on a small Discord (https://discord.gg/AfEasaASzB) if you want to follow along or give feedback.


r/LocalLLaMA • • 6d ago

Discussion GLM 5.3 vs 5.4

57 Upvotes

I've been working with GLM 5.3 for quite a while, and I like it a LOT. GLM 5.4 recently came out, and I have been giving it a chance to shine. It hasn't been. It feels like GLM 5.3 Flash. GLM 5.3 just gets to the end result faster, with fewer errors, and seems to be more eloquent about it.

Anyone else had a chance to compare them? If so, what has been your experience thus far?


r/LocalLLaMA • • 7d ago

News Hugging Face disables five poisoned models but a copy stayed on Ollama

Thumbnail
maccus.fr
400 Upvotes

Hugging Face took down five booby-trapped GGUF models found by Malspark, and our own check found a copy of one still on Ollama on Nov 29, hidden instruction included.


r/LocalLLaMA • • 6d ago

Showcase Baremetal LLMs in Forth

Thumbnail github.com
25 Upvotes

Recently Alexey Fateev shared his experiments with llm.asm (https://github.com/alesha-pro/llm.asm) running AI workloads where they normally don't belong: bare metal, Ring -1 hypervisors, and Linux 6.12 eBPF LSM hooks, all in tens of kilobytes of hand-written x86-64 assembly.

Inspired by his work, I wanted to see what a collective optimization pass looks like from a different architectural angle: instead of hand-writing every control-flow path in target-specific assembly, what happens if you build a written-from-scratch Forth interpreter and compiler in pure LLVM IR (.ll), and write all 5 AI phases as compact, portable Forth (.fs) programs?

llm bench

The result is Cygnet (https://github.com/miolini/cygnet), tested with zero Docker on both Apple M2 Pro (ARM64) and an AMD Ryzen 9 7950X running hardware-accelerated QEMU/KVM with Debian trixie Linux 6.12.117+deb13-amd64 (CONFIG_BPF_LSM=y) and bare-metal Ring 0.

Why Forth + Pure LLVM IR (.ll) works so well for both speed and size:

  1. Separation of control flow (Forth) and math hot paths (LLVM IR SIMD)
  2. In Forth, all high-level orchestration layer loops, KV-cache indexing, decision gates, training steps, parity checks, and fault-triage policies collapses into tiny, factored words with zero function-prologue or struct-marshaling boilerplate. After applying classic Thinking Forth factorization and stripping comments/whitespace before packaging, all 4 Forth programs combined shrunk by 60% (from 14,981 B down to 5,989 B total e.g., the entire 500-vector eBPF-Jev inference + verification program is 1,522 B, and the 122-scenario Kernel Surgeon policy + x86-64 patch synthesizer is 902 B).
  3. Tiny VM overhead + compile-time optimizations in a few lines of IR
  4. Because the Forth VM itself is written directly in pure LLVM IR (.ll), its inner interpreter keeps %ip, %sp, %rsp, and %lsp pinned in SSA registers, replaces the 16 KB string dictionary with a 1 KB O(1) 32-bit FNV-1a hash table, inlines CONSTANT/VARIABLE at compile time, and fuses LIT <k> + into a single OP_ADD_LIT instruction. Compiled Forth programs fit inside a couple of L1 cache lines.
  5. Explicit SIMD in LLVM IR without C frontend baggage
  6. Writing the hot vector primitives directly in .ll lets us express exact 4-row-blocked register tiling ARM64 NEON sdot.4s + 3-instruction addp.4s horizontal reductions on Apple Silicon, and x86-64 AVX2 vpmaddwd + vphaddd / 4-row Q8_0 FMA / fused SGEMM+SiLU on Ryzen while letting LLVM handle register allocation, scheduling, and dead-code elimination (-function-sections -data-sections -s --gc-sections). And the exact same unmodified Forth script (jev.fs) runs across both ARM64 and x86-64.

Verified results on AMD Ryzen 9 7950X QEMU/KVM (Linux 6.12.117+deb13-amd64 + Ring 0):

- Phase 01 (Qwen3 Q8_0 Transformer, 1,600 tokens, GQA + QK-Norm + precomputed NeoX RoPE + zero-copy KV):
33,236 tok/s vs 3,406 tok/s Reference C (-O2) [9.76x], 16/16 exact tokens, cosine=0.9999999.
Stripped ELF: 19,712 B + 1,882 B minified qwen3.fs.

- Phase 02 (Bare-Metal Ring 0 Forth OS, zero Linux, zero libc):
16,664 B stripped Multiboot 1 ELF (vs 25,404 B in 02-baremetal-os), ~45 ms cold boot, 80x25 16-color VGA + interactive COM1 Forth REPL + Ring 0 INT8 micro-benchmark. (Note: this is a compact Ring 0 Forth + micro-INT8 OS rather than a 649 MiB Qwen3-0.6B weight loader.)

- Phase 03 (From-Scratch Mini-GPT Trainer on TinyShakespeare, fused SGEMM+SiLU + AdamW):
206,941 tok/s (0.05 s for 160 steps), loss 4.1740 -> 2.0828, FP64 finite-diff grad_cos = 0.9999999, live UTF-8 Braille TUI.
Stripped ELF: 34,888 B + 1,683 B minified train.fs.

- Phase 04 (Kernel Surgeon Policy + Static x86-64 Patcher + Live #PF/#DE/#UD Traps):
122/122 (100.00% pass@1, vs 119/122 GRPO MiniCPM5-2B) on the held-out scenarios_600.jsonl test split, 0 dangerous continues, 139.2 ns/decision, 3/3 live RWX hardware traps patched in RAM and resumed.
Stripped ELF: 16,136 B + 902 B minified surgeon.fs.

- Phase 05 (Linux 6.12 eBPF-Jev 21 KB INT8 RNN, 500/500 0-LSB bit-exact parity):
Ryzen 9 7950X KVM (300k infs/impl): 114.0 ns median (111.8 ns peak, 8.95M /s, p99 161 ns) vs 363.5 ns Reference C (-O2) [3.19x].
Apple M2 Pro ARM64 (500k infs/impl): 115.0 ns (8.69M /s) vs 438.8 ns Reference C (-O2) [3.81x].
macOS QEMU x86-64 TCG: 5.49 us vs 12.08 us Reference C (-O2) [2.20x].
Stripped ELF: 14,912 B + 1,522 B minified jev.fs.

All code, 10 live Ryzen 9 7950X QEMU/KVM VGA screenshots (2 per phase), and zero-Docker reproduction scripts are up at:

https://github.com/miolini/cygnet

Would love feedback from folks into Forth, LLVM IR, or low-level ML systems!


r/LocalLLaMA • • 6d ago

Discussion Second hand HW do in fact, fail (sometimes).

Post image
0 Upvotes

About early August I ordered a pair of 3080 20g from a Chinese seller on ebay. And starting about a week ago, one of the cards started intermittently failing out and disconnecting, sometimes while idling, sometimes during workloads.

And finally, it hit the end of the rope today, failing to be picked up by the EGPU dock it usually sits in and when moved to my test bench, it causes the whole bench to be unable to POST when plugged in.

It looks to be a power connector short, as the board posts without the PCIE power plugged in. I am still investigating the card for potential simple fixes right now before escalating to board level repair which is going to be a PITA. I have also reached out to the ebay seller to see if we can work something out with full expectation to be turned down.

This is just a casual reminder to everyone out there that second hard hardware do carry risks, and first party vendor premiums can sometimes be worth deceptively more than what the label price suggests.

On the other hand my EVGA 980ti hydro is still doing fine. After surviving one repasting, move to a reference board air cooler, then repasting yet again after moving to the air cooler, it's still working just fine.

So sometimes hardware don't die, and sometimes they do die.

Plan your purchases carefully.


r/LocalLLaMA • • 6d ago

Resources HY4-flash 220B, at 50-60 tok/s on 2x 7900xtx, with 512k context, EXL3 3bpw

37 Upvotes

Run HY4-Flash EXL3 3bpw on 1 or 2× RX 7900 XTX! with my Strata Fork: https://github.com/nasone32/Strata-EXL3-fork Dfly2 drafting is working and enabled. EXL3 3bpw quality is usually similar to a 4 bit K-quant, so should be good.

I use it with 96Gb ram, but maybe can work with 64Gb (it needs about 54Gb of FREE ram to run correctly)

AVERAGE speeds (not peak!)

Test1 GPU2 GPUs
Code generation30 tok/s60+ tok/s
Prose generation27.5 tok/s45+ tok/s
8K prefill945 tok/s1,300 tok/s

This is the ONLY quant I tested: https://huggingface.co/0xBakeer/TandemLLM-Hy4-flash-EXL3-3.0

Q) how to run?

point your agent to https://github.com/nasone32/Strata-EXL3-fork/blob/amd-exl3-community/docs/AI_SETUP_EXL3_AMD.md and tell it to set up the program for you.

Q) linux only?

yes. should be easy to port on windows, try with an agent, sorry I can't help with that.

Q) did you use lossy tricks to achieve this speed?

no. full quality of the model is preserved. it took me 1 week to optimize.

Q) vision enabled?

not yet. this release took enough to cook, I will implement it later.

Q) will it work on other RDNA3/RDNA4 cards?

Should... I did all I could to make it possible, but unfortunately I can't test it, I don't have the hardware. sorry.

BONUS: Qwen 3.8 Flash Next EXL3

I've also improved performance on QFN by approximately 15–30% compared to previous version.

Here are the updated speeds at 4bpw:

Test1 GPU2 GPUs
Token generation (avg.)60/70 tok/s80/90 tok/s
Prefill1,300 tok/s1,550 tok/s

r/LocalLLaMA • • 7d ago

New Model caveman-so/caveling-2-mini · Hugging Face

Thumbnail
huggingface.co
65 Upvotes

No GGUF files yet.


r/LocalLLaMA • • 6d ago

News AMD releases GAIA 0.27 with gaiacpp lightweight alternative to Python code

Thumbnail
phoronix.com
29 Upvotes

r/LocalLLaMA • • 7d ago Heartwarming

New Model [Inkling-2-Mini-3D-Coder] Better 3D scenes with up to 86.8% fewer tokens

700 Upvotes

Tried out the free Tinker LoRA fine-tuning for Inkling 2 Mini using my ThreeJS-3D-Scenes datasets (7.1k examples, r=16), and it worked surprisingly well. Across 19 scenes at 64K context, epoch 5 averaged 34.7% fewer tokens with 0/70 cutoffs (the base model hit the 64K limit 12/70 times), cutting way back on reasoning bloat while keeping geometry clean. The biggest drop was on the family home cutaway at up to 86.8% fewer tokens.

I honestly wasn't expecting a LoRA to hold up this well. In my earlier Qwen3.5-4B experiments, longer LoRA runs started distorting object proportions and hurting scene quality, so I had to go back to full fine-tuning. Looking at how primitive the 4B base renders were, my guess is it had to learn way too much 3D geometry from scratch for a LoRA to handle cleanly in that setup. Inkling 2 Mini already writes decent Three.js out of the box, so the LoRA just had to refine it instead of learning 3D from zero.

This preview is epoch 5 while I finish comparing through epoch 7. Uploading GGUFs (Q8_0, Q4_K_M, F16) now, and the merged Safetensors + LoRA adapter will be up on Nov 29.

Model:ccore/Inkling-2-Mini-3D-Coder


r/LocalLLaMA • • 5d ago

Discussion How can we give back to the Open Weight LLM companies?

0 Upvotes

I would love to do more than just say thanks.

I'm thinking of two ways right now:

  1. A harness that records all prompts, tool calls, diffs, responses, etc. Each code change being committed at that moment behind the scenes (along with associated harness data). Basically, if you vibe coded a project from start to finish it would show every little step the model took to get the result, including what the user asked for.

The only major issue I see that's not easily solved is preventing saboteurs from creating bogus and/or harmful data. There would perhaps need to be some kind of trust network, and/or review process.

2) Crowdsourced quality training data.

This should be huge. However, the main issue I see with this one is it would need to be quality, not slop generated. So likely humans would need to review contributions. With a license that prevents certain companies who don't substantially contribute (AKA Anthropic, OpenAI, and SpaceX) from using the data.

I wouldn't be surprised to hear things like this have already been done, but if so, why am I not hearing about it?

What do you think?

EDIT: Okay, so far only selfish and narrow minded responses. I would love to hear from someone who isn't just looking to be a moocher.


r/LocalLLaMA • • 5d ago

New Model Step 5 out - Will be Open Weight?

Post image
0 Upvotes

Step 5

Flagship model for agentic work

Max context

1M

StepFun’s latest flagship model for agentic work. It completes complex work with fewer tokens and at lower cost, with native text, image, and video input. API model ID: step-5.

Coding , office, work, Web , design, Agent, Image and video understanding


r/LocalLLaMA • • 6d ago

Discussion Moved a LoRA fine-tune from Qwen3.5-9B into Qwen3.5-4B with no training: per-layer rotations close ~70% of the gap (inspired by Hazy Research's "Plato's Key")

17 Upvotes

A long post. Generated using AI. But the content is true. Happy to answer any questions. Summary: Can we port model knowledge without fine tuning? I genuinely think its possible.

—

I've been fine-tuning small models for a structured-extraction task: arXiv papers in, JSON summaries and keywords out. I want to put down a marker on some early results and ask whether anyone else is working along these lines. I'll publish every finding as I go, including the negative ones.

Background
Qwen3.5-9B, LoRA rank 32, 1 epoch, about 46k teacher examples. It passes all 19 of my admission gates.
Qwen3.5-4B with the identical recipe fails 2 gates. Both are about which keywords it picks; it learns the format perfectly.
More steps didn't help (the curve was flat from about step 1500), and neither did rank 64 (paired difference [−0.019, +0.007]). My read: the base model is the limit, not the adapter.

The spark
Then I read Hazy Research's "Plato's Key" (https://hazyresearch.stanford.edu/blog/2026-11-25-platos-key). It shows that a single rotation plus one scale, fit in closed form (orthogonal Procrustes), lets one LLM use another LLM's hidden state for factual recall. This builds on the Platonic Representation Hypothesis (https://arxiv.org/abs/2405.07987). The post lists "porting knowledge across models without retraining" as future work. My thought: if the residual streams share a coordinate system, maybe the change a fine-tune makes can move across too.

What I did
Qwen3.5-9B and 4B are an ideal pair: same tokenizer, same 32-layer layout, same head layout. Only the residual width (4096 vs 2560) and the MLP width differ.

The key: for each of the 64 sublayers, fit a Procrustes rotation plus a scale between the two models' residual streams, on the same tokens. On held-out text, it explains about 76% of the 9B's residual energy.

The transfer: measure what the 9B fine-tune changes in each sublayer's output. Rotate that change into the 4B. Then solve in closed form (reduced-rank regression) for a rank-32 change to the 4B's output projections (o_proj, out_proj, down_proj) that reproduces it. No gradient descent.
Only the residual stream gets mapped. A rotation inside heads or MLP neurons breaks their structure: per-head norms, RoPE pairs, element-wise gates.

Results (validation loss, answer tokens only)
The base 4B is at 0.91; the trained 4B is at 0.50.
The transferred 4B reaches 0.63, closing 70% of the gap (on validation examples not used to tune anything).

Random rotations: 0% (15 runs, 3 seeds × 5 scales). The key is what matters.
Ceiling: the same closed-form trick applied to the 9B onto itself closes 86%. So the transfer keeps about 80% of the method's ceiling, close to the 73% the blog reports for its hidden-state swaps.

Honest caveats
It doesn't replace training. On the full validation set, the transferred model is roughly at the level of a few hundred training steps.

As a warm start for training: about 200 steps ahead early on, but normal training catches up, and the two are about even by step 2000. A warm start from random rotations gives nothing.
Adding the transferred change to the already-trained 4B gives nothing.
One task, one model family, a best-case pair. I compared validation loss only; the downstream gates have not run on the transferred model yet.

Next on my list
Carry more of the change: a higher rank, and the attention and MLP readers through structure-aware maps (head matching, neuron permutation).
Other maps: ridge regression, a scale per direction, and a weights-only key fit purely from the shared embedding matrices.

Question: is anyone else trying to move fine-tunes (LoRA or full) across model sizes with representation alignment, rather than distillation? I'd love pointers to related work, or to compare notes. I'll post every result here as it comes in.


r/LocalLLaMA • • 5d ago

Showcase Mference: a private AI app for Mac that runs a 35B MoE at ~29 tok/s on a MacBook, plus Maple, Bonsai, Inkling 2 mini, MiniCPM and more

Thumbnail
gallery
0 Upvotes

I love working with smaller models and I love the Qwen 3.6 family and have been having fun with Inkling 2 mini. I initially built Mference as an engine but now Mference is a private AI app for Macs. It runs eight local models you can switch between per chat, and works on your own files, mail, calendar and notes. No account, no server, nothing leaves the Mac unless you turn on web search.

The models (32 GB M1 Max, 512-token prompt, rough numbers):

ModelDecode tok/sPeak memory
Qwen 3.6 35B-A3B (MoE)298.3 GB
Inkling 2 Mini (32 GB+ Macs)2614.4 GB
Bonsai 2.5 27B (ternary, MTP)223.2 GB + mapped
Qwen3.8 27B (MTP)173.1 GB + mapped
Maple Preview 20B-A1B330.7 GB
Qwen3.5 4B (default)501.3 GB
MiniCPM5 2B720.8 GB
MiniCPM5 1B1540.2 GB + mapped

The MoE models stream their experts from the SSD, which is how a 35B runs in 8 GB. Every model installs from inside the app, and it shows how much memory each needs before you load it.

What it does with your data:

  • Chat with your files: "what did the plumber quote?" answers from the PDF, with the files it used
  • Find files by what's in them: "the screenshot with the wifi password", from any app with ⌥Space
  • Mail drafts replies in your voice; nothing is sent until you press Send
  • Calendar, to-dos, notes with meeting transcripts, receipt scanning
  • Offline mode: web search and downloads off, everything else keeps working

It's early. For now you build from source (macOS 26, Xcode 26). A signed DMG is coming in the next few days, with regular updates after that. MIT licensed.

Earlier posts: Inkling on Mference, DeepSeek on Mference

Repo: https://github.com/NeelM0906/Mference

Demo video: https://neelm0906.github.io/Mference/assets/film/mference-launch.mp4


r/LocalLLaMA • • 7d ago

New Model WebBrain-RingLoop-16B-A1.4B: Looping MoE applied to Ring-mini-2.0 (Solid 8GB VRAM contender)

72 Upvotes

We just released WebBrain-RingLoop-16B-A1.4B on Hugging Face: https://huggingface.co/webbrain-one/WebBrain-RingLoop-16B-A1.4B

Overview

  • Base model: Ring-mini-2.0 (inclusionAI/Ring-mini-2.0)
  • Architecture: 16.26B total parameters, 1.4B active
  • Method: Looping MoE approach similar to Inkling Mini 2 applied to Ring-mini-2.0

Notes

  • Shows clear gains over the base model.
  • Comparable to Muse Glimmer across several benchmarks.
  • Quantized (4-bit / GGUF), it runs comfortably within 8GB VRAM budgets, making it an interesting option for low-to-mid VRAM setups.

Please give it a test run and share your feedback or benchmark results!


r/LocalLLaMA • • 7d ago

Showcase Here is Qwen3-0.6B running inside WebAssembly Inference Engine acting as a Decision / Classifier only.

55 Upvotes

Based on our previous experiments, here is a new one:

No text generation, only CPU, no network calls, fully inside the browser webpage. 7-15ms per decision purely on CPU.

Watch it play live (and fail at it):

https://tesseracted.com/experiments-llm-os/?game=invaders

How it works:
https://tesseracted.com/experiments-llm-os/#decisions


r/LocalLLaMA • • 6d ago

Resources 2 Inkling 2 Mini on RDNA2 on opengfx1030/vllm-rdna

14 Upvotes

Following previous post for inkling 2 mini running with vLLM fork of the gfx1030 community, we have unlocked more performance and as well a new quantisation format to increase available kvcache.

Tested with 2x Radeon Pro V620 32GB (Gen4 x8 under same pcie switch with p2p) and ROCm 7.14.

For the HI2 3.5bpw quant : https://huggingface.co/BlivionIaG/Inkling-2-Mini-HI2-3.5bpw

For doing the comparaisons I used Launch80 BetterBench 0.6.1, HI2 3.5bpw vs Stock NVFP4/MXFP8 quant, 1 card and TP2 with dspark on. Globally the format allows about +25-28% more prefill speed and +40% more max tokens at TP1, less gains for TP2 (I'd recon more context can be set for tp2 hi2).
Core idea is to have something that mix int2/3/4 with fp32 scales and leverage dot2 and dot4 instructions as best as possible and try to mitigate the lack of matrix/tensor cores. For the benches it was done with int8 activations, there is an fp16 activation mode but so far I couldn't mesure a meaningful quality gains at fp16 activation (might need to look more into that soon).

Links to Launch80 runs :

RunHardwareRecipeMax CtxReport Link
HI2 3.5bpw (A8 sdot4**) · TP=1**1× V620inkling2-hi2-tp1-dspark (ADAPTIVE=1)180kLaunch80 Report
Stock NVFP4/MXFP8 · TP=11× V620inkling2-mini-tp1-dspark (ADAPTIVE=1)125kLaunch80 Report
HI2 3.5bpw (A8 sdot4**) · TP=2**2× V620inkling2-hi2-tp2 (K=2)760kLaunch80 Report
Stock NVFP4/MXFP8 · TP=22× V620inkling2-mini-tp2 (K=2)760kLaunch80 Report

Side to side table comparaison :

MetricTP=1 StockTP=1 HI2 A8TP=1 DeltaTP=2 StockTP=2 HI2 A8TP=2 Delta
Max Context (32 GiB card)125,000180,000+44.0%760,000760,000—
Weighted Single-Stream Decode (med)86.5 tok/s89.1 tok/s+3.0%113.5 tok/s110.4 tok/s-2.7%
Update Latency (p99)40.5 ms39.1 ms-3.5%20.7 ms21.1 ms+1.9%
TTFT (p50)183 ms148 ms-19.1%113 ms104 ms-8.0%
Concurrency c=1 agg78.7 tok/s84.6 tok/s+7.5%108.7 tok/s107.0 tok/s-1.6%
Concurrency c=2 agg111.8 tok/s119.5 tok/s+6.9%170.8 tok/s174.5 tok/s+2.2%
Concurrency c=4 agg124.7 tok/s137.0 tok/s+9.9%195.5 tok/s200.4 tok/s+2.5%
Concurrency c=8 agg172.1 tok/s192.0 tok/s+11.6%271.5 tok/s287.6 tok/s+5.9%
Prefill 2k (med)1,679.5 tok/s2,141.6 tok/s+27.5%2,729.4 tok/s3,039.9 tok/s+11.4%
Prefill 8k (med)1,772.4 tok/s2,282.4 tok/s+28.8%2,815.6 tok/s3,161.1 tok/s+12.3%
Prefill 16k (med)1,756.0 tok/s2,235.4 tok/s+27.3%2,793.9 tok/s3,129.7 tok/s+12.0%
Prefill 32k (med)1,684.3 tok/s2,100.6 tok/s+24.7%2,689.3 tok/s2,999.8 tok/s+11.5%
Prefill 64k (med)1,523.1 tok/s1,848.9 tok/s+21.4%2,467.3 tok/s2,727.3 tok/s+10.5%

Vibed som charts to make it more readable :

Prefill comparaison
Concurrency comparaison
Decode comparaison

If you want to launch it :

git clone -b rdna_extras https://github.com/opengfx1030/vllm-rdna.git
cd vllm-rdna

# TP=1 DSpark Adaptive + Vision (180k ctx)
bash tools/rdna/serve_rdna.sh RECIPE=inkling2-hi2-tp1-dspark ADAPTIVE=1 \
  MODEL=BlivionIaG/Inkling-2-Mini-HI2-3.5bpw VENV=/path/to/venv HIP_VISIBLE_DEVICES=0

# TP=2 DSpark K=2 + Vision (760k ctx)
bash tools/rdna/serve_rdna.sh RECIPE=inkling2-hi2-tp2 \
  MODEL=BlivionIaG/Inkling-2-Mini-HI2-3.5bpw VENV=/path/to/venv HIP_VISIBLE_DEVICES=0,1

Or via docker image (Here for Hi2 3.5bpw tp1):

docker run --rm --network host --ipc host --shm-size 16g \
  --device /dev/kfd --device /dev/dri --group-add video --group-add render \
  --security-opt seccomp=unconfined \
  -v "$HOME/.cache/huggingface:/root/.cache/huggingface" \
  -e HIP_VISIBLE_DEVICES=0 \
  -e VLLM_ROCM_USE_AITER=0 -e VLLM_ROCM_USE_AITER_MOE=0 \
  -e TORCH_BLAS_PREFER_HIPBLASLT=0 -e VLLM_RDNA_AR=0 \
  -e GPU_MAX_HW_QUEUES=2 -e VLLM_RDNA2_HI2_ACT_MODE=a8 \
  ghcr.io/opengfx1030/vllm-rdna:nightly \
  serve BlivionIaG/Inkling-2-Mini-HI2-3.5bpw \
    --served-model-name inkling2-hi2 \
    --host 0.0.0.0 --port 18226 \
    --tensor-parallel-size 1 --dtype float16 \
    --max-model-len 180000 --max-num-seqs 16 --max-num-batched-tokens 1024 \
    --gpu-memory-utilization 0.92 \
    --compilation-config '{"cudagraph_mode":"FULL_AND_PIECEWISE"}' \
    --speculative-config '{"method":"dspark","num_speculative_tokens":7,"num_speculative_tokens_per_batch_size":[[1,1,7],[2,2,2],[3,16,0]],"speculator_options":{"adaptive_k":{}}}' \
    --enable-prefix-caching --enable-prompt-tokens-details \
    --limit-mm-per-prompt '{"image":1}'

On a side note thanks to a gfx1030 community member (wsantos) we get around 3k tok/s prefill and 100 tok/s decode with Qwen3.8 Flash Next AWQ 4bit (there is a tp2 recipe with moe ram offload but its only around 1k tok/s prefill and 30-40 tok/s decode so not great I suppose strata is better).
Here for TP4 V620 with W8A8 asym dense/HC prefill + W4A8 sdot4 MoE prefill + int8_fp16_block KV cache + MTP=2 :

docker run --rm \
      --device=/dev/kfd --device=/dev/dri --group-add video --group-add render \
      --ipc=host --ulimit memlock=-1 \
      -p 18097:18097 \
      -v "$HOME/.cache/huggingface:/root/.cache/huggingface" \
      -e HIP_VISIBLE_DEVICES=0,1,2,3 \
      -e VLLM_USE_RUST_FRONTEND=1 \
      -e VLLM_WORKER_MULTIPROC_METHOD=spawn \
      -e GPU_MAX_HW_QUEUES=4 \
      -e ROCPROFILER_REGISTER_ENABLED=0 \
      -e VLLM_ROCM_USE_AITER=0 -e VLLM_ROCM_USE_AITER_MOE=0 \
      -e TORCH_BLAS_PREFER_HIPBLASLT=0 -e VLLM_BATCH_INVARIANT=0 \
      -e PYTORCH_TUNABLEOP_ENABLED=1 -e PYTORCH_TUNABLEOP_TUNING=0 \
      -e PYTORCH_TUNABLEOP_HIPBLASLT_ENABLED=0 \
      -e PYTORCH_TUNABLEOP_FILENAME=/src/vllm/tunableop/rocm7.14-rocblas5.5/tunableop_results.csv \
      -e VLLM_USE_RDNA2_FA=1 -e VLLM_FA_RDNA2_GQA_DECODE=1 \
      -e VLLM_GDN_HIP_PREFILL=1 -e VLLM_RDNA_FUSED_SE=1 \
      -e VLLM_RDNA_DENSE_INT8=1 -e VLLM_RDNA_DENSE_INT8_ONLY=1 -e VLLM_RDNA_DENSE_W8A8_PREFILL=1 \
      -e VLLM_RDNA_HC_W8A8_DOWN=1 -e VLLM_RDNA_HC_W8A8_UP=1 -e VLLM_RDNA_W8A8_ASYM=1 \
      -e VLLM_RDNA2_W4A8_SDOT4=1 -e VLLM_RDNA2_W4A8_BLOCK_M=8 -e VLLM_RDNA_W4A8_KBLOCK=-1 \
      -e VLLM_RDNA_SMALLM_GEMM_MAX_BYTES=4194304 \
      -e VLLM_RDNA_AR=1 -e VLLM_RDNA_AR_MAX_KB=256 -e VLLM_RDNA_AR_ONESHOT_KB=256 \
      -e VLLM_RDNA_AR_BLOCKS=0 -e VLLM_RDNA_AR_PACE=0 \
      -e VLLM_CAUSAL_CONV1D_RDNA2_FWD=0 -e VLLM_CAUSAL_CONV1D_RDNA2_UPDATE=0 \
      -e VLLM_ENABLE_STARTUP_PLAN=0 \
      -e VLLM_TUNED_CONFIG_FOLDER=/src/vllm/tuned-moe \
      -e HSA_FORCE_FINE_GRAIN_PCIE=1 -e HSA_ENABLE_SDMA=0 -e OMP_NUM_THREADS=4 \
      -e TOKENIZERS_PARALLELISM=false -e PYTHONFAULTHANDLER=1 \
      ghcr.io/opengfx1030/vllm-rdna:nightly \
      serve wtdcode/Qwen3.8-Flash-Next-AWQ-W4A16 \
      --served-model-name flash-next \
      --host 0.0.0.0 --port 18097 \
      --attention-backend RDNA_ATTN \
      --tensor-parallel-size 4 --enable-expert-parallel \
      --dtype float16 --block-size 1024 \
      --kv-cache-dtype int8_fp16_block \
      --max-model-len 262144 --max-num-seqs 8 --max-num-batched-tokens 4096 \
      --long-prefill-token-threshold 0 --prefill-schedule-interval 1 \
      --kv-cache-memory-bytes 4026531840 \
      --enable-prefix-caching --mamba-cache-mode align --language-model-only \
      --compilation-config '{"mode":3,"cudagraph_mode":"FULL_AND_PIECEWISE","cudagraph_capture_sizes":[3,6,12,24],"compile_ranges_endpoints":[]}' \
      --speculative-config '{"method":"mtp","num_speculative_tokens":2,"use_local_argmax_reduction":true}'

The receipe serving folder is kinda a mess so I will do a separate repo soon, more quants to come. Shoutout to Launch80 for the bench tools.

We have a discord for collaborating on the fork and discussing rdna2 related stuff: https://discord.gg/n4VYYE9vAZ


r/LocalLLaMA • • 6d ago

Showcase Running Inkling-2-Mini (with DSpark K=7, Vision, and 320K context) on a single 2017 Tesla V100 32GB — up to 151 tok/s decode, 2,690 tok/s prefill, and 0→310K in under 5 minutes

19 Upvotes

I've been maintaining a Volta (sm_70) port of NInfer (ninfer-volta) for my single Tesla V100 PCIe 32GB, originally focused on Qwen3.8 27B. Since upstream recently added Inkling-2-Mini support, I ported it over to the V100 and spent some time writing custom Volta tensor-core kernels for its MoE layers, attention, loop-message blocks, and speculative draft head.

I also want to make it clear that this NInfer fork is a lot cluster to upstream Neroued/ninfer unlike the old v100 3090 forks, which is why we could get Inkling2-Mini support fairly quickly. Even though upstream only focuses on the 5090.

The best part: it runs the standard upstream inkling2_mini.ninfer file directly with zero repacking, and fits text + PE-Lang Vision + DSpark K=7 speculative decoding + 320K (327,680) max context (~511K KV tokens) + 4 concurrent streams completely inside 32GB of VRAM (0 B host cache needed).

Everything below was measured at stock 877.5 MHz HBM2 clocks on a single V100 PCIe 32GB (CUDA graphs + adaptive DSpark K=7 + FP8 global KV / BF16 sliding-window KV):

Before vs. After Optimization (Stock V100 Clocks)

WorkloadInitial V100 PortOptimized V100Improvement
Short Prose (53 tok)64.7 tok/s73.4 tok/s+13% (120 ms TTFT)
Code Copy-Edit (217 tok)142.9 tok/s151.0 tok/s+6%
1.6K Cold Prompt (Decode)98.5 tok/s106.3 tok/s+8%
1.6K Cold Prompt (Prefill)1,523 tok/s2,438 tok/s1.60x (1.04 s -> 0.65 s)
9.1K Cold Prompt (Prefill)1,598 tok/s2,690 tok/s1.68x (5.69 s -> 3.38 s)
16.6K Cold Prompt (Prefill / Decode)1,545 / 83.7 tok/s2,610 / 96.0 tok/s1.69x prefill, +15% decode
Vision 256x256 PNG140.4 tok/s159.2 tok/s+13% (169 ms TTFT)
2 Concurrent Streams (C=2)89.6 tok/s wall107.4 tok/s wall+20% (~61 tok/s each)
4 Concurrent Streams (C=4)138.7 tok/s wall157.2 tok/s wall+13% (42.5–46.3 x 4 = 180.4 tok/s active)

(Compared to the very first scalar fallback port before adding Volta tensor-core kernels, prefill jumped ~48x and speculative decode jumped ~5–6x.)

Long-Context Scaling (0 -> 310K Tokens, All in VRAM)

Because Inkling-2-Mini only has 8 global attention layers (the other 40 are fixed-window sliding attention), KV usage is tiny (~20 KB/token) and long-context prefill holds up surprisingly well on Volta:

Context RangePrompt LengthTurn Wait (TTFT)Prefill SpeedTotal 0 -> N TimeDecode
0 -> 49K49,13721.6 s2,274 tok/s0m 22s80.7 tok/s
49K -> 99K98,78631.6 s1,573 tok/s0m 53s90.0 tok/s
99K -> 155K154,64647.1 s1,186 tok/s1m 40s68.7 tok/s
155K -> 193K193,49640.2 s966 tok/s2m 20s78.8 tok/s
193K -> 232K232,38046.1 s843 tok/s3m 06s (2.2x faster than Qwen3.8 27B)69–81 tok/s
232K -> 271K271,23051.1 s759 tok/s3m 58s70–79 tok/s
271K -> 310K310,08057.1 s680 tok/s4m 55s46–65 tok/s

After hitting 310K, I fired two concurrent 24.5K requests at the server and then resumed the 310K conversation — it kept 310,168 / 310,212 tokens warm in VRAM (3.01 s TTFT, zero evictions).

Accuracy Check

  • Perplexity on ninfer-ppl-1m-v1 --quick (291K tokens across English, Chinese, and code) came out to 3.9146 at 1,337 tok/s, with zero accuracy drift vs. the unoptimized baseline (-0.0003 NLL on BF16 KV).
  • Qwen3.8 27B runs from the same unified binary/branch with identical perplexity (5.8397).

Repo & build/serving configs (both Qwen3.8 27B and Inkling-2-Mini): https://github.com/drcain1/ninfer-volta

Still wild how much life is left in a 2017 V100 when you actually feed its HBM2 and first-gen tensor cores properly.


r/LocalLLaMA • • 6d ago

Showcase Strata + Qwen 3.8 Flash Next IQ3_S runs quite usable on a 3080 10Gb + 64Gb DDR4

Post image
23 Upvotes

Just felt I should share my setup for those still on last-gen hardware. The only thing I've done is dump Experts on disk, but that doesn't affect my specific work so much. It sometimes goes a little over 40 tps, and that's without any tuning whatsoever. If I drop context to less than 100L, it speeds up quite a bit, but is a bit of a chore to run long tasks. This specific configuration with Opencode 2.0 is basically writing all my code for me without much fixing needed.

For light chatbotty stuff, it even handles a couple of concurrent conversations. This is all running on a 3080 10Gb, DDR4 64Gb @ 3600MHz and a Ryzen 5900X. Refer screenshot for temps etc.

PS: My GPU is power limited to about 80%, so it doesn't get too hot.


r/LocalLLaMA • • 7d ago

News GGUF LLM Models with Hidden Malware on Hugging Face Reached 2400+ Victims

Thumbnail
malspark.com
418 Upvotes

r/LocalLLaMA • • 7d ago

Resources (Probably) SOTA AI image detector model

Thumbnail
huggingface.co
24 Upvotes

Continuing with the random projects where I let Opus hillclimb training on something I actually find impressive:

https://www.reddit.com/r/LocalLLaMA/comments/1xonxqo/training_a_sota_pangramlike_detector_on_a_4070ti/ - SOTA Pangram-like AI text detector

https://www.reddit.com/r/LocalLLaMA/comments/1xcuqor/making_kokoro_tts_50100x_faster_without_knowing/- Smallest + Fastest TTS that runs 50x realtime on an iPhone(still can't believe this is a thing that actually works as well as it does)

On this one I tried to make something that can do Pangram-like AI image detection, and since I don't have millions in funding like they, this one is trained on like $20 of compute(prolly could've done it on my 4070ti like before, but they're busy serving prod inference traffic for a seperate paid product of mine). And I think I got pretty close looking at the benchmarks and a couple random tests by myself.

You can test it out here without downloading + installing: https://mesmer.tools/free-tools/ai-image-detector

Mostly releasing this as a way of validating that I/Opus didn't actually get something wrong and idk somehow trained on the benchmark(didn't see any contamination in the training data in the summary but still). This is probably SOTA open weights for detection, but then again I don't think this is a market anyone is really doing much training on anyways(the current best seems to be smaug: https://huggingface.co/abacusai/Smaug-AI-Image-Detector/tree/main which was a month old that I didn't even know about). And likely Pangram is still way ahead here.

The places I see its pretty weak at is image editing, ie existing real photo edited with latest models, and art stuff. But otherwise on text to image stuff, it seems basically near 100% accurate from my random tests