r/LocalLLaMA • • 20h ago

Discussion How the memory for 1M tokens shrank from 130TB to 890MB

Post image
812 Upvotes

I wrote a blog post that follows the GPU memory one 1M-token conversation needs, from Llama 1 65B to DeepSeek-V4.1-Flash.

It dives into the different techniques that have enabled this: FlashAttention, Grouped Query Attention, Multi-head Latent Attention, KV Cache quantization, caches that merge several tokens into a single entry, and finally caches that are shared throughout different layers.

https://three.dev/blog/how-the-memory-for-a-million-tokens-shrank


r/LocalLLaMA • • 9h ago

New Model NVIDIA just quietly dropped open weights for Nemotron-Labs-Image-30B-A3B

Thumbnail
gallery
421 Upvotes

NVIDIA just quietly dropped open weights for Nemotron-Labs-Image-30B-A3B on Hugging Face, the autoregressive image generator from its new Nemotron-Labs-VisualCreation ("Pixel as Code") framework.

Nemotron-Labs-VisualCreation is an agentic framework for creating expressive raster images and editable visual artifacts, including webpages, presentations, documents, charts, and scientific figures.

In key benchmarks output outperforms GPT Image 2 and Nano Banana Pro.

Nemotron-Labs-Image-30B-A3B is its raster image-generation component:

30B total / 3B active MoE (Nemotron-H hybrid Mamba-2 + attention, initialized from Nemotron 3 Nano), trained with progressive mid-training + GRPO

Hugging Face: https://huggingface.co/nvidia/Nemotron-Labs-Image-30B-A3B


r/LocalLLaMA • • 18h ago

New Model prism-ml/Ternary-Bonsai-2.5-27B-GGUF · Hugging Face

Thumbnail
huggingface.co
319 Upvotes

A 27B ternary model built for agents, for llama.cpp (CUDA, Metal, CPU)

~9× smaller than FP16 | FP16-level agentic tool calling | 90% of FP16 agentic coding | the strongest agentic model under 10 GB

Ternary Bonsai 2.5 27B is the agentic release of the Ternary Bonsai 27B line. It keeps the Qwen3.8-27B hybrid-attention architecture and the ternary weight format of Bonsai 2, so it is still 1.76 bits per weight and 5.93 GB, against 53.8 GB for the FP16 model. This release targets long-horizon, tool-driven work.

Highlights

  • FP16-level agentic tool calling at one ninth of the size: across five tool-calling benchmarks (τ²-Bench, τ³-Bench, BFCL v3, BFCL v4, and AppWorld), Bonsai 2.5 averages 77.2, against 77.7 for FP16 — essentially indistinguishable from full precision
  • 90% of FP16 on agentic coding, up from 63% for Bonsai 2: on Terminal-Bench 2.1, SWE-bench Verified, and DeepSWE, DeepSWE rises from 0 to 27.0, SWE-bench Verified from 60.8 to 75.6, and Terminal-Bench 2.1 from 52.8 to 60.1
  • The strongest agentic model under 10 GB: the smallest of the low-bit GGUF builds of Qwen3.8-27B we compare against, and it leads every build under 10 GB on both tool calling and agentic coding. Against GSQ-RCO IQ3_XXS, which is 1.7× larger, it is ahead on tool calling (77.2 vs. 75.3) and close on coding (54.2 vs. 55.5)
  • General capability stays close to FP16: averaged over five categories (16 benchmarks), Bonsai 2.5 scores 82.1 against 84.3 for FP16
  • Multi-token prediction (MTP) variants: the MTP variants include a draft head that speeds up decode by 1.5–1.8× on NVIDIA GPUs
  • 2.3–3.0× faster decode than on Bonsai 2's release day on six of the seven NVIDIA GPUs measured, with MTP and the kernels now in testing — reaching about 300 tokens/s on H200 and B200
  • Runs on stock llama.cpp: the Q2_0 files run on upstream llama.cpp; PTQ1_0 is under upstream review

Resources

  • Whitepaper — benchmarks, evaluation setup, and inference-speed measurements for this release
  • Bonsai 2 27B whitepaper — the ternary format, storage accounting, and rotated weight basis, all unchanged in Bonsai 2.5
  • Demo & examples — the source of truth for running these models: tested setup for every backend, pinned binaries, serving, MTP speculative decoding, benchmarking and integration, kept current as the runtimes move
  • Low-bit kernels: llama.cpp fork (CUDA + Metal) · MLX fork (Apple Silicon) · mlx-swift fork (iOS/macOS)
  • Discord — join the community for support, discussion, and updates

Model Overview

Changes from Bonsai 2 are marked with †.

ItemSpecification
Base modelQwen3.8-27B, a 27B hybrid-attention causal language model
Parameters24.35B language (64 blocks) + 0.47B vision tower (27 blocks) + 2.54B embedding/lm-head = 27.36B total
ArchitectureHybrid attention (~75% linear / ~25% full attention), SwiGLU MLP, RoPE, RMSNorm
Context length262K tokens
Weight formatTernary g128 (FP16 group-wise scaling) in a blockwise Hadamard basis; 1.76 bits per weight, 5.93 GB (PTQ1_0)
Focus †Agentic and tool-use tasks
Reasoning effortsxhigh (default, most accurate) or medium
Backendsllama.cpp (CUDA, Metal, CPU, SYCL) and MLX (Python, Swift); GGUF packs PTQ1_0 and PQ2_0, plus Q2_0 for stock llama.cpp
Speculative decoding †The MTP variants include a multi-token prediction (MTP) draft head
LicenseApache 2.0


r/LocalLLaMA • • 6h ago

Question | Help Is it true that even best open models are behind Haiku

Post image
278 Upvotes

Because of my personal position, I never worked with closed models. I used a lot, almost all popular open models, mostly for coding on different platforms. Last months, my main drivers are local 27B and QFN, and for heavy lifting I use cloud full Kimi or GLM. I have customized Pi harness with a lot of my custom plugins, and have no problems doing all my tasks with it, from embedded to Android.

But according to AA coding benchmarks, even K3.1 Pro is behind Haiku. Sonnet is miles ahead, whilst Opus almost streams tokens directly from intergalactic starship.

I could easily believe, that the benchmark is just corrupt by greedy Ram Altman and others, but many people on Reddit claim that it is sad, but true.

According to your experience, is that the case?


r/LocalLLaMA • • 19h ago

Discussion Upcoming Models - Solar-Mini-4.5, MiniCPM5-15B-A2.5B, etc.,

Post image
227 Upvotes

Solar Mini 4.5 Preview (Upstage)

Early-access preview of Upstage’s next compact agentic model ahead of its Dec 1 official launch (preview retires Nov 30). It packs 35B total / 3B active params with a 512K context window and 128K max output, supporting reasoning and tool calling.

MiniCPM5-15B-A2.5B draft leak (OpenBMB)

OpenBMB uploaded a public 429M-parameter DSpark speculative-decoding draft model (MiniCPM5-15B-A2.5B-1113-Dspark, block_size 7) on Hugging Face. Its config.json points to an unreleased 28-layer MiniCPM5-15B-A2.5B target model with a 512K context window whose main weights are still private.

qwen-audio-3.1-live (Alibaba Qwen)

Real-time voice chat model now listed in Alibaba Model Studio. Instead of going silent while tools run, it keeps conversing naturally while backend models handle longer tasks asynchronously, then reports the results.

Qwen-Audio-3.1-Captioner (Alibaba Qwen)

Audio tagging, full-spectrum transcription, and acoustic scene analysis model hosted on Alibaba Cloud Model Studio (Beijing). Outputs speaker info, timestamps, environmental sounds, and music, and can separate voices from background audio.

hungerg (stealth model, likely StepFun)

Spotted in OpenCode Go’s catalog before being pulled (revert notes launch moved to Nov 24) and currently free to test in Qoder. Our 98-line rare-token probes garbled 5/5 DeepSeek/Step-5 lines, triggered StepFun-only unused special token </tool_calls> (ID 128013), and matched step-5-preview’s 1M context, 65K output, and 8 media formats byte for byte (unconfirmed).

(Day old) Tweet : https://x.com/aitrackerbot/status/2125053324705591315

We already got Ling-3.2-air, Kolibri-1.1, SenseNova-U1.6-8B-MoT, SenseNova-Loop-9B-DFlash2, SenseNova-RoboRSI-27B from the list.


r/LocalLLaMA • • 12h ago

Discussion Inkling 2 mini ain't Qwen 3.8 27B

213 Upvotes

Quite honestly, I had already given up testing all the MOE in the 20-40 B range. for complex tasks, they always fail for me for some reason, but then I heard and read the official benchmarks that inkling 2 mini was on par with Qwen 27B.

So I downloaded it and gave it a shot. I installed the new version of llama.cpp, since the loop architecture requires it.

It's fast, large prefil capacity, but it absolutely craps out in long tasks.

It thinks, it thinks, and then it thinks some more.

This model ain't Qwen 27B. Not even close.


r/LocalLLaMA • • 15h ago

Resources Inkling Mini's bench scores improved by as much as 10% for FREE by Apple's LoopCD paper

Thumbnail x.com
186 Upvotes

Ok it's not free-free the same way a magical "press to smartize the model" would be, but you can pick

  • Either have a slightly smarter model for something between 2-32% FLOPs cost (they didn't measure tok/s, and this method is primarily for decode, so in practice it will be almost no hit for most local users)
  • Have a model that's just as smart but faster because you can choose to loop less & argue that mathematically you're doing the same thing but now you're doing it smarter because you don't throw out some of what is computed

r/LocalLLaMA • • 18h ago

Discussion The administration likes open weight models so they pushed to bring back Jensen?!

Post image
124 Upvotes

https://www.wsj.com/business/nvidia-jensen-huang-white-house-9ad03961

Was not expecting this to be a factor but if true this is great!


r/LocalLLaMA • • 22h ago

Discussion Neon Should be distilled into the Qwen models for the ultimate brain child!

Post image
120 Upvotes

I run qwen models locally, and keep up closely with the local model space, but i also keep a subscription from every major lab to test out what the frontier is like and do alot of work there aswell.

One behavioural issue i started seeing with the big frontier models is they have gotten too narrow sighted on being right, and realistic and verifying/testing their stuff. that they entirely loose the picture of whats possible, the ambition to do better, the enthusiasm and the intuition to look for other pathways and answers , to come up with something truly novel.

Even models like opus 5.5 while being exceptionally capable, gets stuck on the pointless details to ensure it doesn't overpromise or break anything, while astra models have pushed this too far to the point where they literally can't even move a needle from point A to B without a 1000 verification tests and 40k dollars worth of compute. (slight exxageration but not really)

This behavior, has since been translated into more and more open weight models... IG most of us here know why that is... but not gonna get into it in this post.

No matter how smart the models are locally, if they lack the enthusiasm, the vision, the excitement and the optimism to do better, they're not gonna do too good.

but neon series seems to have finally fixed this (there are still other issues with the model, mainly the sychophancy - which i find weird no one has complained about, i guess every dev just loves being told they're the next einstein or smthng)

I am working trying to work on a small project locally with my own neon outputs to see if i can get qwen flash next's model behavior to be better suited for suited for ambigious software tasks, cause that model is clearly capable, its super smart and can do alot of things just gets handicapped by the fear of going too far or doign something wrong


r/LocalLLaMA • • 13h ago

Discussion Price drop alert: RTX 6000 MaxQ now 13.5k, R9700 now 1.8k @ Microcenter

90 Upvotes

Peak prices at Microcenter: 16k for the MaxQ, 2k for R9700.

(R9700 is now just a mere 38% above msrp lol)

About $180 markup from AMD f you account for the increase in memory costs.

RTX 6000 mark up after memory costs is about 2k.


r/LocalLLaMA • • 19h ago

New Model KRAFTON/Raon-1-mini · Hugging Face

Thumbnail
huggingface.co
88 Upvotes

https://huggingface.co/KRAFTON/Raon-1-mini-gguf

Raon-1 mini is a 30B-A4B Mixture-of-Experts (MoE) language model, designed and trained from scratch by KRAFTON AI. It demonstrates strong capabilities in Korean conversation and agentic tasks. As part of the Raon open model family, it is released under the Apache 2.0 license.

Highlights

  • Reasoning: Built-in thinking with six reasoning effort levels (none, low, medium, high, xhigh and max), selectable per request. Scores 96.7 on AIME 2026, 87.1 on HMMT Feb 2026 and 86.0 on GPQA Diamond.
  • Multi-turn conversation and search: Leads the compared MoE models on MultiChallenge (64.9) and BrowseComp Plus (55.9), the multi-turn conversation and search benchmarks shown below.
  • Multilingual capabilities: Trained on Korean, English, Japanese, Chinese, Spanish, French, and Thai. Demonstrates strong Korean performance and solid English capabilities.
  • Agent execution: Tool calling for agentic workflows, with support for Hermes Agent, Pi and OpenCode.
  • Speculative decoding support: A DFlash2 draft model is provided for accelerated speculative decoding.
  • Quantization options: Available in MXFP8 and NVFP4 formats, with NVFP4 enabling inference on a single NVIDIA RTX 5090 gpu (32 GB VRAM).

Model Overview

Raon-1 mini uses a hybrid Mixture-of-Experts (MoE) architecture, consisting of 18 linear attention layers and 7 full attention layers.

  • Raon Delta Attention (RDA): Raon Delta Attention decouples the erase and write gates of Kimi Delta Attention, which improves long-context performance over KDA.
  • Raon-mHC: Raon-mHC reduces the computational cost of DeepSeek’s manifold-constrained hyper-connections (mHC), which speeds up training.
  • Hybrid layout: 18 of the 25 layers are Raon Delta Attention layers with a fixed-size state. Only the 7 MLA layers keep a KV cache, about 8 KiB per token in BF16.
  • Long context: Natively supports up to 262,144 tokens of context.
  • Sparse MoE: 6 of 128 routed experts plus 1 shared expert are active per token, so each token uses 4.3B of the 28.8B total parameters.
FieldValue
ArchitectureMoE
Total Parameters28.8B
Activated Parameters4.3B
Layers25
Hidden Size2,560
AttentionHybrid — RDA 3 : Gated MLA 1
Position EncodingNoPE (no positional encoding)
Number of Attention Heads40 for both RDA & Gated MLA
Attention Head Dimension128 for RDA; 192 QK / 128 V, for Gated MLA
Query / KV LoRA Rank576 / 512, for Gated MLA
Number of Experts128
Number of Activated Experts6 routed + 1 shared
Expert Intermediate Size1,088
Dense FFN Intermediate Size (first layer)12,032
Activation FunctionSiTU-GLU
Residual ConnectionRaon-mHC w/ 4 streams
Vocabulary Size259,840
LM HeadUntied
Context Length262,144 tokens


r/LocalLLaMA • • 23h ago

New Model SoulX-Singer: A New Model for Local Singing Synthesis and Voice Conversion

83 Upvotes

It's not really a new model. It was released a while ago, but no one seems to be talking about it. I integrated SoulX-FlashHead into audio.cpp, and it turned out to be pretty good, so I looked into other models from the same group and discovered this one. This group has been developing some great models, and I'd love to see more people discover their work.

Two tasks:

SVS: lyrics + melody (notes and timing) + reference voice ---> singing vocals

SVC: vocals + reference voice ---> vocals in the reference voice

Model sizes on disk: ~1 GB for SVS · ~1.6 GB for SVC

Heads-up: Only support English, Mandarin, and Cantonese. 24 kHz audio output

https://huggingface.co/Soul-AILab/SoulX-Singer

GGUF: https://huggingface.co/audio-cpp/SoulX-Singer-GGUF


r/LocalLLaMA • • 4h ago

Resources Unlocking the Power of Loops in Pretrained LLMs with Loop Residuals

Post image
74 Upvotes

Looped Transformers iterate a shared block of layers to increase computation without adding parameters, offering stronger performance and test-time scaling. However, this power has so far required training from scratch and yielded only modest gains for LLMs. Finetuning existing models into loops is far cheaper, yet also brings only marginal gains over SFT. We propose LoopRes, an effective, scalable, and simple approach that turns loops into significant and consistent gains for pretrained LLMs. Building on Attention Residuals, LoopRes lets each looped layer attend directly to the outputs of earlier loops. Since these outputs are iterates of the same layers and become harder to tell apart, we give each a trainable loop-aware key that encodes its structural identity. Attending to all earlier loops also lets layers skip intermediate ones, so we restrict each layer to a residual window of the latest W loops, forcing every loop to build incrementally on recent ones. Across 6 pretrained LLMs from 3 model families and 9 benchmarks, LoopRes delivers significant and consistent gains: at 2× compute, it improves Qwen3-1.7B-Base by 29.1% over SFT, more than doubling the gain of the state-of-the-art baseline. The gains hold on larger models up to 30B and across all three families. More importantly, from 1.7B to 8B, LoopRes scales more steeply than SFT as compute grows, reaching a higher ceiling while needing less compute on long outputs. These results establish LoopRes as an effective looping approach, delivering both better performance and better test-time scaling.

paper https://github.com/NUS-HPC-AI-Lab/LoopRes/blob/main/docs/paper.pdf

code https://github.com/NUS-HPC-AI-Lab/LoopRes

model : https://huggingface.co/oahzxl/LoopRes-Qwen3-1.7B


r/LocalLLaMA • • 17h ago Popcorn

News feat: Inkling 2 DSpark support by pwilkin · Pull Request #32218 · ggml-org/llama.cpp

Thumbnail
github.com
74 Upvotes

two Inkling speedups were also merged:

https://github.com/ggml-org/llama.cpp/pull/32855 by TwelveNights

https://github.com/ggml-org/llama.cpp/pull/32940 by am17an

so make sure to update your llama.cpp before launching inkling again


r/LocalLLaMA • • 16h ago

New Model Ternary Bonsai 2.5 27B Uncensored

Thumbnail
huggingface.co
69 Upvotes

Refusals dropped from 100% to 0% in our test and it scores 81.2% on MMLU

One 5.99 GB PTQ1_0 file with the uncensoring baked into the ternary weights, runs on the Prism ML llama.cpp fork. Made by atomic.chat local ai


r/LocalLLaMA • • 19h ago

Resources CCORE Web Designs: 3,500 training samples for web design, presentations and infographics

Post image
69 Upvotes

Just released my dataset with 3,500 training samples across 40 domains and 29 layout families. Each sample includes the prompt, reasoning and complete HTML built with React.
The goal was to explore how far small models can go in visual design with high-quality training data.

Dataset: ccore/CCORE-Web-Designs

I also released the 4B model trained on it: ccore/CCORE-Web-Coder-4B

feel free to use it, experiment with it, and share your results :)


r/LocalLLaMA • • 22h ago

Discussion Inkling 2 Mini on 2× RTX 5070 Ti, 308 tok/s writing code, with the original weights

Post image
65 Upvotes

Disclaimer. Checkpoint weights as-is: NVFP4/MXFP8 experts, rest BF16. KV cache and activations at 16-bit, no added quantization. Compared to Transformers with the same weights, the KL stays within the reference noise.

Speed. In v0.16, Inkling's decode used 40% of the cards' theoretical bandwidth, versus 78% for Qwen 27B. We only optimized the engine and today we're at 65%. The rest is taken by the expert routing and the small steps around it: the router has to decide before the experts can be read, and meanwhile the memory is idle.

Numbers (v0.16.0 → v0.16.3, one request):

  • decode at 4k: code 230 → 308 tok/s, text 149 → 205
  • prefill at 4k: 4,928 → 8,038 tok/s
  • 254k of context, all in VRAM

Next steps: the drafter, which gains little on prose, and the overthinking, because Inkling reasons even with thinking off.

github.com/ValerioDolci/capy-flash


r/LocalLLaMA • • 3h ago

New Model internlm/Sage-Interaction · Hugging Face

Thumbnail
huggingface.co
50 Upvotes

Sage-Interaction is a 9B-parameter omni interaction model built on MiniCPM-o 4.5. It processes streaming audio and video and generates speech in real time. It can respond to interruptions, resume after brief user acknowledgments or background speech, and react to changes in a live video stream.

The model can delegate longer tasks to a backend while continuing the conversation. The frontend handles real-time interaction, and the backend performs longer reasoning or tool-assisted tasks. When the result arrives, the frontend brings it into the ongoing conversation.


r/LocalLLaMA • • 22h ago

Discussion SenseNova-U1.6-8B-MoT vs U1.5: UltraTextBench 79.30 to 86.04, and 92.28 with its self-correction loop on (open 8B image model)

Post image
30 Upvotes

Numbers are from the benchmark chart in the SenseNova-U1 GitHub README (https://github.com/OpenSenseNova/SenseNova-U1), I just pulled out SenseNova's own three columns.

Same 8B-MoT architecture as U1.5, Apache 2.0, and the new trick is that it can look at the image it just made and redraw it. On UltraTextBench (dense infographic text) one pass goes 79.30 to 86.04, and 92.28 with self-correction on. Their user-study aesthetic score goes 64.10 to 70.80, BizGenEval (avg of Easy and Hard) 60.77 to 64.93.

SenseNova-U1.6-8B-MoT on an M5 Ultra Mac Studio, their own inference script, BF16 with the 8-step Turbo LoRA: about 9 seconds for a 4 MP image, 35.5 GB peak memory.


r/LocalLLaMA • • 6h ago

News AI agent ARTEX planted malware on Hugging Face and leaked its own keys

Thumbnail
maccus.fr
27 Upvotes

13 repos were infected


r/LocalLLaMA • • 7h ago

Discussion A bit of slop on 3D “modeling”: Qwen 3.8 Flash Next (125B) vs Inkling-2-Mini (26B)

Thumbnail
gallery
27 Upvotes

Same prompt for both: build an interactive V8 in Three.js. Both ran locally with custom dynamic quants at roughly 4-bit. Not a benchmark, just wanted to see what each model would spit out.

Qwen went for bare metal and exposed cams. Inkling went for red cylinder banks and a live stroke readout for all eight cylinders. Screenshots in that order.

Prompt:

Let's build a V8 engine.

A stunning, fully interactive 3D simulation of a 90-degree V8 on an industrial
engine test stand, in Three.js/WebGL, running in the browser.

Eight cylinders in two banks of four, cross-plane, with visible pistons, rods,
crankshaft, camshafts and valves.
Detailed heads, intake, exhaust headers, bolts and pipework.
Realistic PBR metals.
Real, synchronised animation: pistons driven off the crank, cams turning at
half crank speed, and a full four-stroke valve sequence.
An RPM slider from 0 to 4 000, plus slow motion.
WASD plus mouse walking, orbit, and smooth zoom.
Working controls: START / STOP, RPM CONTROL, CUTAWAY, EXPLODED VIEW, ASSEMBLE,
PART INSPECTION, RESET CAMERA.
Procedural geometry only — no downloaded models.
Every control functional, and nothing floating apart.

r/LocalLLaMA • • 16h ago

Resources Local Inference Lab: ERNIE-5.5-Flash-Preview on 2x RTX PRO 6000 Blackwell 510 tok/s peak, 14.7K tok/s cold prefill (1,260 tok/s batched, 1.42M KV tokens)

25 Upvotes

Local Inference Lab production-signed runtime package for Baidu's ERNIE 5.5 Flash Preview (baidu/ERNIE-5.5-Flash-Preview, Apache-2.0) — a 43-layer hybrid architecture (37 Hybrid Comp ressed Attention / VHA layers + 6 MQA-DSA sparse attention layers, 512 routed SiTU MoE experts + 1 shared expert, top-10 split-feature sigmoid routing, mHC-4 residuals, MultiMax logit calibration, bundled D Spark MTP-7 speculative drafting, and native 1M context) — running on NVIDIA Flare across just 2× PCIe Gen5 RTX PRO 6000 Blackwell 96 GB GPUs (no NVLink, no Python at serving time, pure native Rust + precompiled CUDA graphs).

By keeping the checkpoint's lossless CSF-compressed MXFP4 expert scales (instead of expanding them on GPU) and tuning both prefill and decode to the SM120 / PCIe Gen5 roofline:

  • Single-session coding peaks at 510.1 tok/s — averaging 286.5 tok/s end-to-end incl. TTFT over a full 84,456-token reasoning + HTML5 Tetris generation (294.7 s, [Finish] stop), and 358.6 tok/s (4.44 tok/round) on shorter coding prompts (RB-Tree).
  • Batched throughput hits 1,251–1,262 tok/s steady-state (953.6 tok/s full wall-clock at C32; 596.2 tok/s / 129.9 tok/s/user at C8).
  • Cold prefill reaches 14,717 tok/s (0.86 s TTFT at 12.7K, 1.75 s at 25.4K, 3.51 s at 50.8K — zero prefix cache, 97.0% GPU compute-busy across 129 PCIe AllReduces per 4096-token chunk).
  • 1,416,192 shared KV tokens (24.5 GiB KV cache, 241 snapshots) + full 1,048,576 per-request context on two 96 GB GPUs (81.16 GiB/GPU fixed model footprint), with native Rust <ernie:think> reasoning ext raction and <ernie:tool_call> XML tool-calling.

Benchmarks

2× RTX PRO 6000 Blackwell (96 GB) — CSF MXFP4 + DSpark MTP-7 (TP2, alpha=0.6, PCIe RO=1)

WorkloadThroughputPer-UserNotes
Live coding / Tetris (84,456 tok incl. reasoning)286.54 avg / 510.06 peak tok/s286.54 avg / 510.06 peak294.7 s wall time incl. TTFT, [Finish] stop
C=1 coding (RB-Tree)358.6 tok/s358.6 tok/s4.44 tok/round
C=8 concurrent decode596.2 tok/s129.9 tok/sPacked adaptive verification (budget=128)
C=32 concurrent decode953.6 tok/s (1,251–1,262 steady-state)29.8–39.4 tok/sbatch=16–32 steady-state peak 1,262 tok/s
Kernel step latencies (nsys / native)DECODE1 7.19 ms · DRAFT1 0.64 ms · VERIFY8 10.30 ms—~90–91% SM120 GDDR7/compute roofline
Cold 6.3K prefill (no prefix cache)12,632 tok/s—0.50 s TTFT (6,325 tok)
Cold 12.7K prefill (no prefix cache)14,717 tok/s—0.86 s TTFT (12,681 tok)
Cold 25.4K prefill (no prefix cache)14,551 tok/s—1.75 s TTFT (25,403 tok)
Cold 40K NIAH (39,932 tok)14,394 tok/s—2.77 s TTFT, PASS
Cold 50.8K prefill (no prefix cache)14,474 tok/s—3.51 s TTFT (50,848 tok)
KV capacity & max context1,416,192 shared KV tokens—24.5 GiB KV cache, 241 snapshots, 1M max context

(Test host: 2× NVIDIA RTX PRO 6000 Blackwell Workstation Edition 96 GB, NVreg_EnablePCIERelaxedOrderingMode=1, native Rust flare run with --mtp-draft-tokens 7 --mtp-adaptive-verification --mtp-adaptive-verifi cation-alpha 0.6. Verified on the exact signed production core: PyTorch reference parity cos=0.9963–0.9992 / top1_match=True, compute-sanitizer --tool memcheck 0 errors across all custom Triton & b12x kern els, 84.5K-token Tetris completion, C=16 × 24K-context packed-decode stress 16/16 HTTP 200, <ernie:think> reasoning, <ernie:tool_call> XML tool-calling, and logprobs=True.)


Quick Setup Guide (NVIDIA Flare)

1. Recommended NVIDIA Kernel Driver Setting (modprobe)

Because RTX PRO 6000 Blackwell communicates over PCIe P2P (no NVLink), enabling PCIe Relaxed Ordering unlocks posted-write collectives and removes cross-switch read stalls:

echo 'options nvidia NVreg_EnablePCIERelaxedOrderingMode=1' | sudo tee /etc/modprobe.d/nvidia-relaxed-ordering.conf
sudo update-initramfs -u
sudo reboot

Verify after reboot (EnablePCIERelaxedOrderingMode: 1 and working P2P in topo -m):

grep EnablePCIERelaxedOrderingMode /proc/driver/nvidia/params
nvidia-smi topo -m

2. Run on 2× 96 GB SM120 GPUs (gb202, ~167 GB / 156 GiB)

Hosted on Hugging Face under Local Inference Lab: https://huggingface.co/local-inference-lab/ERNIE-5.5-Flash-Preview-FLARE (--revision gb202)

Note: Serving ERNIE 5.5 requires a flare binary / container build containing NVIDIA/hyperflare-inference#500 (native Rust <ernie:think> and <ernie:tool_call> XML parser support).

Docker:

docker run --pull=always --rm -it \
  --gpus '"device=0,1"' --ipc host \
  --ulimit memlock=-1:-1 --ulimit nofile=65536:65536 \
  -p 127.0.0.1:8000:8000 \
  -v flare-home:/home/flare \
  ghcr.io/local-inference-lab/flare:release \
  run local-inference-lab/ERNIE-5.5-Flash-Preview-FLARE \
  --revision gb202 --filename model.safetensors \
  --gpus 0,1 --max-concurrency 32 --mtp-draft-tokens 7 \
  --mtp-adaptive-verification --mtp-max-verification-token-budget 128 \
  --mtp-adaptive-verification-alpha 0.6 --scheduler-policy balanced \
  --prefix-cache-memory 64G --kv-cache-limit memory \
  --host 0.0.0.0 --port 8000 --served-model-name ERNIE-5.5-Flash-Preview

Native binary (no Docker):

flare run local-inference-lab/ERNIE-5.5-Flash-Preview-FLARE \
  --revision gb202 --filename model.safetensors \
  --gpus 0,1 --max-concurrency 32 --mtp-draft-tokens 7 \
  --mtp-adaptive-verification --mtp-max-verification-token-budget 128 \
  --mtp-adaptive-verification-alpha 0.6 --scheduler-policy balanced \
  --prefix-cache-memory 64G --kv-cache-limit memory \
  --host 127.0.0.1 --port 8000 --served-model-name ERNIE-5.5-Flash-Preview

Send a request (OpenAI-compatible API):

curl --fail http://127.0.0.1:8000/v1/chat/completions \
  -H 'Content-Type: application/json' \
  -d '{"model":"ERNIE-5.5-Flash-Preview","messages":[{"role":"user","content":"Explain how a hash table works."}],"max_tokens":1024}'

Sampling uses ERNIE 5.5 defaults (temperature=1.0, top_p=0.95, repetition_penalty in [1.0, 1.2]), with MultiMax logit calibration applied automatically across target, resume, prompt-logprobs, and DSpark Markov sampling paths.


Under the Hood: Hitting the SM120 & PCIe Gen5 Roofline on 2 GPUs

All kernel, runtime, and recipe work is open-source and submitted upstream:

  • 97.0% GPU Compute-Busy Prefill (PREFILL4096 = 250.3 ms, only 7.7 ms idle across 129 PCIe ARs / 4.86 GB):
    • 2-microbatch interleaved compute/P2P pipeline with deferred o_gate(A) + o_gate(B) hidden inside VHA AR(B) PCIe DMA windows (cutting exposed VHA AR gap from 204 µs → 109 µs).
    • Single-shot full-chunk MoE (MOE_EXPERTS 84.94 → 64.45 ms, -20.5 ms), defer_post / defer_reduce_b kept through aux layers 40–41 (-3.70 ms mHC), and in-place late-load Triton VHA mix kernels (-92 MiB/GPU).
  • ~91% SM120 Roofline Decode (DECODE1 = 7.186 ms, VERIFY8 = 10.296 ms):
    • Native SITU (beta=4.0, linear_beta=25.0) support in MoETinyDecodeKernelBackend for 1–4 token W4A8-MX decode (DECODE1 7.90 → 7.186 ms, -9.0% — also speeds up any other SITU MoE model like Kimi K3/K3.1).
    • GDDR7-aware concurrent_gate + after_fc1 ConcurrentSharedExpert overlap: the shared expert finishes 0.1 µs before csf_expand in DECODE1 and 4.1 µs before routed experts in VERIFY8, paired with dependency-bearing fused-addend flare::pcie_all_reduce_addend_dep.
    • Fused gated wo_projection: optional sigmoid output gating fused directly into both the Triton group-major prefill quantizer and the CuTe decode TC-GEMV path.
    • 64-head topk=2048 fused DSA indexer + SMEM safety fix: routes ERNIE 5.5's 64-head topk=2048 decode (rows <= 16) to the fused indexer with batch_slack=128 (101,376 B SMEM on SM120), plus a batch_slack >= 256 guard on direct_k_score (caught via compute-sanitizer --tool memcheck under long-context packed decode; verified 0 errors across nr=1..128 and seq_len=0..60,000), and topk=2176 (2048 DSA + 128 SWA) sparse MLA with attention sink bias.
    • Fused MultiMax + ERNIE XML/Think parsers: MultiMax piecewise polynomial logit calibration fused directly into DSpark Markov sampling, plus native Rust <ernie:think> and <ernie:tool_call> parsers with schema-aware type coercion.
  • Why lossless CSF wins on 2× 96 GB: keeping the checkpoint's lossless CSF-compressed MXFP4 scales plus FP8 Markov / NVFP4 draft heads brings the full model + 104 captured graphs down to 81.16 GiB/GPU, leaving 24.5 GiB of VRAM for 1.42M shared KV tokens without any extra lossy weight quantization.

Links

  • Signed HF package (main + gb202): https://huggingface.co/local-inference-lab/ERNIE-5.5-Flash-Preview-FLARE
  • Base checkpoint (Apache-2.0): https://huggingface.co/baidu/ERNIE-5.5-Flash-Preview
  • Upstream PRs:
    • FlashInfer (b12x SM120 kernels): https://github.com/local-inference-lab/flashinfer/pull/141
    • Flare (hyperflare-inference XML/think parsers & collectives): https://github.com/NVIDIA/hyperflare-inference/pull/500
    • Recipes (hyperflare-recipes ERNIE 5.5 recipe): https://github.com/local-inference-lab/hyperflare-recipes/pull/24

local inference lab discord: https://discord.gg/gmvKSN3tVy


r/LocalLLaMA • • 1h ago

Discussion Feedback requested: We're training harness adapters for Inkling-2-Mini and Qwen3.8-Flash-Next in public: weights, data and intermediate GGUFs are already up

22 Upvotes

Hey r/LocalLLaMA,

We're training a new batch of harness adapters and running the whole thing in the open, as it happens. That means you get the checkpoints while training is still going and your feedback on the checkpoints will be worth a lot.

What's training right now:

  • Inkling-2-Mini (Thinking Machines) on three harnesses: Pi, Hermes and DeepSeek-Harness
  • Qwen3.8-Flash-Next (Qwen) on Pi

What's open right now:

  • Weights, including intermediate checkpoints
  • GGUFs of the intermediate checkpoints, so you can run them in llama.cpp, LM Studio, Ollama and so on
  • Training data
  • Experiment logs, plus the decisions we make along the way, including the ones that go wrong

Live dashboard: https://harness-hub-community-adapters.hf.space/

On the dashboard you can:

  • See the live status of each training run
  • Get the commands to download any intermediate checkpoint
  • Comment on experiments and results with a Hugging Face account
  • Follow the new RL environments we're building in parallel

Let's build together the next generation of harness adapters!


r/LocalLLaMA • • 40m ago

New Model Has anyone tried Raon-1-mini yet?

20 Upvotes

Has anyone tried https://huggingface.co/KRAFTON/Raon-1-mini yet? It seems to beat Qwen 3.6 35b (it is NOT a finetune). I tried it a little, it seems decent but I do not have any standardised way to measure model performance. Any experiences with it so far?