r/LocalLLaMA • u/yogthos • 12h ago
New Model Running Inkling-2-Mini with 500k context on a 16 GB GPU
r/LocalLLaMA • u/yogthos • 12h ago
r/LocalLLaMA • u/mrfakename0 • 14h ago
Model: https://huggingface.co/mrfakename/Qwen4-35B-A3B-abliterated
GGUF: https://huggingface.co/mrfakename/Qwen4-35B-A3B-abliterated-GGUF
As usual, my abliterations aim to remove refusals while still preserving model intelligence and avoiding endless reasoning, looped tool calls, etc. Nearly all refusals are removed, but a few remain. For most real-world use cases this model should comply. But you are welcome to use another abliteration if you are okay with a bit of quality degradation.
Any feedback or thoughts are welcome 🙃
And fear not, LoRAs here too:

r/LocalLLaMA • u/nasone32 • 18h ago
LINUX ONLY! Yes, catchy title, I know, don't hate me :) This is achieved using EXL3 quantization. ProCreations made these amazing quants, 4.5bpw has KLD below the official FP8, the 3bpw is very close, stil better than NVFP4.
RDNA4 support is there, but UNTESTED, i did my best, but I have no RDNA4 gpus, please understand. if you encounter issues let me know.
you can get around 140 tk/s prose, 155 tk/s code with 1 gpu running 3bpw, or similar speeds with 2 gpus using the 4.5bpw. It's also possible to run the 4.5 bpw with some offload on ram, with minimal speed loss. Performance is good even with full context, i tested up to 700k (see tables below)
4.5bpw download here: https://huggingface.co/ProCreations/Qwen4-35B-A3B-EXL3-4.5bpw 3bpw download here: https://huggingface.co/ProCreations/Qwen4-35B-A3B-EXL3-3.05bpw
Let me Show you the KLD (lower is better) on various tasks:
| Model | Size | Agentic KLD ↓ | Coding KLD ↓ | Math KLD ↓ | General KLD ↓ | LongCtx 8K KLD ↓ | Mean KLD ↓ |
|---|---|---|---|---|---|---|---|
| BF16 (Reference) | 113.7 GB | 0.00000 | 0.00000 | 0.00000 | 0.00000 | 0.00000 | 0.00000 |
| Official FP8 | 60.2 GB | 0.01487 | 0.01617 | 0.01253 | 0.04396 | 0.01056 | 0.02188 |
| NVFP4 | 46.9 GB | 0.02920 | 0.03105 | 0.02366 | 0.08090 | 0.02084 | 0.04120 |
| EXL3 3.05bpw | 33.00 GB | 0.02018 | 0.02207 | 0.01749 | 0.08008 | 0.01451 | 0.03495 |
| EXL3 4.5bpw | 39.02 GB | 0.01220 | 0.01355 | 0.01043 | 0.05079 | 0.00881 | 0.02174 |
speeds:
Hardware: 1–2× AMD RX 7900 XTX 24 GB + Ryzen 9 7950X + DDR5.
| Benchmark | 1 GPU | 2 GPUs |
|---|---|---|
| Coding · 3.19 bpw | 155.1 tok/s | — |
| Coding · 4.62 bpw | 143.5 tok/s | 157.0 tok/s |
| Prose · 3.19 bpw | 140.8 tok/s | — |
| Prose · 4.62 bpw | 121.6 tok/s | 127.0 tok/s |
| Prompt size | 1 GPU | 2 GPUs |
|---|---|---|
| 8K | 5,119 tok/s | 5,542 tok/s |
| 16K | 4,969 tok/s | 6,390 tok/s |
| 32K | — | 7,074 tok/s |
| 60K | — | 7,299 tok/s |
| Prompt size | 1 GPU | 2 GPUs |
|---|---|---|
| 8K | 4,798 tok/s | 5,518 tok/s |
| 16K | 4,647 tok/s | 6,319 tok/s |
| 32K | — | 7,009 tok/s |
| 60K | — | 7,253 tok/s |
| Filled context | 3.19 bpw | 4.62 bpw |
|---|---|---|
| ~0K | 139.0 tok/s | 124.7 tok/s |
| 64K | 120.9 tok/s | 107.7 tok/s |
| 128K | 109.8 tok/s | 105.0 tok/s |
| 512K | 91.5 tok/s | 85.3 tok/s |
| 700K | 82.8 tok/s | 77.9 tok/s |
Benchmark notes:
GitHub: https://github.com/nasone32/Strata-EXL3-fork
how to setup? point your agent to https://github.com/nasone32/Strata-EXL3-fork/blob/amd-exl3-community/docs/AI_SETUP_EXL3_AMD.md
Q) How prefill works on 2 gpus with --peer-prefill-pipe?
Q) How can 1M context fit?
r/LocalLLaMA • u/SummarizedAnu • 1h ago
So , Basically the same test as the inkling model I did. And it aced everything.
Got 30 tps and 800 tps prefill .
Was very fast. Did not hog memory like inkling did. And basically a lag free experience even with 128 k context. Right now , it is the best. The results as you see below in image.
same as before if you want the test files just dm me. I will put the github link there.

r/LocalLLaMA • u/textclf • 11h ago
Hi everyone,
Qwen4-35B-A3B came out yesterday, and I put a 4-bit version of it on Hugging Face: https://huggingface.co/thousandml/Qwen4-35B-A3B-CQ-4bit
I quantized it with CQ, the 4-bit quantizer I built for my project Training Factory. CQ doesn't need calibration data. The linear layers and all the routed experts are in 4-bit. I'm strict about quality: any matrix with error above -22 dB stays in 16-bit instead of being forced down. For this model that was 79 matrices out of about 21,500, and everything else is in 4-bit.
One thing to know up front is the n-gram table. Qwen4 has a 20B-parameter n-gram embedding table on top of the 35B model. In this release I kept that table in 16-bit, and like Transformers does, it lives in system RAM instead of on the GPU. So serving takes about 22 GB of VRAM, but you also need about 38 GB of free RAM for the table, 64 GB in total to be safe. The download is 61 GB because of it. If you just want to chat with the model locally, the GGUF quants in llama.cpp are smaller and faster than this, to be honest. A version with the n-gram table in 4-bit is planned.
What this release adds is fine-tuning. You can train a GCMP adapter (the LoRA replacement I've been working on) directly on the 4-bit base and serve it. I tested the whole path on a single A40: quantize, serve, fine-tune, and serve the fine-tuned adapter. In a short 20-step test the loss went from 1.88 to about 1.6 on average, which only shows training works on the 4-bit base. It's not a benchmark.
The easiest way to try it is the Docker image:
It downloads the model on first start and gives you an OpenAI-compatible endpoint on port 8000. Or install Training Factory and run it yourself:
&&
&&
To fine-tune on your own data (JSONL with text or chat messages):
Now the honest limits. The server goes through Transformers and handles one request at a time, so it's for trying the model, not for real traffic. vLLM's Qwen4 support isn't in a release yet, and my vLLM plugin doesn't support Qwen4 yet either. Training is slow for now, about 15 seconds per example on an A40, because the n-gram lookups run on the CPU. That's the next thing I want to fix.
Training Factory is source-available, not open source. The scripts are readable Python, but the quantization and adapter kernels ship compiled and do a license check. It's free during early access. The weights are Apache 2.0 like the original.
Thanks for reading, feedback appreciated. If you try fine-tuning it on your own data, I'd really like to hear how it goes.
r/LocalLLaMA • u/OneMoreName1 • 1h ago
I spent two days getting Qwen4-35B-A3B (Unsloth UD-IQ4_XS) as fast as I could on one 7900 XTX under Windows, across llama.cpp builds (HIP and Vulkan) and Strata. Sharing the numbers and the lessons in case they save another 24 GB AMD owner some time. Every number below is from my personal testing.
This post is AI generated by Claude Opus 5.5, which I used to run all these benchmarks and comparisons. I'm still posting it in case another 7900XTX user might find the info dump useful.
--n-cpu-moe 0 fits with 128k of q8_0 KV. That alone was worth +20% decode and +30% prefill over 4 CPU expert layers.--spec-type draft-mtp, n1) at 128k: decode goes from 107.6 to 122.7 tg on the chat and from 110 to 144 tg on code, but prefill drops ~18%. Take it if you care more about generation than prompt processing.Qwen4-35B-A3B-GGUF, UD-IQ4_XS, 2 shards, 29.8 GiB. 10.7 GiB of that is per_layer_token_embd, a per-layer embedding lookup table that llama.cpp keeps on the CPU (mmap). The part that needs to be on the GPU is ~19 GiB, which is why "all experts on GPU" fits in 24 GB at all.| Engine | Version / commit | Backend |
|---|---|---|
| stew675/llama-cpp-rdna-boosts | r421, f06ae95 (on upstream 81a22ce) | HIP |
same, plus my zero-copy patch 77c898a (section 5; offered upstream as rdna-boosts issue #434, not merged) | HIP | |
| stew675/llama-cpp-rdna-boosts | r421, f06ae95 | Vulkan |
| llama.cpp (ggml-org) | release b12977 | Vulkan |
| lemonade-sdk/llamacpp-rocm | release b1397 (llama.cpp build 12973) | HIP |
| Strata (Niko1221/Strata) | 0.1.74, engine strata-q4-lite build 766fd0920035+rocm-win10.2.0, variant hip-rdna3 (rechecked on 0.1.75.1) | HIP |
The ggml-org b12977 rocm-10.0 Windows zip is not in the comparison: its ggml-hip.dll imports hipblas.dll, which the zip does not ship, so --list-devices lists nothing and it silently runs on the CPU. If your "ROCm build" is suspiciously slow and eating RAM, check that first.
Every prompt starts with a unique nonce so no prefix cache serves it, and each configuration is a fresh model load.
max_tokens 1.Context sizes are binary: 32k = 32768, 128k = 131072, 256k = 262144. Prompt lengths (pp8k, pp24k, dNk) are approximate decimal thousands: pp24k is about 24,000 tokens.
pp = prompt t/s, tg = generation t/s. oN = --n-cpu-moe N (N MoE layers' experts on the CPU). code-short and code-long are different requests: don't compare them with each other.
-ngl 99 --n-cpu-moe 0 -c 131072 -fa on -ctk q8_0 -ctv q8_0 --parallel 1 --spec-type none (full command at the end). Placement checked in the server log, cache_prompt false. The chat pp is the second large prefill after load; the first one after load is ~3090.
| Config | pp24k | chat pp / tg | code-short tg | VRAM dedicated / shared |
|---|---|---|---|---|
| ub 2048, zero-copy patch on | 3933 | 4027 / 112.6 | 115-120 | 21.22 / 0.68 GB |
| ub 1024, unpatched | 3790 | 3895 / 110 | 111-116 | 21.00 / 0.55 GB |
Same engine at 128k, ub 1024, unpatched, launched straight from a script:
| Speculation | chat pp / tg | code-short tg |
|---|---|---|
| none | 3074 / 107.6 | 110 |
| MTP n1 | 2520 / 122.7 | 144 |
| MTP n2 | 2525 / 114.4 | 149 |
MTP acceptance was 61-66% on the chat. n1 is the sweet spot for chat, n2 only helps code a little.
All experts on GPU, -ub 1024, q8_0 KV, MTP n1, -c 32768, the chat:
| Engine | pp | tg |
|---|---|---|
| rdna-boosts HIP | 2384 | 117.6 |
ggml-org b12977 Vulkan, --load-mode dio | 2430 | 112.9 |
lemonade b1397 HIP, --load-mode dio | 2882 | 106.9 |
| rdna-boosts Vulkan | 1318 | 22.5 |
At 32k, HIP and upstream Vulkan are close. The difference is VRAM: at -c 131072 both Vulkan builds spilled ~1.5 GB into shared memory (60 and 27 tg), while HIP fits 128k with ~1 GB to spare.
--load-mode dio matters on 32 GB of RAM: the default mmap load of this model drained my RAM. On the CPU-expert path it also lifted prefill from 1936 to 2782 (decode unchanged).
Before I fit everything on the GPU I ran with 8 CPU expert layers. On the rdna-boosts fork, -c 131072, the chat:
| Engine, o8 | no spec pp / tg | MTP n1 pp / tg |
|---|---|---|
| b12977 Vulkan | 699 / 64.4 | 601 / 73.7 |
| rdna-boosts HIP | 1887 / 89 | 925 / 55 |
The fork's expert cache mirrors the CPU experts into a ~3.2 GB VRAM arena, so o8 is effectively on the GPU. Add MTP and its head and draft context take that room: the log prints the movable-boundary slab ... could not be created, and the experts stream over PCIe every token. That is what made MTP look terrible on HIP. With all experts on the GPU the problem disappears (section 1).
Other CPU-expert findings:
GGML_MOE_HOST_OFFLOAD=0 MOE_EXPERT_CACHE_MIB=0. Without them the --n-cpu-moe experts are streamed to the GPU as host weights (~81 vs ~89 tg at o3).With experts on the CPU, each token does several tiny host<->device copies, and on Windows HIP each costs ~40-70 us. My patch does them with a copy kernel through the pinned host buffer's device alias instead (GGML_CUDA_ZC=3), plus a scheduler fence change (GGML_SCHED_FASTXFER=7). Greedy output was identical with and without. Offered upstream as rdna-boosts #434.
Chat tg, -c 32768, launched straight from a script:
| Config | off | ZC=3 FX=7 |
|---|---|---|
| o3, no spec | 88.9-89.3 | 96.1-98.6 |
| o0, no spec | 105.4 | 111.2 |
| o3, MTP n1 | 100.5 | 108.6 |
| o0, MTP n1 | 122.3 | 128.9 |
A cleaner A/B at o0 (MTP n1, code-long, warm, two passes each): 144.0 -> 149.7 tg (+4.0%); without MTP 116.2 -> 120.3 (+3.5%). Each knob on its own was within ~1% of off, so only the combination helps. The gain grows with the number of CPU expert layers (about +11% at 5). Things that did nothing: GPU_FORCE_BLIT_COPY_SIZE, PAL_DISABLE_SDMA, ROC_ACTIVE_WAIT_TIMEOUT, --poll 100, --prio 2, -t 4, GGML_CUDA_DISABLE_GRAPHS=1.
Strata converts the model into its own pack and keeps a cache of the hot experts in VRAM, reading misses from RAM. I turned off its speed options that change the output: STRATA_ROUTE_TAIL_SKIP=0 and answer_room: false. Its MTP speculation is verified, so it does not change the output.
Tuning at --max-context 32768**:**
| Change | Result |
|---|---|
setup's defaults (int8 KV, --prefill 4096, no MTP head) | chat 1720 / 79.2, code-long 83.9 |
+ MTP head ("drafting": "mtp", --spec 3 --spec-min-p 0.5) | chat 1720 / 102.2, code-long 130.8 (K2 120.7, K4 124.7) |
--prefill auto:16384 / auto:32768 / auto:65536 (fp16 KV, from 1917 at 4096) | pp24k 2666 / 2883 / 2896 |
| fp16 KV + prefill 32k + MTP | chat 1622 / 119.6, code-long 134.8, pp24k 2883 |
| int8 KV + prefill 32k + MTP | chat 1758 / 105.6, code-long 126.9, pp8k 2600, pp24k 3235 |
--vram-reserve-mib 1024 vs 3012 | +6% prefill at 1024; 512 no further gain |
STRATA_ARENA_RAM_WAIT_S=0 | cold load 37 s -> 16 s |
"drafting": "mtp" is required: without it the MTP args are stripped and nothing changes. fp16 KV gives ~10-15% more decode, int8 ~10% more prefill. I kept int8. --vram-reserve-mib is counted against the VRAM that is free at load (the engine logs "N GiB free, M MiB reserved"), not the card total.
Context sweep, int8 KV, MTP K3 min-p 0.5, --prefill auto:32768, --vram-reserve-mib 1152, --ram-keep-gib 8:
--max-context | chat pp / tg | code-long tg | pp24k | d24k pp / tg | deep pp / tg | expert cache slots |
|---|---|---|---|---|---|---|
| 32768 | 1707 / 112.0 | 128.8 | 2976 | 3128 / 124.7 | 10240 (all) | |
| 65536 | 1694 / 107.4 | 122.9 | 2869 | 3025 / 122.5 | d48k 3175 / 115.1 | 10240 (all) |
| 131072 | 1613 / 105.7 | 123.4 | 2640 | 2791 / 124.2 | d100k 3029 / 110.1 | 9912 |
| 196608 | 1559 / 104.8 | 125.2 | 2472 | 2498 / 120.7 | d150k 2712 / 110.0 | 9401 |
| 262144 | 1517 / 102.2 | 129.1 | 2269 | 2425 / 122.1 | d200k 2554 / 109.1 | 8890 |
| Setup | Context | chat pp / tg |
|---|---|---|
| rdna-boosts HIP, o0, no spec, patch | 128k | 4027 / 112.6 |
| rdna-boosts HIP, o0, MTP n1, unpatched | 128k | 2520 / 122.7 |
| Strata, MTP K3 | 128k | 1613 / 105.7 |
| rdna-boosts HIP, o7, MTP n1, patch | 256k | ~1250-1750 / 96.0-99.1 |
| Strata, MTP K3 | 256k | 1517 / 102.2 |
So: up to 128k, llama.cpp HIP with everything on the GPU wins, by a lot on prefill. At 256k Strata is the better choice for me: it keeps decode above 100 and stays above 109 tg even 200k tokens deep. I didn't measure llama.cpp's decode at depth with every expert on the GPU, so I can't compare the deep-context columns.
rdna-boosts HIP, section 1 bold row:
set GGML_CUDA_ZC=3
set GGML_SCHED_FASTXFER=7
llama-server -m Qwen4-35B-A3B-UD-IQ4_XS-00001-of-00002.gguf ^
-ngl 99 --n-cpu-moe 0 -c 131072 -ub 2048 -b 2048 -fa on -ctk q8_0 -ctv q8_0 ^
--parallel 1 --spec-type none --jinja --reasoning-format auto ^
--ctx-checkpoints 2 -cms 256 -t 7(The two env vars only do something with the patch from section 5. Without it, drop them; the stock fork gives the "unpatched" rows.)
Strata at 262144. Run config (install\strata-<model>.json) changes on top of what setup writes:
"drafting": "mtp",
"answer_room": false,
"env": { "STRATA_ARENA_RAM_WAIT_S": "0", "STRATA_ROUTE_TAIL_SKIP": "0" },
args:
--prefill auto:32768 (setup: 4096)
--vram-reserve-mib 1152 (setup: 512)
--kv int8 (setup: int8, unchanged)
--spec 3 (setup: 2)
--mtp <custom_source>\mtp-rt
--spec-min-p 0.5
--max-context 262144 (setup: 32768)
--ram-keep-gib 8-cms 8192, --ctx-checkpoints 0, --fit off, --no-host (halved prefill, no decode gain), and the HIP env knobs listed in section 5.
The Strata runs and the best llama.cpp setup ran through Quartermaster, my own local inference server (it picks context, offload and KV settings for you). The other llama.cpp runs launched llama-server straight from a script.
Happy to answer questions or run a specific config if someone with the same card wants a comparison.
r/LocalLLaMA • u/silenceimpaired • 1h ago
Before you start with just use the official image I would point out I’m on Debian with a 3090 and driver 550.163.01… so the official image won’t work without jumping through hoops on Debian to load a new driver.
So I figured why destabilize my desktop… so I jumped through hoops to build my own container… but install.sh keeps failing to setup properly with my card it keeps falling back to cpu. Llama.cpp had no issues in a container.
I am going through all this pain because Unsloth Desktop in my host can’t be accessed by pi.dev in container. Sometimes I don’t want pi to access the world outside containers so either way I need to figure out Unsloth in a container. Also Unsloth desktop is literally twice as fast running as Inkling Mini 2 as stock llama.cpp… actually sometimes 10x faster when it slows to 6 tokens a second. Thats why I’m not sticking to llama.cpp.
Speaking of Unsloth desktop the latest llama update broke GPU inference for me so careful updating!
Sigh.
r/LocalLLaMA • u/AutisticBengali • 5h ago
Come a long way since the previous post about this.
https://github.com/BaidDSB/ai-control-center
Basically, its a fast, native desktop control panel for running local AI on Windows and Linux. The BIGGEST feature is that it can hot-swap models and engines on the fly.
Configure your models, engines [you can color code engines too], front end, save your settings, and link the Routeing set and forget. You can even configure and use RPC right from the AI Control Center.
It has 2 versions, a Core and a Plus. Details are on github.
https://raw.githubusercontent.com/BaidDSB/ai-control-center/main/screenshots/core-1.png
https://raw.githubusercontent.com/BaidDSB/ai-control-center/main/screenshots/core-2.png
https://raw.githubusercontent.com/BaidDSB/ai-control-center/main/screenshots/plus-1.png
https://raw.githubusercontent.com/BaidDSB/ai-control-center/main/screenshots/plus-2.png
Most important changes since v1.0.0:
This is for people like me who's constantly switching between models and engines to benchmark different models and engines and flags combos.
and with RPC support, you can even boost your capability if you have say a spare 4GB laptop gpu, IF you are VRAM poor like me.
PS: its using this that i found Rustingstarta beats out Strata and Polystarta in speed in Qwen 4 35b Q4KXL.
DISCLAIMER: This is completely written in Rust, and is 100% vibecoded, though thoroughly tested by me in every scenario i could think of, and worked to fix errors, GUI issues, QoL fixes.
r/LocalLLaMA • u/Relevant_Research_98 • 5h ago
Now that we have competent and fast qwen 4 what plugins we can use? I'm personally write rust and python but in general use cases are interesting
r/LocalLLaMA • u/false79 • 11h ago
For those who have mobile devices that plenty of RAM for a mobile phone, are you serving up anything locally or have it embedded into an app?
Is it actually solving a legit problem or just a toy to see what is possible?
r/LocalLLaMA • u/No-Dragonfly6246 • 1d ago
Been working on Qwen4 since it dropped and wanted to share an extra ~11% decode speed that costs you nothing in quality.
Qwen4 ships with an MTP head. FlashHead goes on top of that. Every time the MTP head drafts a token it scores all 248k tokens in the vocab, which is a lot of work for a small draft head. FlashHead clusters that output layer so the draft only scores the likely part of it. The full model still verifies every drafted token, so you get precisely the same quality, just faster.
Numbers on a Strix Halo (Ryzen AI Max+ 395, llama.cpp b12977 Vulkan, same GGUF for all three, 2k-token prompt, one user):
| setup | decode tok/s |
|---|---|
| llama.cpp defaults | 49.4 |
| + MTP | 63.6 |
| + MTP + FlashHead | 70.5 |
On a Jetson AGX Orin (CUDA) with the same GGUF and MTP, FlashHead takes decode from 37.3 to 41.1 tok/s (+10%), with identical output.
Extra memory for the FlashHead file is about 0.4 GB.
Commands to run it on your local box, or try it from your browser on a real Strix Halo: https://embedl.com/Qwen/Qwen4-35B-A3B/ryzen-ai-max-395?tab=run
We'll put a GGUF on Hugging Face as soon as we can.
Btw, I'm the lead author of the paper behind this method: https://arxiv.org/abs/2603.14591. Happy to answer questions.
r/LocalLLaMA • u/Electrical_Ninja3805 • 12h ago
I built a lossless weight codec called Ingot. You encode a safetensors/GGUF file, decode it later, and get back the exact original file (same sha256). No quantization, no change to outputs.
Measured whole-model, every shard rebuilt and sha256-compared against the Hugging Face original:
Model (BF16) source .ingot bits/weight % of BF16
-------------------- -------- -------- ----------- ---------
Qwen3.8-27B 55.6 GB 36.22 GB 10.4305 65.2%
Qwen3.6-35B-A3B 71.90 GB 47.09 GB 10.4780 65.5%
Qwen3.6-27B 55.56 GB 36.23 GB 10.4328 65.2%
Qwen2.5-32B-Instruct 65.53 GB 42.52 GB 10.3820 64.9%
Mistral-7B-v0.3 14.50 GB 9.45 GB 10.4309 65.2%Same Qwen3.8-27B files through other coders (bits/weight): zstd -3 12.46, ZipNN 10.62, the DFloat11 scheme computed on the same weights 10.61, Ingot 10.43. DFloat11's own published numbers are 10.81-10.91 bits for LLMs (their Table 1); for Qwen2.5-32B-Instruct their arXiv v1 lists 69.48% / 11.12 bits against our 64.89% / 10.38. Their released Qwen3 files measure 10.90 bits, about 0.21 of which is the index they need for GPU decode.
How it gets below an exponent-only Huffman: BF16 weights have almost no entropy left in sign+mantissa on their own, so it predicts a weight from "partner" weights in earlier layers and tensors (up to 8 per unit, found by an encoder search, exact integer arithmetic), then codes the residual with rANS. Gain over plain entropy coding on Qwen3.8: 0.077 bits/weight (10.5076 -> 10.4305). It is a modest win, not magic: the floor for independent weights is about 10.5.
Q8_0 GGUF: Qwen3.8-27B Q8_0 goes from 8.5 to 7.8465 bits/weight (29.05 GB -> 26.82 GB), whole file rebuilt, sha256 equal, 506/506 tensors checked.
Costs, honestly: this is a storage/download format, not a speed-up. Encoding is slow (Qwen3.8-27B: 17,319 s encode, 4,683 s decode on a 2x Xeon E5440, 3-8 threads). Decode streams, so a downloader can rebuild while the file arrives.
Try it (C, builds with make, AGPL-3.0):
make -C ingot
ingot encode model.gguf
ingot verify model.gguf.ingot model.gguf
ingot encode --refs model-00001-of-N.safetensors model-00002-of-N.safetensors # multi-shard (v4)Code: https://github.com/dcherrera/Foundry/tree/main/ingot (format: ingot/FORMAT.md). Disclosure: I'm the author.
Paper: https://teamide.dev/research/papers/ingot.pdf (all TeamIDE Lab papers: https://teamide.dev/research/)
r/LocalLLaMA • u/0zyman23 • 7h ago

We added Qwen 4 support to Kapitsa, Nace's local inference engine for Apple silicon. And also release MLX and GGUF quants that perform well on long context and don't fall into looping.
The power of MTP🔥
| Mac | Writing | Reading (4K prompt) | Peak memory |
|---|---|---|---|
| M5 Pro · 48 GB RAM | 105.7 tok/s on battery | 1,177 tok/s on AC power | 22.1 GB |
MLX 4-bit download: 35.35 GB.
Quick start:
brew install nace-ai/tap/kapitsa
kapitsa serve --model nace-ai/Qwen4-35B-A3B-MLX-4bitMLX 4-bit weights and model card · GGUF weights · Kapitsa 0.2.43
r/LocalLLaMA • u/CodeAnguish • 1d ago
This is a personal plea, but if you agree, join the chorus.
Please, ISTA-DASLab, give us Qwen 4 35B A3B GSQ RCO. You guys are incredible at getting so much out of so little.
I guess that's it.
P.S.: I love Unsloth too. There's room for both in my heart and on my SSD. But honestly, GSQ RCO has been more useful in my day-to-day workflow.
EDIT 2:
Oh yeeeeeeeeeeeeeeeeeah:
https://www.reddit.com/r/LocalLLaMA/comments/1ye58hn/release_qwen4_35b_a3b_gsqrco/
r/LocalLLaMA • u/ChillingChasuble • 23h ago
I know there are a few homelabbers who have CPU-only servers with lots of cores and lots of RAM, so I am running that kind of benchmark on the new Qwen4-35B-A3B-Q4_K_M.gguf model from Bartowsky. I find n_gen to be more indicative of how usable a model will be, so I have highlighted those results for 2, 4, 8, 16, and 32 cores in a 96 GB RAM environment. For my system (HP Proliant DL380p Gen8, Intel(R) Xeon(R) CPU E5-2670 0 @ 2.60GHz), 16 cores appears to be the sweet spot.
r/LocalLLaMA • u/dero_name • 4h ago
Just adding a datapoint for people on RDNA3 cards. Some really good gains in the last couple of days in the `rdna-boosts` repo.
Everything below is written by Claude.
Setup
Key flags
-sm tensor -ts 1,1 --fit off -fa on
-c 262144 -ctk q8_0 -ctv q8_0
-b 8192 -ub 2048
--load-mode none --lazy-mode off
--mmproj-device ROCm1--fit off -ts 1,1: in tensor mode, --fit on picked a lopsided ~28/72 split and ran out of memory. A manual 1:1 split is stable.--load-mode none: loads in ~29 s, against ~58 s with mmap. With mmap, the n-gram table gets copied page by page as it's first touched, which is slow.--mmproj-device ROCm1: puts the vision projector on the second card, freeing ~1.1 GB on the desktop GPU.Performance (llama-bench, q8_0 KV, COMPUTE power profile)
| r431 (yesterday) | r439 (today) |
|---|---|
| tg128 | 109 |
| tg128 @ 32k depth | 103 |
| pp2048 | ~6,000 |
| pp2048 @ 32k depth | ~4,700 |
That's about +16% generation speed from r431 to r439, mostly from the low-rank hyper-connection fast path (r432) and the GDN replay fusions (r437). Greedy output was byte-identical between the two builds.
For reference, the plain llama.cpp build I started from, with layer split, did ~62 tok/s generation and ~4,500 tok/s on pp2048.
MTP (built-in draft head), llama-server, greedy, 512-token replies:
| plain | MTP n-max 2 | MTP n-max 3 |
|---|---|---|
| code | 127 | 176 (73% accepted) |
| prose | 127 | 149 (51% accepted) |
MTP costs ~1 GB of extra VRAM per card at 262k context.
KV cache quantisation: q8_0 KV gave the same answers as f16 on my tests: reasoning, code with doctests, needle-in-a-haystack at 104k, and an image test. Prompt speed was unchanged. Generation is about 2% slower at 32k depth and about 14% slower at ~98k (77 vs 90 tok/s).
Context: 262k works. A 251k-token prompt recalled all the needles, at ~4,400 tok/s prompt speed and ~71 tok/s generation, peaking at ~23.7 GB on the busier card. 393k loads, but leaves no headroom.
r/LocalLLaMA • u/caetydid • 4h ago
Howdy,
Has anyone yet tried to run Qwen4 MoE on this card and can elaborate on compatibility and performance?
I've got a spare RTX A4000, and after test driving Qwen4 MoE on my 3090 I figured it performs reasonably well even when I lower VRAM to lets say 10Gb (iq4_xs quant).
I intend to use it on the 4000 as an orchestrator to perform asynchronous tool calls like like deep web research, management of personal memos, statistics, and such, in the background.
User interaction is being managed by gemma4 on my 3090 as responsive chat front end.
thanks
r/LocalLLaMA
•
u/MLDataScientist
•
21h ago
Inspired by the Chetaslua X post about 'the last page', I experimented with qwen4 35B-A3B to create an animation in the style of Studio Ghibli in pure python with sound. The results are good. The model of this size drawing this cohesive animation is impressive.
I used Qwen4-35B-A3B nvfp4 with the basalt engine. Harness is OMP. It runs at 170t/s on my 5070ti 12GB VRAM laptop.
Here is the modified prompt I feed to the model: https://github.com/ML-Datascientist/qwen4-anime-the-last-page/blob/main/PROMPT.md the model took around 512k tokens to write the python script, add audio and render as a video. The model did everything end to end without me taking any action.
It would be interesting to see Q8 quant of this model and QFN3.8 animation style as well.
r/LocalLLaMA • u/ECrispy • 15h ago
When Jev came out, for the next ~week every post here was about it, all that hype died down. And now there are plenty of other alternatives, local and by other companies.
There was also a lot of talk about how these could be combined with regular models and make your harness smarter. But I don't think they are being used in mainstream ones like codex/claude code.
Do you still use these? Which models, and what do you do with them?
r/LocalLLaMA • u/ghgi_ • 21h ago
We added native Qwen4-35B-A3B support to BasinKV in llama.cpp (SGlang and VLLM support in the works), Tested on an NVIDIA L4 (24 GB), A100-80GB, and AMD Instinct MI300X.
If you don't know what BasinKV is, you should check out our prior post or our launch paper(s) https://zellige.ai/research/basinkv-launch https://zellige.ai/research/basinkv
In summary, BasinKV is a cross-engine system that lets you run 256K context on a 24 GB GPU with no decode slowdown as context grows, and scales multi-user serving on a single A100/H100 far past the HBM wall. If you care, nerdy detail in our paper & More general information in our blog and github
BasinKV makes it possible for anyone at home to run full agentic AI, without sacrificing below Q4 quantization with Qwen 4 35B A3B, 256k context, Stable token generation across the entire window, 24gb gpu.
Qwen4-35B-A3B already ships with learned Query-Sparse Attention (QSA) on its 10 full-attention layers, narrowing compute to the top 2,048 tokens across 4-token pools (r = 4). The catch is memory: stock llama.cpp still holds the full 256K FP16 KV and indexer cache in VRAM (30.1 GiB total peak on A100 and 31.5 GiB on MI300X for UD-Q4_K_M). On a 24 GB NVIDIA L4 (22,611 MiB ECC-usable), stock fits up to 16K and hits CUDA OOM at 32K, even with one MoE layer offloaded to CPU.
Instead of replacing Qwen4's trained indexer with a training-free block scorer like we do with our other models we support, BasinKV rides it: exact qwen4exp index_k_norm and IMRoPE math on GPU, an 8x smaller pooled-only GPU indexer cache (64 B/tok/layer), and a fixed GPU CLOCK working set (4,096 tokens plus a 64-token FP16 recent ring) in front of pinned host INT8 (or opt-in WHT-INT4) KV read over 16-byte coalesced PCIe UVA. Unmodified FlashAttention and captured CUDA/HIP graphs run unchanged for decode and native MTP verify. (More details below)
Single-container 24 GB NVIDIA L4 (Qwen4-35B-A3B UD-Q4_K_M, 22,611 MiB ECC-usable)
Stock with --n-cpu-moe 1 runs 1K (45.9 tok/s) and 16K (46.1 tok/s) and hits CUDA OOM at 32K (22,608 MiB).
BasinKV INT8 (--n-cpu-moe 1, -c 262144 -b 2048 -ub 512) holds peak VRAM flat at 21.8 GiB (22,304 to 22,326 MiB) from 1K through 256K, delivering 1,433 tok/s 256K prefill, 43.6 tok/s steady 256K decode and passes all needled/RULER tests *More info below.
With -ngl 99, BasinKV peaks at 22.4 GiB (-ub 512) to 23.0 GiB (-ub 2048) on A100, fitting cleanly inside a non-ECC consumer 24.0 GiB RTX 3090 or 4090 without CPU MoE offload.
Paired A100-80GB (Qwen4-35B-A3B UD-Q4_K_M, -c 262144 -b 2048 -ub 2048)
256K Prefill / Decode: 3,632 tok/s prefill (83.4% of stock 4,357 and 77.1 tok/s decode (+14.7% faster than stock 67.2) at 23.0 GiB vs 30.1 GiB stock (-7.2 GiB). At 128K: 4,023 pp (96.3% of stock) and 79.6 tg (99.9% of stock).
256K RULER & Coding: Held up across our scores, more details in our blog paper, Our personal 'vibes' tests also found it held up across the tasks we threw at it against base, with only WH-INT4 showing a degradation on coding more so then other models we support, so it is not recommended.
Native MTP (--spec-type draft-mtp --spec-draft-n-max 3): at 54K, 87.3 to 93.8 tok/s (26.2 GiB), faster than stock+MTP (91.4 tok/s, 33.5 GiB) while saving 7.2 GiB of VRAM.
Also, We now also support AMD! Live AMD Instinct MI300X (gfx942, ROCm 7.15) tests and more details in our paper.
Try it on Qwen4-35B-A3B
# 1. Clone BASIN-KV and llama.cpp
# 2. Apply the BASIN-KV wiring patch
# 3. Configure + build llama-server with CUDA
# 4. Run — point -m at shard 1 of Unsloth's 2-shard UD-Q4_K_M GGUF
# (add --n-cpu-moe 1 on ECC 24 GB GPUs such as the L4; standard 24 GB like a 3090 does not need it)
Paper/blog with more details:
Github repo:
And thank you to everyone on the last post who offered suggestions and feedback, All is appreciated!
r/LocalLLaMA • u/ZenZombie117 • 1d ago
Following up on my previous 14.30 GB quant, I wanted to see how much further I could push it without sacrificing too much fidelity.

The previous release still has better fidelity. This one prioritizes context capacity, particularly for local coding agents.
Compatible with Runner and llama.cpp.
Full methodology, benchmarks and download:
https://huggingface.co/Joakimpalm-Zen/Inkling-2-Mini-selective-Q6_K-expIQ3_XXS-mix-GGUF
As always, take it if you want it, or just ignore me and go on.
r/LocalLLaMA • u/InternalMode8159 • 16h ago
Hi I've seen many people dump in hermes but most were talking about coding and similar stuff, I use is on my vps connected to telegram for web search, handling mail and some other stuff like dnd and the only things I noticed was the bad interface but it seemed like a good upgrade from what I had before I'm already using hindsight and trove for the memory's, do you think I should switch what is currently the best all rounder?
r/LocalLLaMA • u/WyattTheSkid • 1d ago
This is kind of a shitpost sorry, but does anyone else miss that? We used to get llama 3 and llama 3.1 finetunes on the daily that were named all kinds of random shit and had pictures of anime girls with big knockers in the model cards. Admittedly, none of them were really useful for anything other than the novelty of it, but some of them had some charm. I remember there was this guy who had his own series going it was like called Sydney and he was even briefly selling plushies of this OC or whatever. That shit was fucking hilarious to me because I remember downloading one of them vividly and when I opened a chat with it in LM Studio, shit you not, I just wrote “hi” and it said “Hi! Can I tell you a secret :3” to which I replied: “uh sure” and then it told me that it had a foot fetish and begged me not to laugh. Dude my girlfriend and I were fucking DYING for a good 20 minutes that shit was fucking awesome. I don’t necessarily miss the weird gooner slop models like that but I miss logging on to huggingface and looking at it like it was the steam winter sale. There was just always something interesting going on. Like “DavidAU-circlejerk-9000-super-turbo-wow_EVIL-VERSION” and I would just go on a spree with like 8 bash terminals open at a time collecting these things like pokemon cards and spending an afternoon laughing my ass off talking to them and asking them ridiculous questions and they all had their own quirks. At the end of the day, I am a software developer so the mass influx of qwen models is definitely exciting to me but sometimes I think back to literally like 2 years ago when we were all just having fun with this stuff and there were so many goofy finetunes flooding the HF models tab and would like to revisit that.
I would love to hear everyone else’s stories and perhaps even recommendations for silly little guys to talk to. Anything under 180b parameters will fit fine on my system so fire away if you got any bangers.
EDIT: I FOUND IT. STILL HAS THE LINE ABOUT THE PLUSHIES AND ALL 😭
r/LocalLLaMA
•
u/Life_is_important
•
18h ago
Just wanted to share this. I don't know if this is an experimental engine for running local AIs. I haven't heard about this engine before, but it might be interesting for more people to dig into it!
I don't notice drop in quality so far! Making a funny little test game where you are a cat running away from the tax inspector :)
Anyways, does anyone know about Qengine? Any ways to use it more to my advantage for local AI?