r/llamacpp • • 28m ago Bravo

LexiSuite 2922c5c: my all-Rust local AI stack after two full source audits (92 changes); Inkling-2-Mini reads a 262k prompt 32% faster; tensor parallel arrives as an experimental toggle for Inkling-2-Mini and Qwen3.8 Flash-Next; ahead of llama.cpp and Strata on Inkling, QFN, Qwen3.8 27B and Nemotron

Thumbnail
github.com
2 Upvotes

I'm building a local AI platform from scratch in Rust: an inference engine (LexiEngine), a browser control panel (LexiPanel), an appliance OS (LexiOS) and a kernel designed around inference (LexiKernel). It boots from one USB image. It is not a wrapper around llama.cpp.

https://huggingface.co/Wa1k3r/Inkling-2-Mini-NVFP4exp-Q8-draft-LexiSuite-AIO-for-AMD-RDNA/tree/main

A new development image went out today, one day after the last one. 92 changes this time. Here is what they are.

Two audits of the whole source

The entire tree, 2.07 million lines of Rust, went through two outside audit rounds of about 100 parts each, through four lenses: security, continuity, compatibility and speed. I then checked the findings rated high by hand against the code, one by one, and fixed what held up: 93 confirmed findings are fixed in this image. Most of this release is that work.

Some of what was closed:

- Root-only routes (system update, disk install, backup recovery) accepted an internal service header in place of the root password. They no longer do.

- The restart export could read another instance's records through a second, unchecked parameter.

- Full model verification saved a changed model's fingerprint before refusing it, so a second load would have accepted it.

- A fresh fleet join code could replace an enrolled box. A replaced remote endpoint kept the API key saved for the old address.

- The engine now checks who owns its key file, and refuses an unusable key list instead of reading it as "no keys".

A more stable platform

- The installer writes the firmware fallback boot file last, verifies the bytes it then uses, and gives two disks installed from one stick different identifiers.

- Uninstall with purge refuses a folder that has a disk mounted under it.

- An answer cut off by the token limit while tools are offered now returns "length" instead of a server error.

- A model load that cannot fit no longer evicts an idle model first.

- The Panel's Secure Boot page hands out the current certificate (the bug named in the last post is fixed). Same certificate as the last image: nothing to enroll again.

Inkling-2-Mini reads long prompts faster

A new attention kernel for prompt processing. At a 262,144-token context a 261,632-token prompt now reads at 1,525.7 tok/s, up from 1,152.7, which is 32% faster. It sums in another order, so its output is not bit for bit the old kernel's: the two pick the same top token on 98.8% of 510 positions. One environment variable brings the old kernel back.

Qwen3.8 Flash-Next gets to its first token sooner

This is the 94 GB mixture-of-experts model served from one 24 GB card. First token after a 64k prompt comes 9% sooner and after a 128k prompt 10% sooner, with identical output.

Tensor parallel (experimental, off by default)

Inkling-2-Mini and Flash-Next can now split their experts across several ranks: several Vulkan devices, or several ranks on one card. It is one toggle in the Panel's New instance form and one engine option. With it off, output is bit for bit as before. With it on, output is deterministic; Flash-Next is bit for bit with two and three ranks on one card, and a 7900 XTX with an RTX 2060 as second rank works with uneven shares.

Speed, measured on this version

One Radeon RX 7900 XTX, one run each, November 30. Old version in brackets.

Inkling-2-Mini, 4-bit cache:

- 16,384-token prompt: reads at 2,471.4 tok/s (2,177.6), generates at 62.9 tok/s (61.2), 137.0 with the model's draft head (132.6)

- 261,632-token prompt: reads at 1,525.7 tok/s (1,152.7), generates at 50.1 tok/s (50.0), 64.9 with the draft head (68.1)

Inkling-2-Mini, 8-bit cache:

- 16,384-token prompt: reads at 2,436.8 tok/s (2,155.7), generates at 61.0 tok/s (61.0), 135.2 with the draft head (131.6)

- 261,632-token prompt: reads at 1,483.8 tok/s (1,140.4), generates at 43.7 tok/s (43.4)

Qwen3.8 Flash-Next at a 262,144-token context, time to first token:

- after a 16k prompt: 37.5 s (36.4)

- after a 64k prompt: 132.2 s (145.3)

- after a 128k prompt: 266.7 s (295.8)

- after a 256k prompt: 559.6 s (new row)

Qwen3.8 Flash-Next, generation:

- after a 16k prompt: 6.90 tok/s (7.64)

- after a 64k prompt: 12.73 tok/s (12.49)

- after a 128k prompt: 9.54 tok/s (9.56)

Things I am not hiding:

- Flash-Next gained nothing at a 16k prompt, and its generation there came out lower than last time (6.90 against 7.64). Both are single runs; I have not measured it enough to say whether that is real.

- Drafted generation on Inkling after the 262k prompt was 64.9 tok/s against 68.1 last time. Drafted speed follows how many drafts the prompt lets through.

- Tensor parallel is not benchmarked on a machine with two fast cards: I do not have one. On a single card it is slower than one rank, because rows cross through system memory. It is there so people with the hardware can use it and tell me.

- I did not re-run llama.cpp and Strata on this version. The comparison tables on the benchmark page are from version d484004 (November 27 to 28) and say so.

What it is not, yet

- A development build, not a production release

- Developed and measured on one card (7900 XTX, Vulkan). Other cards are less tested

- The kernel's own GPU drivers have not run on a real card in this version; the Linux boot entry is the one for daily use

- The Windows installer is on the stick but has not been run on a Windows PC; no macOS installer yet

Tested

Every test in the tree ran on this version: 17,997 tests, none failed. Both images passed nine Secure Boot checks in a VM, and the plain image passed an 18-step install to a disk.

Links

Download (960 MB USB image, boots to the Panel):

https://lexipanel.com/download/

All-in-one image with Inkling-2-Mini inside (18.7 GB, needs a 32 GB stick):

https://huggingface.co/Wa1k3r/Inkling-2-Mini-NVFP4exp-Q8-draft-LexiSuite-AIO-for-AMD-RDNA

All 92 changes, one line each:

https://github.com/W61k3r/LexiSuite-Releases/wiki/Changes-2922c5c

Benchmarks and method:

https://github.com/W61k3r/LexiSuite-Releases/wiki/Benchmarks

Happy to answer questions about the audits, tensor parallel or the engine.


r/llamacpp • • 8h ago

4.7× faster prompts on a Pi 5 by picking a bigger quant: what actually makes llama.cpp formats fast

1 Upvotes

Hey all,

About 5 months ago, I asked the question: "Would a model quantized to fit the CPU's registers neatly beat one quantized purely to be as small as possible?" On a Raspberry Pi 5, the answer for prompt processing is a big yes. Q4_0 (simple 4-bit blocks) processes prompts 4.7× faster than Q3_K_S (packed 3-bit superblocks), even though its file is 20% bigger.

Why I cared: small decision models like Jev read a prompt and emit a short answer, so prompt-processing speed decides whether they're usable on edge hardware. I'd like to see decision models run on embedded systems someday. A Pi 5 isn't there yet (at 38.6 tokens/s a 512-token prompt still takes about 13 seconds), but a 4.7× difference from picking the right format matters a lot on the way there. That's why I thought this was worth validating properly.

Prompt processing (pp512, tokens/s, Pi 5):
Q4_0, default build (repacked)   ████████████████████ 38.6
Q4_0, fast paths off             █████                 9.4
Q3_K_S, any build                ████                  8.2

But the reason isn't the format itself. I built one pinned llama.cpp commit (b9459) four ways, with its CPU fast paths switched on and off, and measured 12 quantizations of a 3B model, with my predictions written down before measuring. With the fast paths off, Q4_0 is only 1.16× faster than Q3_K_S. Almost all of the 4.7× comes from llama.cpp repacking Q4_0's weights into register-friendly interleaved layouts. This happens in RAM when the model loads; your GGUF files stay exactly as they are. So register alignment does win; it's just done by the kernel, and only for the formats that have a repack path. Q3_K and Q2_K have none on this CPU. Without fast paths, Q4_K_S and pure Q4_K are actually faster than Q4_0.

The catch: memory. The repacked copy sits alongside the original, so peak memory roughly doubles (1.9×). On my 8 GB board, Q8_0 pushed the system into swap. Leave headroom.

(I predicted the format would matter much more, and so did the two AI systems I asked. All three of us were wrong, which is why I'm posting the data.)

Prompt processing (pp512, tokens/s, default build, Pi 5 at 1.8 GHz, 4 threads): Q4_0 38.6 · IQ4_NL 26.6 · pure-Q4_K 22.4 · Q4_K_S 22.2 · Q4_K_M 21.9 · Q6_K 18.7 · Q5_K_M 18.6 · Q8_0 17.1 · Q3_K_M 10.7 · Q2_K 8.9 · Q3_K_S 8.2

Try it on your own board (15 minutes): build llama.cpp twice (default, and with -DGGML_CPU_REPACK=OFF -DGGML_LLAMAFILE=OFF), then run llama-bench -p 512 -n 0 on a Q4_0 and a Q3_K_S file. Exact commands are in the README. I'd love to see numbers from other boards.

Other things I found:

  • Generation speed follows file size from 4 bits up, but below 4 bits you get 10–19% less speed than the size suggests. Going from Q4_0 to Q3_K_S saves 20% of the bytes but only speeds up generation by about 6%.
  • Benchmarking pitfalls: the stock clock throttles even with a heatsink; the firmware lowers the clock without Linux noticing (use vcgencmd measure_clock arm); and the first run after switching models can be 2–7% slow until memory is compacted.

A question for anyone who knows the CPU kernels: has a Q3_K repack path for dotprod Arm CPUs been considered, or is the 3-bit layout a poor fit for interleaving?

Note (PDF), raw data and scripts: https://github.com/coreyfro/pi5-llamacpp-formats · DOI 10.5281/zenodo.24663490

This covers one board and one commit, measured 2026-11-21, to the best of my knowledge at the time. Current master (checked 2026-11-29) still has no Q3_K fast path on Arm. AI assistance was used throughout (planning, scripts, drafting); I made the decisions and reproduced the headline numbers by hand. Details are in the note. Corrections welcome.


r/llamacpp • • 6h ago

everyone talks about bigger AI models but the inference engine running behind them matters just as much

0 Upvotes

someone tested Qwen3.8-27B with a 256K context window on a single RTX 4090 (48GB)

across 4 inference engines:

→ llama.cpp: 50.4 tok/s

→ FastLLM: 75.8 tok/s

→ vLLM: 57.4 tok/s

→ SGLang: 46.5 tok/s

and here's the interesting part

FastLLM finished the entire 18-batch code review in around 73 minutes

llama.cpp took around 104 minutes

that's a pretty significant difference

SGLang also had the highest prefill speed, so each engine has its own strengths

one important detail: the comparison isn't perfectly apples-to-apples because llama.cpp used Q8_0 converted weights while the other engines used native FP8

still, this is a great look at how much inference optimization can change real-world performance

same model family, same GPU, very different results


r/llamacpp • • 15h ago

Beyond VRAM limits: Running 30B MoE coding agents and 22B audio/video diffusion on consumer GPUs

2 Upvotes

I shared some of my local AI experiments earlier today. The post received over 8,000 views and some genuinely useful feedback, including offers to test on older NVIDIA GPUs, before it was removed by Reddit's filters.

Since then, I've added real UI screenshots, improved hardware detection, and continued working on compatibility.

The original motivation was simple: how far can we push local AI on hardware we already own?

My primary test machine:

  • AMD RX 5600 XT — 6 GB VRAM
  • Ryzen 5 5500
  • 32 GB DDR4 RAM
  • Windows 11
  • Vulkan, no ROCm, no manual C++ builds

I've also tested on NVIDIA hardware. The benchmark results below are specifically from my RX 5600 XT.

I ended up building three Apache-2.0 projects:

  • PicoCode: Local coding LLMs, hardware-aware inference, and a terminal-based coding agent.
  • PicoStudio: A pure Python stdlib web IDE with multi-file editing, split diff, multi-tab terminal, vision support, and a GPU arbiter.
  • localVid: Local image, video, and audio generation with low-VRAM optimizations.

The GPU arbiter allows the coding and diffusion engines to share the same GPU by unloading one before starting the other.

What actually made a difference

The biggest performance gains came from reducing Windows WDDM shared-memory spills and tuning inference configurations.

Qwen3-Coder-30B-A3B — IQ4_XS, 32K context, Q8_0 KV cache

  • Adaptive MoE offloading based on available VRAM
  • --load-mode none
  • ngram-mod speculative decoding
  • --cache-reuse 256

Results:

  • Prompt processing: 58.8 → 71.8–97.5 tok/s
  • Token generation: 16.9 → up to 30.2 tok/s
  • Up to 79% faster generation in tested file-refactoring workloads

Inkling 2 Mini — 26.4B/3.4B MoE + Vision + DSpark

Using --no-op-offload --no-host:

  • Shared VRAM spill: 9.04 → 1.2–2.1 GiB
  • Prompt evaluation: 0.7 → 15.5 tok/s
  • Total execution time: 136.8 → 34.7 seconds

LTX-2.3 22B — Text/Image-to-Video + 48 kHz stereo audio

  • Reduced WDDM memory spills using VRAM budgeting and disabled prefetching
  • Tiled VAE decoding delivered 4.3–11.6x faster video decoding in tested configurations
  • One 25-frame decode went from 149s to 12.8s
  • Two-stage native x2 upscaling reduced total rendering time by approximately 2.1x in my tests

Wan 2.2 14B

  • Addressed Windows TDR crashes on RDNA 1 Vulkan
  • 5–9.3x faster single-step DiT processing in tested configurations
  • 356s → 38.4s at 480×320, 17 frames

These are workload-specific results from my own testing, not universal performance guarantees.

Obviously, these larger models don't fit entirely inside 6 GB VRAM. System RAM, quantization, selective GPU offloading and memory management are essential parts of the setup.

I'm not trying to reinvent llama.cpp or replace frontier cloud models. I'm interested in making local AI more accessible on ordinary hardware.

All three projects are free and open source. Real UI screenshots, benchmark results and installation instructions are available here:

https://github.com/ffalcon3098-droid

I'd be particularly interested in comparing results with people using older AMD cards, Pascal GPUs, budget RTX cards or multi-GPU setups.

Technical feedback, criticism and benchmarks are welcome.


r/llamacpp • • 13h ago

Getting giberish on llamAmpere built for rtx3060 6GB

Thumbnail reddit.com
1 Upvotes

r/llamacpp • • 16h ago

Llama Console v1.0 Beta 5 Preview – Local AI in Termux with GPU/NPU support, persistent memory, RAG and benchmarking

Thumbnail reddit.com
1 Upvotes

r/llamacpp • • 1d ago

Host performance optimization TUI

Thumbnail
gallery
15 Upvotes

For whoever might find it beneficial... I've created a little TUI script for optimization of your (mainly) Linux host. Macos/wsl and docker are also supported, although the optimizations for those are limited for obvious reasons.

It supports pretty much every modern Linux distribution, hardware and most inferance related GPU's. Feel free to submit an issue or pull request if you find bugs or want support for something that isn't supported yet!

https://github.com/bramvanoploo/strata-performance-setup


r/llamacpp • • 1d ago

Unofficial llama.cpp fork: NariQ (Nari Labs trellis-coded Qwen3.8-27B) on AMD RDNA4 with HIP/ROCm on Windows, DFlash2 speculative decoding

Thumbnail
github.com
4 Upvotes

Target model

nari-labs/Qwen3.8-27B-NariQ-GGUF, the NariQ Qwen3.8-27B GGUFs. All tests and numbers on this page use Qwen3.8-27B-NariQ-3.0bpw.gguf (3.0 bits per weight), together with the vision projector and the DFlash2 draft (see Models). The 2.5 and 2.0bpw files use the same code but were not measured.

Stock llama.cpp (ggml-org master) cannot load NariQ files. So the reference for the comparison below is nari-llama.cpp itself, not ggml-org master.

Where it starts from

  1. nari-llama.cpp branch nariq/b12431**:** the NariQ release b12431-nariv0, on upstream llama.cpp b12431.
  2. The RDNA4 HIP port of nari-llama.cpp PR #8 (057395dec, 25/11/2026). It runs the Trellis products on gfx12 WMMA on Linux, without the speculative draft.
  3. Merged with ggml-org llama.cpp master of 28/11/2026 (ec3dac264). This brings the recent llama.cpp server, DFlash/DSpark speculative decoding and the HIP improvements.
  4. The RDNA4/Windows work listed in What was changed, on branch nariq-hip of this repository (e003768ba, build 12914).

All the detail on https://github.com/Filters83/nariq-hip-rdna4

Hope can help 😄


r/llamacpp • • 1d ago

Text-to-Cypher on a 9B model keeps breaking on messy entity names. What do you do?

1 Upvotes
  • I'm working with a fully offline LLM setup using 2× NVIDIA A16 GPUs (~15 GB VRAM each), running Qwen 3.8 9B at Q8 through llama.cpp.

The task is translating natural-language questions into Cypher queries for a read-only Neo4j database.

I'm running into two recurring challenges:

1. Query generation reliability

The same question can produce different Cypher queries across runs. Most are syntactically correct, but occasionally the model introduces small errors, such as generating ]> instead of ]->, or dropping a digit from an identifier.

I've added an EXPLAIN-based validation step with one retry, which catches most issues, but some failures still slip through.

2. Inconsistent entity matching

The underlying data isn't always normalized. For example, the same vehicle plate might appear as ABC-123 in some records and ABC 123 in others. Place names have similar inconsistencies involving hyphens, spaces and formatting.

Exact matching therefore misses valid records.

There's also an intent-resolution problem: an unfamiliar identifier format can sometimes be interpreted as a continuation of the previous question rather than a new query.

3. Latency

End-to-end response latency is currently around 43 seconds at the median. The pipeline makes two sequential LLM calls per request, and this is becoming a significant bottleneck.

I'm also evaluating Gemma 4 E4B Q8 as an alternative.

I'd love to hear from people who have deployed smaller open-weight models for Text-to-Cypher or structured query generation in production.

A few things I'm particularly interested in:

  • How much reliability can you realistically get from validator-and-retry loops?
  • Do you use deterministic templates for common query patterns and reserve the LLM for more complex questions?
  • Is fine-tuning on domain-specific question-to-Cypher pairs worth the effort?
  • How do you handle entity normalization and identifier extraction without relying on the LLM?
  • Have you found effective ways to reduce sequential LLM calls without sacrificing accuracy?

I'm particularly interested in approaches that work fully offline, with limited GPU resources and smaller models.

Would appreciate insights from anyone who's tackled this in production.


r/llamacpp • • 2d ago

A 52 KB WebAssembly engine that runs Qwen3.5-2B in a browser tab

10 Upvotes

r/llamacpp • • 1d ago

Plenty of VRAM left, still spills to RAM

Thumbnail
reddit.com
1 Upvotes

r/llamacpp • • 2d ago

AMD-specific llama.cpp patch nearly doubles prefill/decode

Thumbnail devnull.land
1 Upvotes

r/llamacpp • • 2d ago

54% faster generation by removing the Linux OS and llama.cpp

Thumbnail reddit.com
0 Upvotes

r/llamacpp • • 2d ago

Help needed with llama.cpp's replies.

Thumbnail reddit.com
1 Upvotes

r/llamacpp • • 2d ago

Inkling 2 Mini (unsloth GGUF) still broken on mainline llama.cpp

Thumbnail
reddit.com
2 Upvotes

r/llamacpp • • 3d ago

A community RTX 4090 port of Astral Inference Server: 143.1 vs 74.7 tok/s decode against llama.cpp on one 4090

Thumbnail
github.com
1 Upvotes

r/llamacpp • • 3d ago

CVE-2026-137567: unauthenticated out-of-bounds write in llama.cpp GGML RPC

0 Upvotes

Based on the CVE record published by VulnCheck on November 26 and the upstream ggml-org/llama.cpp patch references, CVE-2026-137567 affects the GGML RPC server in llama.cpp.

The reported issue is an out-of-bounds write through RPC_CMD_COPY_TENSOR. The described sequence uses BUFFER_GET_BASE to obtain a buffer base, then submits a zero-element destination tensor with a pointer below that base. The impact described in the CVE record is a server crash or possible code execution.

The affected range is b11450 to before b12658. The CVE record lists b12658 as the fixed build and gives the issue a CVSS 4.0 score of 9.3.

The upstream change in PR #32651 centralizes validation of RPC client data. It includes tensor-size overflow checks and request-region validation.

For operators, I would check:

  • Whether ggml-rpc-server is running at all.
  • Whether it is bound to loopback or exposed on a routable interface.
  • Which clients can reach the RPC port.
  • Whether the deployment is running a build containing the upstream fix.
  • Whether the server runs under an account with access to more files or devices than it needs.

The upstream RPC server warns against exposing the service to an open network. The default listener is loopback on port 50052, although deployments can change both.

This is related at a broad architectural level to our earlier MCP STDIO RCE discussion, but the mechanics differ. MCP STDIO launches local subprocesses; this CVE targets tensor metadata and memory handling in GGML RPC.

Technical references:

TechGines background analysis: https://www.techgines.com/post/mcp-stdio-rce-vulnerability-anthropic-200000-servers

For teams running distributed inference, how are you isolating GGML RPC workers today: dedicated inference VLANs, host-level ACLs, VPN/mesh access, or a separate authenticated proxy layer?


r/llamacpp • • 3d ago

[Resources] FLYX: 1M context on a 16GB GPU + 32GB RAM, in a 57MB zero-dependency exe

Thumbnail gallery
2 Upvotes

r/llamacpp • • 3d ago

Ran PrismML's Ternary Bonsai 2.5 27B on a single 3090 against Qwen3.8 Q4_K_M to see if the speed is worth it.

Post image
2 Upvotes

r/llamacpp • • 4d ago

Inkling 2 Mini GGUFs, various sizes for Mac GPU (vision included)

Post image
3 Upvotes

r/llamacpp • • 4d ago

Inkling 2 Mini on one RX 9070 XT: SaloQT's rdna4-amd-infer vs llama.cpp (same model, same context, same benchmark)

15 Upvotes

If you have an RDNA4 card and want to run Thinking Machines' Inkling 2 Mini, look at SaloQT/rdna4-amd-infer. I ran it against llama.cpp on the same model file, the same context size and the same benchmark.

The project

  • SaloQT/rdna4-amd-infer by SaloQT is a C11 inference engine for RDNA4 (gfx1201).

    • It has 310 hand-written GPU kernels, 217 of them for Inkling 2, all fused with no register spills.
    • It includes DSpark speculative decoding, a 4-bit global KV cache, and a VRAM expert cache that fits the full 256K context on a 16 GB card.
    • It also has vision and an OpenAI-compatible server.
  • It's built on hanw/amd.c by Han Wang, a from-scratch C11 inference engine for the same GPU with a formally verified indexing/quantization core. SaloQT credits it clearly, and the base engine is largely kept as-is. SaloQT added the Windows port, the Inkling and Saluki kernels, and the model-specific features on top.
  • Licensing: neither repo has a license file yet, so treat both as personal use only.

Setup

  • Hardware: RX 9070 XT 16 GB (RDNA4, gfx1201), i9-14900K, 32 GB DDR5, PCIe 5.0, Arch Linux with ROCm.
  • Model: AtomicChat's Inkling-2-Mini IQ3_XXS GGUF for every engine (the ie engine and my fork read a layout-converted copy of the same weights).
  • Context: 256K for every engine, each with its own memory layout for that size. The llama.cpp builds keep the experts of 9 outer blocks in system RAM; my fork adds a hot-expert VRAM cache. rdna4-amd-infer keeps all 12 outer blocks' experts in RAM behind a 64-slot VRAM cache per block.
  • Benchmark: the same script for every engine, greedy:

    • three short prompts (code, edit, prose), up to 512 tokens each, twice;
    • a 14K-token prompt, twice;
    • a 56K-token prompt.
  • Speeds: each server's own timings.
  • Safety: total VRAM capped at 15.8 GB, desktop included.

Engines

EngineBuildSpeculative decoding
llama.cppggml-org master 87f816en-gram only (master can't load any Inkling drafter)
llama.cpp + DSpark PRmaster + PR #32218 (e4b1cb5)DSpark (depth 5) + n-gram
My forkUnsloth's llama.cpp fork + 37 Inkling patches (fused kernels, banded flash attention, expert cache)DSpark + n-gram
rdna4-amd-inferSaloQT 90c7d21DSpark, 7 drafts

Stock llama.cpp needs ubatch 32 at 256K, because its Inkling attention reserves a 12.9 GB buffer at 512.

Results (IQ3_XXS, 256K context)

EngineCode / edit / prose14K prompt read, then decode56K prompt read, then decodePeak VRAM
llama.cpp23 / 22 / 23 tok/s181 tok/s, then 44146 tok/s, then 2314.6 GB
llama.cpp + DSpark PR31 / 26 / 17out of VRAM*—15.8 GB
My fork89 / 88 / 601,726, then 1061,512, then 7214.8 GB
rdna4-amd-infer146 / 153 / 1083,084, then 1342,997, then 10412.8 GB

*The PR's DSpark drafter needs extra VRAM; at this placement it went over the 15.8 GB cap during the 14K prompt.

The decode after the 14K prompt is higher than on the short prompts for the llama.cpp builds because the summary repeats text from the prompt, which n-gram drafting picks up.

Against stock llama.cpp, rdna4-amd-infer is 5–7× faster on short chats, 17–21× faster at reading long prompts, and 4.6× faster decoding after a 56K prompt, while using less VRAM.

Notes

  • The engine reads only specific quants: IQ3_XXS experts with IQ4_NL down projections. Q4_K_M and similar files still need llama.cpp.
  • SaloQT targets Windows, but it builds and runs fine on Linux with the system ROCm. Image decoding is Windows-only (WIC) out of the box.
  • One machine, greedy benchmarks, ±5–10% noise because the desktop shares the GPU.

If you have an RX 9070 / 9070 XT, try it, and give SaloQT's repo and Han Wang's amd.c a star.


r/llamacpp • • 4d ago

We gave Qwen3.5 9B and Qwen3.6 35B A3B 12 everyday file jobs on a 12 GB GPU: 35/36 and 36/36

Post image
3 Upvotes

r/llamacpp • • 4d ago

a fast flash attention 2 kernel for volta, for FP16 keys and Q8_0 values in the KV cache. performance gains in both prefill and substantially in decode - benchmarks included with integration instructions for drop in integration with your engine

Thumbnail github.com
1 Upvotes

reposting here! it's a native llama implementation


r/llamacpp • • 4d ago

3x speedup of DFlash2 for Inkling2m on llama.cpp (50 -> 150 on code tps)

Thumbnail
github.com
1 Upvotes