Skip to content

llamAmpere v0.8

Choose a tag to compare

@JakeATX JakeATX released this 03 Dec 00:57
· 3 commits to main since this release

llamAmpere v0.8

Faster Inkling 2 Mini on 8, 10 and 12 GB cards, a near-lossless two-card tensor split for Qwen3.8 27B with an exact
mode, opt-in looped models, and a catch-up with upstream llama.cpp. Linux and Windows builds, image input as before.

Speed

Check Card, power limit, memory cap Model, preset Before v0.8 Change
Decode vs v0.7.5.1 RTX 3090 Ti 350 W, 11,264 MiB Inkling 2 Mini, 12ink, each release's 12 GB file (0.8 candidate d267e65) 61.34 66.91 +9.1% (6/6)
Prompt reading vs v0.7.5.1 same same +90.7% (6/6)
Decode, page-locked experts off / on RTX 3090 Ti 350 W, 8,192 MiB Inkling 2 Mini, 8ink 55.64 69.75 +25.4% (6/6)
Decode, page-locked experts off / on rented RTX 3090 300 W, 11,264 MiB Inkling 2 Mini, 12ink 62.17 73.23 +17.8% (5 valid runs per arm)
Decode, page-locked experts off / on RTX 3090 Ti 350 W, 10,240 MiB Inkling 2 Mini, 10ink 75.67 86.05 +13.7% (6/6)
Decode vs v0.7.5.1 (0.8 candidate 1bff50f) RTX 3090 Ti 350 W Inkling 2 Mini + drafter, 24ink 157.45 171.39 +8.9% (6/6)
Decode vs v0.7.5.1 (0.8 candidate 1bff50f) RTX 3090 Ti 350 W Qwen3.8 27B + MTP, 24dense 100.47 102.92 +2.4% (4/6)
Final build vs v0.7.5.3, same file RTX 3090 Ti 350 W Inkling 2 Mini + drafter, 24ink, 17.56 GB file 174.72 184.66 +5.7% (6/6)
Final build vs v0.7.5.3, each release's 24 GB file RTX 3090 Ti 350 W Inkling 2 Mini + drafter, 24ink (old 4.4 bpw file vs new 14.33 GB file) 182.72 200.36 +9.7% (6/6)
Final build vs v0.7.5.3 RTX 3090 Ti 350 W Qwen3.8 27B + MTP, 24dense 115.58 121.13 +4.8% (4/5 valid; time per draft round -6.7%, 6/6)

Tokens per second at ~100K-token prompts. Chat template, temperature 1, replies of 5,120 tokens or more, agentic,
coding and document Q&A chats, 6 runs per arm in A-B-B-A order on one card. Each row is its own A/B on one host; rows
on different hosts are not comparable with each other and were not added up. Small-card rows: drafter off (the preset
default), x16 PCIe link. Page-locked experts need Linux and free RAM for the experts plus max(4 GiB, 10%). The 24 GB rows
use newer prompts written after the drafters' training cutoff, so they read lower than earlier releases' tables. The
final build was checked against the build before its last fixes: same tokens on the 8 measured presets and the same
24 GB speed (within 0.5%, 3 runs per arm).

New

  • Small cards faster. Inkling 2 Mini experts sit in page-locked host RAM and upload straight to the card on 8ink,
    10ink and 12ink (Linux; LLAMA_PINHOST=0 turns it off). 12ink has a new 12 GB file and reads prompts in one
    large batch per pass (LLAMA_INK_B1=0 -b 4096 turns it off). The v0.8 12 GB file needs v0.8.
  • Two-card tensor split (--split-mode tensor), Qwen3.8 27B: KLD 0.000445 against one card (near-lossless; rounding
    in the cross-card sums). LLAMA_SM_TENSOR_EXACT=1 matches one card (KLD 0.000000) at 7 to 14% slower decode at a 100K
    prompt and 27% slower prompt reading (2x RTX 3090, 300 W). Off by default.
  • Looped models, opt-in. Qwen3.8 27B looped-core files run their core layers several times (LLAMA_LOOP_PASSES; 1 =
    the stock model, same tokens; loop design by Jason Titus). Flash-Next takes a looped-core adapter
    (LLAMA_LOOP_ADAPTER=adapter.gguf), ported from alesha-pro's looped-qwen4exp (MIT,
    adapter).
  • New 16dense preset: Qwen3.8 27B on 16 GB cards with the whole KV cache on the card (262,144 context headless).
  • Blackwell (RTX 50-series), best-effort, source build only: the CUDA backend builds with CUDA 13.4 for 120a-real (#145). We have no
    Blackwell card: untuned and not run on a GPU by us. The release binaries are built for RTX 30-series (sm_86).

Fixed

  • Two cards with --split-mode layer: a separate MTP drafter (for example Gemma 4's) was split across both cards, so
    every draft step waited on the other card. It now sits whole on the card with the model's last layer
    (LLAMA_MTP_DRAFT_PIN=0 restores the old placement).
  • Qwen3.8 27B keeps its pinned host buffer between requests: follow-up turns about 0.2 s faster than v0.7.5.2
    (1,360 -> 1,148 ms; RTX 3090 Ti 350 W, 24dense, 3K-token chats; GGML_CUDA_HOST_REUSE=0 turns the reuse off).
  • 8 GB Qwen3.8 27B at 200K context peaks at about 7.8 GB of VRAM; headless 8 GB cards need about 100 MiB free beyond
    the desktop's share.
  • Looped Inkling files with --cpu-moe --op-offload reused stale experts on later loop visits (the shipped presets do
    not use that path).
  • The server closes a thinking block that repeats one token 256 times (LLAMA_SERVER_THINK_LOOP_CLOSE).
  • Caught up with upstream llama.cpp (12-02).

Checks

  • Same tokens as the build before the last fixes on 24dense, 12dense, 10dense, 8dense, 24ink, 12ink, 10ink
    and 8ink (300- and 3,000-token prompts, greedy, RTX 3090 300 W), and on two-card 24dense with tensor split.
  • Images with --mmproj: Inkling 2 Mini (24ink) and Gemma 4 31B answered correctly on this build.
  • Windows built by CI (CUDA 12.4, sm_86).

Downloads

Linux: llamampere-v0.8-linux-x86_64-cuda12-server.tar. Ubuntu 22.04 or newer (glibc 2.35+), NVIDIA driver for
CUDA 12.4 or newer (R550+), no CUDA toolkit needed, RTX 30-series (sm_86).

Windows: llamampere-v0.8-windows-x86_64-cuda12-server.zip, built by CI (CUDA 12.4, sm_86, driver R550+).

Docker: ghcr.io/jakeatx/llamampere:server-cuda12-v0.8 (Linux, built from the release commit; needs the NVIDIA Container Toolkit; see docs/SETUP.md).

Models: unchanged except the new 12 GB Inkling 2 Mini file, Inkling-2-Mini-ATX-12GB-4.1bpw.gguf
(13.47 GB, needs v0.8). The v0.7.5 12 GB file (4.2 bpw) still works with --preset 12ink.