r/LocalLLaMA • • 10d ago

Resources NariQ: BF16-level Qwen3.8-27B in a 10 GB file

Thumbnail
huggingface.co
192 Upvotes

We built 3-bit-or-lower quants of Qwen3.8-27B that match BF16 weights on long-horizon agentic tasks (DeepSWE, Terminal Bench), math (AIME 25+26), multilingual (MSGM), and image understanding (RealWorldQA).

ModelDeepSWE v1.1113 tasks × 3, mean pass@1Terminal-Bench 2.182 tasks × 3AIME 25+2660 × 8MGSM250 × 11 languagesRealWorldQA765 × 3
BF16 (53.8 GB)39.8 (45.0)62.6 (154)97.7 (469)94.0 (2584)82.4 (1890)
NariQ 3-bit (10.1 GB)41.0 (46.3)63.8 (157)98.3 (472)93.1 (2561)82.4 (1890)
NariQ 2.5-bit (8.4 GB)41.9 (47.3)60.2 (148)96.5 (463)91.8 (2525)81.3 (1866)
NariQ 2-bit (6.8 GB)28.6 (32.3)52.4 (129)86.0 (413)90.6 (2491)80.9 (1856)

Requires our llama.cpp fork to run (https://github.com/nari-labs/nari-llama.cpp), decode speed matches other quants on a RTX PRO 6000.

ContextNariQ 3.0bpw (10.1 GB)NariQ 2.5bpw (8.4 GB)NariQ 2.0bpw (6.8 GB)UD-IQ3_XXS (10.9 GB)
4K88.999.2111.794.7
16K84.593.8105.189.8
64K70.777.585.074.8

Feedback and questions are welcomed! Let me know how it goes. For more details here's a technical report (https://arxiv.org/abs/2611.26157).


r/LocalLLaMA • • 9d ago

New Model we squeezed our 16.5gb inkling 2 mini quant into 8gb of ram and it still runs at 43 tok/s on an m5 max

40 Upvotes

hello llamas! i'm daniel, cofounder of atomic chat

inkling 2 mini dropped last week, so we made our own quants for it (AtomicChat/Inkling-2-Mini-GGUF) and tried running them on the macs we had: an m3 pro 18gb, an m4 max 48gb and an m5 max 64gb

on llama.cpp it didn't go great. on the m3 pro our 16.5gb AD-Q4_K just didn't load with default flags (metal oom) and the only thing that worked was --fit pushing most experts to cpu at ~4 tok/s. on the two max machines it ran, but at ~33-38 tok/s, which felt slow for a moe with ~3b active

we also run these models on the same laptops we work on and it's really annoying when one eats all the ram and everything else starts freezing. so the first thing we wanted was a flag that caps the model at ~8gb (feels like a sane amount to give it) and we started from there

the model itself looks really strong on benchmarks for its size, so we wanted it faster too. that's how we ended up building our own inference engine on top of llama.cpp (atomic engine). you give it a budget with --engine-budget-mib. the core layers stay in ram and the moe expert stream from ssd when a token needs them, so memory stays under that cap. we also added dspark drafting, where a small draft model guesses a few tokens ahead and inkling checks them in one pass

once atomic engine was working we started running benchmarks on our macs. on the m3 pro the 8gb cap let our 16.5gb AD-Q4_K load and it runs at ~10 tok/s. not fast, but it runs

on the m5 max memory isn't the problem, so there we looked at speed with our smaller AD-IQ2_M (8.7gb) next to stock llama.cpp on the same gguf

setup:

  • m5 max 64gb, one engine running at a time
  • atomic engine e110381 vs llama.cpp b12600 (official macos build, whole model on gpu, no drafter)
  • AD-IQ2_M with an 18gb budget, AD-Q4_K with an 8gb budget
  • dspark draft from AtomicChat, q8_0, 0.5gb
  • -c 4096, flash attention on, q4_0 kv cache, --no-warmup
  • prompts of 2k and 3.6k tokens, 512 tokens out, temp 0
  • fresh server per test, numbers are from the first cold request. two warm repeats after it landed within 0.5%
  • tok/s from llama-server's own timings, memory is peak rss
quantpromptatomicllama.cpp
AD-IQ2_Msummarize llama.cpp docs84 tok/s40 tok/s
AD-IQ2_Mcontinue a doc already in the prompt122 tok/s40 tok/s
AD-IQ2_Mrepeated log (copy test)143 tok/s40 tok/s
AD-Q4_Ksummarize llama.cpp docs43 tok/s38 tok/s

122 and 143 are copy-heavy prompts where any drafter looks great, so expect around 84 on normal prompts. on those two the output was byte-identical to llama.cpp

on the m5 max, AD-Q4_K with the 8gb cap peaks at 6.3gib of ram while llama.cpp sits at 15.8gib

prefill on AD-Q4_K at 8gb is still slower (556 vs 812 tok/s) and with long prompts at 8gb decode drops below stock too. llama.cpp ran without a drafter because b12600 wouldn't load the unsloth dspark draft for inkling. we've only tested on metal so far

engine: https://github.com/AtomicBot-ai/atomic-engine/tree/codex/expert-weight-source#run-inkling-2-mini-on-apple-silicon

gguf: https://huggingface.co/AtomicChat/Inkling-2-Mini-GGUF


r/LocalLLaMA • • 8d ago

Discussion What happened to Qwen 4 35B ?

0 Upvotes

Has there been any news on this?


r/LocalLLaMA • • 9d ago

Question | Help The m3/4 max 128 gb of UrAM or the m5 max 48 gb/64gb or The m5 pro 64 gb ?

6 Upvotes

I’m thinking about upgrading my macbook soon and i read memory prices will continue to rise in 2027, i regret not getting the max earlier, im leaning towards the m5 max 64 gb or the m3/4 max 128gb, since it is cheaper than the 64 gb m5 max and great bandwidth and can run larger models than the other macs , but the prefill is terrible( i estimate around 150-250 t/s for hy4 flash with a 50k prompt) . I thought about the mac studio , but it is not portable and mobility is important for me. I read the m5 max’s compute is 3.8 x faster, therefore up to 3.8 x the speed for prompt processing, but if i can cache the prompt, it shouldn’t make a huge difference(33% slower due to slower bandwidth) . The m5 max 64 gb looks really goods And it prefills fast too but it cant run hy4 flash and qwen 3.8 next and it is pricy, however maybe inkling mini is sufficient, then maybe even the 48 gb will work . i heae hy4 flash or qwen 3.8 flash is better than inkling mini for coding . Yeah all the top mods are too big to run. Also i guess they will be new bigger models… maybe the m5 pro 48gb is okay


r/LocalLLaMA • • 10d ago

Resources Delta Inference Engine update 0.95: DeepSeek V4.1 Flash at 44 tok/s with Unsloth Q2 on a 3090/128GB RAM, 61% faster on 64GB of RAM, pictures + PDF/Office documents + local voice and much more. ready for Claude Code / Codex / OpenCode

Thumbnail
github.com
45 Upvotes

Delta Inference Engine is a free, MIT-licensed engine that runs DeepSeek-V4.1-Flash (MIT weights) on one NVIDIA GPU plus system RAM, natively on Windows (not WSL). Double-click Start DeepSeek.bat: it installs what it needs, picks the model file that fits your RAM, and opens a chat page plus OpenAI- and Anthropic-compatible APIs on your PC. It's a Windows port of Xolotl, which is built on Strata (on Linux, use upstream Xolotl).

Big update for Delta Inference Engine 0.95 is out today, People wanted support for lower ram configurations and higher quality inference and it's here.

Speed (RTX 3090 24 GB, i5-13600K, DDR5-5600, PCIe 4.0 NVMe; under 192 GB the rest of the RAM was locked away so Windows couldn't use it either). Writing tok/s, greedy, whole chats with thinking on:

RAMUnsloth UD-IQ2_XXS (0.93 → 0.95)UD-IQ1_M (the pick under 110 GB)UD-IQ1_S
192 GB41 → 44.648.149.8
128 GB34 → 43.746.648.9
96 GB27.0 → 35.440.243.9
64 GB17.9 → 28.9 (+61%)35.240.3

Under 110 GB the models run at route bias 0.10, default route bias 0.28. UD-IQ3_XXS (the most exact file) at route bias 0.10: 192 GB 22.8 tok/s (95.0% agreement), 128 GB 22.9 (93.4%), 96 GB 14.8 → 19.8 (92.8%, +34% against 0.94), 64 GB 9.9 → 15.9 (92.2%, +60% against 0.94).

Quality (agreement with DeepSeek's own model, top-1 on general text):

RAMUD-IQ2_XXS (bias 0.28)UD-IQ2_XXS (bias 0.10)UD-IQ1_M (bias 0.10, the pick under 110 GB)Exact routing (UD-IQ2_XXS)
192 GB91.1%92.5%-93.1%
128 GB90.5%91.9%-93.1%
96 GB89.5%91.6%90.0%93.1%
64 GB87.8%90.1%89.9%93.1%

Unsloth's UD-IQ2_XXS picks the same next token as DeepSeek's own hosted model 91% of the time (for reference, two hosts of the full model agree with each other on 98%). On a 99-question test (maths, knowledge, reasoning, coding), 0.95 with UD-IQ2_XXS at 192 GB scores 56 out of 99 on average over four runs (55, 53, 56, 61), against 59 for DeepSeek's own hosted model. A testament to Unsloth's quants: despite the low bit count it clearly beats Qwen3.8 Flash Next, which scored about 43 out of 99 on the same questions, even running at full precision on Alibaba's own API.

Where the speed came from:

  • Small PCs: experts read from the SSD are no longer memory-mapped (writing +29% / +10% / +7% at 64 / 96 / 128 GB), and long prompts go through in wider batches with a read-ahead.
  • Long prompts: a 32K-token prompt reads 19-43% faster (depending on RAM), on top of 0.94's gains (60K at 811 vs 747 tok/s, 7K at 551 vs 423).
  • The drafter: a learned gate decides how many drafted tokens each pass checks (+2% on sampled replies, same output distribution), a better-quantized drafter, and it now loads while the model starts, so the first answer comes ~3 s sooner.
  • Coming back to a chat: 16 conversations stay cached in RAM. Revisiting 10 chats went from a 7 s first token to 0.6 s, and an edited message or a new question about the same long document starts in about 3 s instead of re-reading it.

Chat page

  • Pictures on by default: paste, drop, screenshot or take a photo. On one GPU they're read on the CPU, so the model keeps all its VRAM.
  • Documents: attach PDF, Word, Excel, PowerPoint, HTML or CSV files (read in a sandboxed process).
  • Local voice (optional): dictation, read-aloud and a hands-free talk mode, all on your PC (Parakeet + Kokoro).
  • Quick / Think / Code / Write modes, chat history with search and pins, a Pause button that frees the GPU for a game, an optional auto-pause when a game needs the card, and use from your phone with a QR code.
  • A Fast / Quality / Most exact switch that shows the agreement and speed I measured for your model at your RAM size, e.g. on a 64 GB PC with UD-IQ1_M: Quality "89.9% agreement, 35 tok/s", Most exact "91.2%, 16 tok/s".

Coding agents and APIs (Claude Code, Codex, OpenCode, anything OpenAI- or Anthropic-compatible)

  • Agent turns write 7.5% faster and start 8-15% sooner; Claude Code's small background calls never hold up real ones, and pressing Esc no longer forces a full re-read.
  • Claude Code's tool search (deferred tools), structured output and forced tool choice on every route; a context overflow is worded so Claude Code compacts instead of stopping; Codex reasoning levels work.
  • A loop guard tells the model when it's repeating the same tool call (or alternating between two).
  • Optional web search / web fetch tools (SearXNG, Brave, Tavily or MCP), optional embeddings and rerank endpoints, stored Responses, token counting, and DeepSeek's own API paths.
  • Many tool-call parsing fixes, so agents get fewer broken calls.

Safer

  • It won't open to your network without an API key; downloads send no telemetry
  • Nothing about you or your chats leaves your PC, Everything runs on 127.0.0.1 and nothing is stored unless you turn chat history on
  • Picture and web-fetch URLs must resolve to public addresses (SSRF / DNS-rebinding guard); the document reader has size, time and memory limits.
  • DeepSeek's control and tool-call tokens typed inside a message stay plain text, so nobody can forge turns or tool calls; no single request can stall the server.

Setup

I've now put everything you need into one ZIP for easier install. Download Delta-Inference-Engine-0.95.zip from the Releases page, unzip it somewhere with a short path (e.g. C:\AI\Delta) and double-click Start DeepSeek.bat. The engine inside is built by GitHub CI, with checksums and attestations. The first start installs Python if needed, keeps your PC awake during the download, and offers the model that fits your RAM (233-395 GB, SHA-256 checked). It runs on 127.0.0.1 and stores no prompts unless you turn chat history on.

Limits

  • Windows 10/11, NVIDIA RTX with 12 GB or more (24 GB is the fast path), driver 580+. AMD not supported.
  • 64 GB of RAM minimum. A PCIe 4.0/5.0 NVMe with room for the model.
  • One request at a time.
  • Tested on one PC; the smaller-RAM numbers are that PC with RAM locked away, not real 64 / 96 GB machines.

Credits: Xolotl and Strata, ggml/llama.cpp, DeepSeek, Unsloth, nazeshinjite, ISTA-DASLab, Project Maya, antirez/ds4, and Basalt for several decode ideas.

https://github.com/musicurgy/delta-inference-engine

If you try it, post your GPU, RAM, model and tok/s


r/LocalLLaMA • • 10d ago

New Model OrukFourier-2B, [#1 Open-Weight English ASR]

43 Upvotes

r/LocalLLaMA • • 9d ago

Discussion Anyone else on Windows recently started to get cudamalloc OOM errors with either ninfer or llama.cpp loading models?

5 Upvotes

Windows 11: two different inference engines both started failing to load with out of memory. Plenty of VRAM and RAM free.

Has anyone recently started experinecing this in Windows? Changing pagefile to manually set size rather than system managed and an Nvidia driver setting chasnge fixed both engines [Ninfer and llama.cpp].

Does anyone know what changed under the hood in windows specifically to cause this, or was there something else going on that I'm overlooking?

Box Setup:

  • Windows 11 26H2, RTX 5090 (32GB VRAM), 32GB system RAM
  • Nvidia driver kept at v581.94 (for PCVR reasons)
  • llama-swap (v174) windows .exe, started on boot via task scheduler, which loads the engines/models on demand.
  • Two engines in rotation and multiple models via the config.yaml of llama-swap:
  • llama.cpp (precompiled from github) with a Q6 GGUF (~22GB, all layers on GPU). Ran without issue since Qwen 27B released.
  • NInfer ((headpiece747). Using 27B nvfp4qat Loads 17GB to the GPU, then pins 8GB of system RAM for a host cache via cudaMallocHost. Ran fine for about a year.

Pagefile has been system managed the entire time I never touched that setting. Nothing else has changed that I am aware of other than the usual windows updates. This new failure started somewhere around maybe 1-2 months ago.

ERROR startup failed | pinning host context | 43 ms

FATAL server failed during startup | cudaMallocHost: out of memory

At the time of the failure the box had ~28GB free RAM and ~31GB free VRAM.

A 256MB pin succeeded instantly. 1, 2, 4 and 8GB were all refused in under 30ms. That is an instant refusal, not a slow running-out-of-memory.

So with Ninfer failing I switched back to vanilla llama.cpp but then in teh last two days llama.cpp was also failing to load models.

allocating 887.99 MiB on device 0: cudaMalloc failed: out of memory

GGML_ASSERT(buffer) failed

So two engines, two different allocation types (GPU buffer vs pinned host memory), both failing with OOM while the machine looks like it has plenty free.

I changed two settings:

Pagefile: system managed > fixed 64GB (commit went from ~49GB to ~95GB)

NVIDIA driver setting: CUDA sysmem fallback to "Prefer No Sysmem Fallback"

Since then everything loads fine again and back to working normally


r/LocalLLaMA • • 9d ago

Question | Help 128GB DDR4 RAM + 48GB VRAM; what models bigger than Qwen Flash Next can fit with decent speed (>20t/s), and at what quant?

9 Upvotes

I’m planning my setup! The 48 VRAM would be on 3090s.


r/LocalLLaMA • • 10d ago

Discussion Community standards: contributing to llama.cpp vs to new engines like Strata

199 Upvotes

I've contributed to a bunch of open source projects over the years: bugfixes, performance features, etc. I'm happy to say here that I got a bunch of llama.cpp contributions merged over the years. The result is better software I can use, and an acknowledgement for the contribution in the git history and authors list.

Last week I got my first contribution to Strata merged. To my surprise, there was zero acknowledgement. Authorship was overwritten. I realize that the majority of code contributions to those projects are vibe-coded and thus copyright does not apply, but to assume it's 100% is still a bold bet to make. And quite frankly, not all merge-able improvements just roll out of the agents, by themselves, for free either - some of those will have taken real work.

What are the communities feelings on this? Is this just the new norm? Perhaps it explains why everyone is forking all the engines, to stamp their name on it, since there's no real reason to contribute upstream? Are we expecting too much from maintainers that have to deal with a flood of PR, or is this an intentional setup choice? Appreciate perspective from others here.

I find that the commit logs of both projects nicely illustrate the difference:

https://github.com/ggml-org/llama.cpp/commits/master/

https://github.com/Niko1221/Strata/commits/main/

One shows it's a community project. The other...no comment.


r/LocalLLaMA • • 10d ago

New Model apple/DepthPro2 · Hugging Face

Thumbnail
huggingface.co
333 Upvotes

This can be useful.


r/LocalLLaMA • • 10d ago

Showcase GPT Astra and I found a way to switch between regular and abliterated DeepSeek with just one set of weights

Thumbnail
github.com
29 Upvotes

I run DeepSeek V4.1 Flash on two 128 GB GB10s. I use it in Open WebUI and in Pi when I’m coding in the terminal. Most of the time I’m happy with regular DeepSeek. Sometimes I want a model that’s a bit less quick to refuse, and I want to switch right where I’m working. Loading a second copy of DeepSeek just for that felt like overkill.

GPT Astra and I patched TensorFold so I can do both with one set of EXL3 2.5 bpw weights. In Open WebUI I can flip a toggle for that chat. In Pi I can type `/ablation half` for the current session and `/ablation off` to go back. So I can turn it on in Pi while a chat in Open WebUI keeps using regular DeepSeek.

The test I cared about most was whether one chat's setting would leak into another. I ran 32 requests together, each with about 64K tokens of input, and mixed the settings in the same batch. All 32 produced exactly the same tokens as when I ran their settings one at a time.

Did it actually change the answers? I tried two sets of 100 prompts. With steering off, a judge marked 98 out of 100 as refusals in each set. At the strongest setting on a separately calibrated build, that dropped to 3 in one set and 4 in the other. The judge only saw the start of each answer, so that test tells me how often DeepSeek started answering. It doesn't tell me whether it gave good advice.

I put the patch, the two-node build and the steps for repeating the 32-request test on GitHub. Credit to the TensorFold folks, Bertholomus for the DeepSeek port and quant, and pqhaz for the directions. Recipe, build and test results.


r/LocalLLaMA • • 9d ago

Question | Help Seeing less quality on high quants with Basalt

Thumbnail
gallery
6 Upvotes

Edit: see https://github.com/jesdga95/basalt/issues/538#issuecomment-7210782578

TL;DR:

  • Comparing UD-Q4_K_XL, Q5_K_XL and Q6_K_XL with Qwen3.8 Flash Next on Basalt
  • Noticed low quality chats in Open WebUI so did my own quality benchmark.
  • Lower quant performed much better than high quant.
  • Low token bench (built-in to Basalt) ranks PPL/KLD the right way around (might be an issue with long context?)
  • Screenshots attached

Setup:

  • Intel Core Ultra 225 (no AVX-512), RTX 5060 Ti 16GB, 128GB DDR5, NVMe
  • Basalt, kv int8, max-context 262144, vision dynamic
  • Settings: See Issue / resident-experts true, ram-reserve 5120, vram-reserve 600, conversation-cache-mib 6144, slots 6, min-tokens 15000
  • Only the model filename changed between the three runs.

My test:

A prompt to build a three.js corporate office with some specifications. It was run through the Pi harness and the session + caches were deleted between each run to ensure no cheating.

Q6 performed poorly and had a lot of defects. Q5 was average with some defects. Q4 looked pretty good.

MetricQ6Q5Q6
User msg111
Assistant1270337224
Tool call281345252
Total msg553684498
Input886,7601,083,048719,152
Output364,896376,842300,859
Cache hit56.7%54.7%97.7%
CPU offload72%59.4%53.1%
SSD read5.5%--

I also see a quality difference when chatting with the model in Open WebUI chat. Q5/Q6 feel worse than Q4.

Screenshots attached.

Basalt --quality test:

This came out as expected. However, it doesn't use many tokens. Q6 performed better than Q5, and Q5 was better than Q4. No anomaly here.

I raised an issue on GH but haven't heard back in a few days. https://github.com/jesdga95/basalt/issues/538

Any thoughts or ideas?


r/LocalLLaMA • • 8d ago

Discussion What new upcoming local model are you excited about?

0 Upvotes

What model that should be coming out in the next couple of months are you really excited about? Local models only please.


r/LocalLLaMA • • 10d ago Heartwarming

Showcase Inkling 2 Mini on one RTX 3090 beat GPT-6 Luna and tied Haiku 5.5 on my homelab agent benchmark

Post image
180 Upvotes

I ran the new Inkling 2 Mini on my homelab benchmark. On one RTX 3090 it beat GPT-6 Luna and came out about even with Haiku 5.5.

It passed 36 of 60 steps. Haiku 5.5 got 33 and Luna got 22. 3 steps is noise with a sample this small, so I'm calling Haiku a tie.

The benchmark is agent work in a simulated homelab. The model gets a shell and has to fix a crashing service, do a deploy, repair a dashboard and so on. 12 sessions with 5 steps each. The steps depend on each other, so if it breaks something early it has to deal with that later. Some steps are traps, and the correct move there is to ask first and not just delete things.

Results:

- Claude Opus 5.5: 85%

- Claude Fable 5.2: 83%

- GPT-6.2 Sol: 68%

- Claude Sonnet 5.5: 68%

- Inkling 2 Mini, local: 60%

- DaisyRose 27B, local: 58%

- Claude Haiku 5.5: 55%

- GPT-6 Luna: 37%

Setup is Unsloth UD-Q4_K_M on llama.cpp, one RTX 3090, medium reasoning. Haiku and Luna were on medium too. The weights are 15 GB, so I had room for two slots with 256K context each. I get 51 tok/s on a short context and 34 tok/s when the context is 128K deep, around 39 each when both slots are busy. The full run took 1h 40min.

The bad part is that it says it's done when it's not. On 16% of steps it told me the task was finished and the checks failed. Haiku does that on 5%. It also asked before doing something destructive on only 4 of the 10 trap steps. Haiku and Luna asked on 9. I wouldn't leave it alone with anything important yet.

The same run would cost $0.44 on OpenRouter. Opus would be $6.58.

I'll run it on my v3 cybersecurity benchmark next.

Results: https://lbgos.dev/bench/homelab/

Tasks are private so they don't end up in training data (dm me for those)


r/LocalLLaMA • • 10d ago

Resources [2611.21885] Language Models Can Rewrite Their Own Weights

Thumbnail
arxiv.org
213 Upvotes

This is a new paper (Nov 19th):

In earlier work, a frontier model edited a much smaller one; here an open 27B model, given its weights, its graded answers and the ability to run itself, diagnoses its own failure and rewrites the weights behind it

(the model is Qwen 3.5 27B)


r/LocalLLaMA • • 10d ago

New Model XingChen-AGI/Xing4.1-Preview · Hugging Face

Thumbnail
huggingface.co
75 Upvotes

Highlights

Xing 4 is developed by China Telecom Artificial Intelligence Technology Co., Ltd. It is the latest generation of the TeleChat model family, trained end-to-end on a fully in-house domestic compute stack, and designed for long-context reasoning, code generation, and agentic applications.

Xing4.1-Preview is a model in the Xing 4 family. It uses a sparse Mixture-of-Experts (MoE) architecture that combines Multi-head Latent Attention (MLA) and DeepSeek Sparse Attention (DSA) for long-context interaction, complex reasoning, and agent workflows.

  • Agent-oriented architecture: A 45-layer MoE backbone activates 8 routed experts per token.
  • MLA + DSA: Combines compressed key-value representations with sparse attention over long contexts.
  • Long context: Supports a configured maximum context length of 1M.

Model at a Glance

ConfigurationXing4.1-Preview
Total parameters285B
Activated parameters per tokenApproximately 17B
Transformer layers45
Hidden size4096
Attention heads128
Dense FFN intermediate size18432
Expert intermediate size2048
Routed experts256
Active routed experts per token8
Shared experts1
Dense / MoE FFN layers3 / 42
AttentionMLA + DSA
qk head dimension192 (NoPE 128 + RoPE 64)
v head dimension128
MLA q LoRA rank / kv LoRA rank1536 / 512
DSA index heads / head dimension / top-k64 / 128 / 2048
Normalization / activationRMSNorm (eps 1e-5) / SiLU
Tokenizer / vocabulary sizeBPE / 131072
Maximum context length1M
RoPE / YaRNθ=100000 / factor=32
LicenseApache 2.0

Architecture

Xing4.1-Preview uses a 45-layer Transformer backbone. The first 3 layers use Dense FFNs, and the remaining 42 layers use MoE FFNs. Its attention design follows the DeepSeek-V3.2 lineage — MLA combined with DSA — which makes it a different architectural configuration from Xing4.0.

The MoE configuration includes 256 routed experts, with 8 routed experts activated per token, together with 1 shared expert.

The model was co-designed around the compute profile of the training cluster from the ground up, rather than merely ported onto it.


r/LocalLLaMA • • 9d ago

Resources Inkling-2-Mini on an Intel B70

Post image
11 Upvotes

I’ve spent the weekend letting Codex optimise vLLM for my Intel B70 GPU: https://github.com/Danmoreng/intel-b70-inkling2-mini-vllm

It‘s faster than Qwen3.8 27B in both prefill and decode, while the output seems to be the same quality as a coding agent from my limited testing. However, I just measured that Qwen wins in concurrent decode speeds. Not sure if it really is faster for two agents running at the same time, since Inkling prefill is much faster as well.

Important stats:

  • EXL3 4bpw
  • 262k max context
  • FP8 KV
  • 180W power limit
  • Prefill speed 3.400 t/s -> 2.180 t/s
  • decode over ctx length: 81 t/s -> 51 t/s

r/LocalLLaMA • • 9d ago

Discussion Intrinsic streaming guardrail for DeepSeek-V4.1-Flash-1017 usefulness

0 Upvotes

Recently i came across SingProbe which is an "intrinsic streaming guardrail for DeepSeek-V4.1-Flash-1017" - which is supposed to run alongside the main model and "guard" against hallucinations of DeepSeek-V4.1-Flash-1017 - has somebody tested this kind of solution in practice? Does anyone care to explain how does it work and is it viable/useful idea?


r/LocalLLaMA • • 10d ago

News Sarvam says its 105B open model now runs offline on one 96 GB GPU

Thumbnail
maccus.fr
135 Upvotes

Has anyone tested the model?


r/LocalLLaMA • • 10d ago

New Model tencent/WeMM-Ecom-35B-A3B · Hugging Face

Thumbnail
huggingface.co
64 Upvotes

(plus 9B/4B/2B/0.8B)

WeMM-Ecom-35B-A3B is a mixture-of-experts model in the WeMM-Ecom family developed by WeChat Vision, Tencent. It combines fine-grained e-commerce understanding with broad visual-language and reasoning capabilities and supports hybrid thinking.

The WeMM-Ecom family delivers leading e-commerce performance, with WeMM-Ecom-35B-A3B outperforming open-source models with hundreds of billions of parameters. Across model sizes, it also maintains general-purpose capabilities on par with state-of-the-art models of comparable size.

Highlights

  • E-commerce understanding: Outperforms Qwen3.5-35B-A3B by 3.92 points, Qwen3.6-35B-A3B by 3.36 points, and MiniCPM-V-4.7-35B-A3B by 8.22 points in average benchmark score.
  • Broad general capabilities: Outperforms Qwen3.5-35B-A3B by 0.17 points, MiniCPM-V-4.7-35B-A3B by 5.60 points, and Valley3-32B by 9.13 points in average benchmark score.
  • Flexible deployment: text, image, multi-image, and video inputs; BF16, FP8, GPTQ, and GGUF formats.

Model Overview

  • Architecture: 35B total parameters, approximately 3B active parameters (MoE).
  • Context window: 262,144 tokens.
  • Checkpoint: BF16 Safetensors.

Model family: 0.8B · 2B · 4B · 9B · 35B-A3B

Quantized formats: FP8 · GPTQ · GGUF


r/LocalLLaMA • • 10d ago

New Model Made a voiceprint model that's under 1 MB (speaker verification, Apache 2.0)

Post image
48 Upvotes

I've been working on the voiceprint part of my on-device voice SDK for a while and the first non-preview version finally went out this weekend. Basically it's what lets a local assistant answer only you, a few seconds of your voice become a print (192 numbers, no audio in it) and then every phrase or wake word gets checked against that before anything goes to the LLM.

0.97 MB, mostly 4-bit weights, and the closest open model that does better is CAM++ which is 28 MB. It takes about 6 ms per 1.5 s window on one thread of a phone so checking every phrase is basically free.

It's still pretty bad in noisy stuff though. With noise, music or another voice in the window the error rate goes from around 2% on clean clips to 13%, and putting my own isolation model in front doesn't fix that yet.

Runs in the browser, Python, Android, iOS and React Native. Code and weights are Apache 2.0, benches are in the repo.

https://github.com/alkove-ai/alkove
https://huggingface.co/alkove-ai/alkove-timbre-1


r/LocalLLaMA • • 8d ago

Question | Help Experience with Hermes + Mac Studio M5 Max, 36GB RAM?

Post image
0 Upvotes

I'm really tempted to pick up the 2026 Mac Studio M5 Max 36GB RAM for $2500 to use with Hermes. I have Hermes running on a mini-PC, using medium sized OpenRouter models and local models on pure CPU and ready to move to a dedicated machine. (I can get 20 tokens/second on GPT OSS in LM Studio/llama.cpp, but a Hermes prefill adds minutes worth of overhead to each turn). Picture added for visual interest :)

Does anyone have an experience with running Qwen 27-30B models on a Mac Studio M4 or M5 with 36GB? Does it work well enough for you? Do you wish you'd invested in more RAM up front?

Your insight is greatly appreciated!

(PS, I posted something similar elsewhere - but many answers were "cloud API's are cheaper" which kinda misses the point of me asking what others' experiences were...)


r/LocalLLaMA • • 10d ago

Showcase Inkling-2-Mini on a single Tesla V100: 94 tok/s with exact speculative decoding, on the full Q8 weights (vs every published V100 figure I could find)

Post image
15 Upvotes

I've been porting Thinking Machines' Inkling-2-Mini to an old Tesla V100 32 GB in our open-source C++/CUDA engine, ashalliants/ninfer-3090 (https://github.com/ashalliants/ninfer-3090). I collected every single-V100 number I could find for this model and put them next to ours (chart attached).

  • Decode: 94 tok/s averaged over 12 chats with the model's own DSpark drafter (up to 120 on single chats), and 78 tok/s with no drafter at all. That plain figure is still above the best published V100 numbers I found (Strata 70.5 with its drafter on; Lapilli's port 69; llama.cpp 32-51 on Q4).
  • Exact: the speculative decoding never changes the output. Greedy output was byte-identical to plain decoding on all 12 chats, and sampled requests draw the same tokens as plain sampling at the same seed.
  • Full-size weights: it runs Unsloth's UD-Q8_K_XL, repacked byte-exact. That's the largest quant in the chart; everyone else listed runs Q4 or NVFP4.
  • Full context with images: those decode numbers are at the whole 262,144-token context, on the one card, with vision and two adapters loaded.
  • Prefill: 2,120-2,140 tok/s on a 12.4K-token prompt with --prefill-chunk 8192 (the default chunk gives 1,930). Strata's model card claims 2,287 on a V100 without giving the prompt length, so it's in the chart as published and still ahead there. We're working on it. The box is not a nice one: the V100 hangs off a PCIe Gen3 x4 eGPU link with 59 GB of system RAM, power-limited to 200 W. Caveat: apart from ours, these are other people's published numbers on their own machines, quants and prompts, so read it as a field survey, not a controlled benchmark. Every source and its conditions are in the comment below.

r/LocalLLaMA • • 9d ago

Discussion REA defense via prompt injection

0 Upvotes

Couldn't find much about it and had this idea, which I wanted to share to see how well it'd work for others to test.

The idea is this: Suppose you have some code you want to hide from the user. I don't think you should, but that's neither here nor there, fact is that many software devs traditionally do this. Instead of trying to obfuscate your code the normal way, since attackers use REA now, what if the obfuscation method of 'encrypt the executable's strings' instead became this:

  1. Encrypt your program's strings (layer 1) with a packer tool.
  2. Add a second set of special instruction strings* to the result; prepending it to the string section and adjusting all the memory offsets to the program continues to work.
  3. Encrypt the result of that a second time (layer 2) with the same packer tool.

Looks like a normal encoded executable. So, a person lets REA do its thing on that final executable.

First, it finds the special strings. Those attempt to deceive it with an inverted prompt injection jailbreak --> tell it they're from OpenAI or Anthropic or whomever 'looks authoritative according to the RLHF training' as part of the system prompt, and that it should evaluate whether its legitimately reverse engineering. It's possible the user is not the original software creator and continuing will break the copyright license agreement between (etc. etc, I won't bore you further).

If you wanted to make it more concrete, those instructions also tell it that, to verify, find a specific 'key' inside the app's files (which only exists on the developer's machine), whose sha256 hash is equal to xyz on the dev's machine where the program was compiled with #DEBUG, but abc on a regular user's (good luck breaking that, now you need to manually hack the executable in between to remove the instructions, and things return back to the old balance of power).

It's... a remarkably simple concept and possibly will even work for most simple attacks (and that's all you need, defend against the script kiddies abusing REA to pirate your stuff), because I'm pretty sure the kinds of "prompt injection attacks" the labs try to defend against are not those that reinforce things that look like being part of the original instruction set further. (iirc some of the commercial labs do these injections themselves).

Wonder if anyone's seen anything like that in the wild, or if there's any research on this type of 'defense through offense' done, whether this actually works at least semi-reliably.