Skip to content

TurboQuant b10298-2.0.0

Choose a tag to compare

@github-actions github-actions released this 05 Oct 20:44
cda0f92

TurboQuant b10298-2.0.0

Added

  • New TurboQuant+ base: tqp-v0.4.0 (TheTom's fork as of 2026-09-28; our
    work was rebased onto it). What it brings:
    • MoE expert cache (--moe-cache, see docs/backend/MOE-CACHE.md): faster
      decode for MoE models whose experts stay in host memory. CUDA/HIP, Metal and
      Vulkan; anything it cannot handle falls back to the CPU path.
    • KV streaming (--kv-stream-arena-mib, --kv-stream-stage-mib, see
      docs/kv-stream.md).
    • ConvRot weight types Q8_CR, Q5_CR, Q6_CR in llama-quantize.
    • TurboQuant K/V (turbo2/turbo3/turbo4) flash attention on Vulkan.
    • Faster TQ4_1S/TQ3_1S on AMD (RDNA and CDNA MMQ), HIP graph capture, and many
      CUDA/HIP/Vulkan/SYCL fixes.
    • New architectures: Qwen4-Exp, Muse Glimmer; DFlash2 speculative decoding.
  • Community Laya fine-tunes load with -m <dir>. Both converters (C++ and
    convert_hf_to_gguf.py) now ignore a root config.json next to
    rl_agent_config.json + encoder/config.json and a
    tokenizer/special_tokens_map.json that only restates tokenizer_config.json;
    until now both files made the conversion fail (Python mapped the checkpoint as a
    plain ModernBERT). This opens fine-tunes such as cklxx/laya-browser,
    Wouze/laya-ara-rag, impacte/mimir-laya-router or gtm-k/*. The output is
    the same as for the directory without those files. Their accuracy is the
    fine-tune author's; only the official checkpoints are measured in DECISION.md.
  • Hints for Laya repackagings this engine cannot load: ggmlc GGUFs
    (mys/laya-*-GGUF), encoder-only modern-bert GGUFs with a separate head
    (Weidows/*, fr0stbit3/*, with --decision) and laya-head files now fail
    with a pointer to the official checkpoint and --decision -m <dir>.
  • Cloudflare Clef decision models (Cloudflare/clef, Cloudflare/clef-flash)
    in llama-server --decision (layout clef, see "Clef" in DECISION.md). The
    GGUF is the upstream one: ggml-org/Clef-Flash-GGUF / ggml-org/Clef-GGUF load
    as they are, and convert_hf_to_gguf.py converts the Hugging Face repo. All
    questions of a request go in one prompt and one forward pass (the joint schema
    head), on the CPU or one GPU (--decision-device gpu); -c sets the longest
    prompt (default 16384 tokens). Requests follow the reference: instructions
    are optional, the confidence is the probability of the chosen option. Text
    only for now (no images).

Notes

  • Context shift / --cache-reuse with a quantized K cache: q8_0, q4_0
    and the other ggml types no longer crash and now shift correctly. With
    turbo2/turbo3/turbo4 K the shift is still skipped, as in earlier
    releases: no crash, but output quality drops after the context shifts. Size
    -c so it does not shift, or use a ggml type for -ctk when you need it.
  • On Vulkan devices without int64/int8/fp16 shader arithmetic or 8-bit storage
    (older iGPUs, some legacy AMD) the MoE cache turns itself off and the normal
    expert path runs.
  • Windows signing scope: release archives Authenticode-sign what Atomic Chat
    runs, llama-server.exe and the DLLs it loads (llama*.dll, mtmd.dll,
    ggml*.dll, the bundled CUDA runtime). The other tools in the archive
    (llama-cli, llama-bench, llama-quantize, ...) are no longer signed, so
    SmartScreen may warn when you start one by hand. dev-latest builds are
    unsigned unless a run asks for signing.

Changed

  • Supported platforms are unchanged: same CUDA 12.4 / 13.3, ROCm 7.2.1 /
    TheRock 10.0.0, Vulkan SDK and GPU architecture lists as b10269-1.7.0.
    Released GGUFs (TQ3_1S/TQ4_1S, NVFP4, Kimi K3, BailingMoeV3, Inkling, laya)
    load as before.
  • Q2_0 type id is now 42, the same as upstream llama.cpp, so upstream Q2_0
    GGUFs load. The fork used 47 before; a Q2_0 GGUF made by an older fork build
    does not load.
  • Breaking: --slot-save-path / state files saved with a turbo KV cache by an
    older build do not load (the turbo type ids moved). RPC client and server must
    run the same build.
  • Breaking (upstream): llama-tts now runs Qwen3-TTS through mtmd; the
    OuteTTS vocoder flags (--model-vocoder/-mv, --hf-repo-v, --hf-file-v,
    --tts-oute-default, --tts-use-guide-tokens) are gone.
  • Gemma 4 with --cache-reuse: cache reuse is off again unless
    --swa-full is set (upstream keeps the SWA cache size check for
    correctness). Add --swa-full to get the fast time-to-first-token back.
  • Model suppress tokens are applied by the sampler instead of the Gemma 4 graph;
    sampled output is the same, raw logits from the C API no longer carry -inf
    for them.
  • --spec-type mtp / nextn and --mtp-head keep working (aliases of
    draft-mtp and --spec-draft-model).

Downloads

Backend Asset
Linux x64 CPU only llama-turboquant-linux-x64-cpu.tar.gz
Linux x64 Vulkan (+ portable CPU) llama-turboquant-linux-x64-vulkan.tar.gz
Linux x64 CUDA 12.4, older drivers (+ portable CPU) llama-turboquant-linux-x64-cuda-12.4.tar.gz
Linux x64 CUDA 13.3 (+ portable CPU) llama-turboquant-linux-x64-cuda-13.3.tar.gz
Linux arm64 CUDA 13.3, DGX Spark / GB10 (+ portable CPU) llama-turboquant-linux-arm64-cuda-13.3.tar.gz
Linux x64 AMD ROCm, RDNA2-RDNA4 (+ portable CPU) llama-turboquant-linux-x64-rocm.tar.gz
Windows x64 CPU llama-turboquant-windows-x64-cpu.zip
Windows x64 Vulkan llama-turboquant-windows-x64-vulkan.zip
Windows x64 CUDA 12.4 llama-turboquant-windows-x64-cuda-12.4.zip
Windows x64 CUDA 13.3 llama-turboquant-windows-x64-cuda-13.3.zip
Windows x64 AMD ROCm, RDNA2-RDNA4 + Ryzen AI (HIP runtime and rocBLAS bundled) llama-turboquant-windows-x64-rocm.zip
macOS ARM64 (Metal, signed + notarized) llama-turboquant-macos-arm64.zip

The Linux AMD ROCm archive targets RDNA2 through RDNA4 (gfx1030/1100/1101/1102/1103/1150/1151/1200/1201) and CDNA (gfx90a, gfx942, gfx950 -- Instinct MI200/MI300/MI350) in a single archive, and needs the ROCm runtime installed on the system. The Windows AMD ROCm archive covers the same RDNA targets, bundles the HIP runtime and rocBLAS, and only needs a current Adrenalin driver. Older GCN cards: use the Vulkan build.

The Linux arm64 CUDA archive is built for NVIDIA DGX Spark (GB10, sm_121); other arm64 NVIDIA machines (GH200, GB200, Thor) run it too but JIT the kernels from PTX on first launch.

All commits since b10269-1.7.0
  • release: b10298-2.0.0
  • fix(clef): include for std::find (GCC on arm64)
  • docs: Clef in DECISION.md and CHANGELOG
  • ci: clef tests in decision-tests
  • test(clef): prompt golden vs encode_record, tiny Clef GGUF, server tests, parity tools
  • feat(decision): clef engine in llama-server --decision
  • feat(clef): backport upstream clef model (arch, graph, converter), no logits buffer, output get_rows on CPU
  • ci : save ccache only from pushes to dev
  • docs : note the quantized K context shift fix and the turbo limitation
  • kv-cache : fix context shift with quantized K caches
  • docs : record the tqp-v0.4.0 rebase decisions
  • docs : changelog and TURBOQUANT.md for the tqp-v0.4.0 rebase
  • ci : compile the PTX-only CUDA archs as real SASS
  • quantize : limit the ssm_alpha/ssm_beta exclusion to qwen4exp
  • metal: implement DSv4 Lightning Indexer (ggml-org#25893)
  • vulkan : check device features before creating moe cache pipelines
  • vendor : keep BoringSSL 0.20260803.0
  • cuda : gate TQ WMMA prefill on the compiled arch
  • docs : keep the fork README
  • ci : keep the fork workflow set
  • scripts : carry AtomicChat Qwen UDT quantization and bench tooling
  • scripts : carry Gemma 4 MTP and Qwen NextN helpers
  • docs : carry Gemma 4 MTP and Qwen NextN guides
  • 🔧 fix(src): clear error for pre-b10018 gemma4_assistant GGUFs
  • 🔧 fix(common): accept mtp/nextn spec-type aliases and --mtp-head again
  • test(laya): separator-safe build-root check in parity identity (Windows)
  • docs: GPU backend in DECISION.md and CHANGELOG
  • scripts: device bench and report
  • test(decision): backend parity/precision tests, server tests, Windows RST-safe 404 check, CI ctest -L laya
  • feat(decision): --decision-device/--decision-precision in the engine, server and bench
  • feat(laya): GPU backend (Metal/CUDA/Vulkan), precision, placement and plan
  • test(laya): parity tooling, tiers v2 and the Phase 4b gate summary
  • fix(decision): drain the log before exit; byte-exact spec on Windows
  • docs: converter and checkpoint directories
  • ci: build and test the converter
  • decision: -m with a GGUF cache
  • laya-convert: C++ HF checkpoint to GGUF converter, CLI and tests
  • improve(laya): CPU speed, english Laya, Windows-fixes C++, tools for router, docs
  • improve(tests): cp1251 supp
  • fix(tests): no 128-bit int MSVC
  • feat: llama-server --decision, документация, CI
  • feat: added laya and decision tools libs. also tests
  • improve: conventor hook backport
  • models : fix GDN normalization from max to rsqrt
  • 🔒 ci(windows-rocm): sign the whole HIP payload, add the 1.6.0 changelog
  • 🔨 feat(ci): finalize the windows-x64-rocm job from the scratch runs
  • 🚧 ci(scratch): fix $d: parse error in the layout step
  • 🚧 ci(scratch): bundle the ROCm import closure of ggml-hip.dll
  • 🚧 ci(scratch): pass --offload-compress via CXX flags, list ROCm kernel stores
  • 🚧 ci(scratch): trigger on push to the feature branch
  • 🚧 ci(scratch): windows-x64-rocm iteration workflow with ROCm layout diagnostics
  • 🔨 feat(ci): windows-x64-rocm archive + AMD bench plan
  • 📝 docs(changelog): add the b10269-1.5.1 section
  • release: b10269-1.5.1
  • bailingmoe3: apply trained SwiGLU clamps (expert_swiglu_limit_list)
  • release: b10269-1.5.0
  • 📝 docs(release): generate release notes from CHANGELOG.md
  • 🐛 fix(ci): keep the windows job names off the required-check list
  • ⚡ perf(ci): cut CUDA build time and archive size
  • 🔨 feat(ci): linux-arm64 CUDA 13.3 build for DGX Spark
  • 🔧 fix(tests): skip BailingMoeV3 in the synthetic arch fixture
  • 🔧 fix(model): reuse the shared KDA gate lower bound key
  • 🔧 fix(model): use the safe-gate form for the BailingMoeV3 KDA decay
  • 🔨 feat(model): add BailingMoeV3 (Ling 3.0) support
  • release: b10269-1.4.0
  • ♻️ chore(version): move the upstream base to b10269
  • 🔨 feat(ci): ship CDNA alongside RDNA in one ROCm archive
  • 🔧 fix(tests): skip kimi-k3 in test-llama-archs until its fixture exists
  • ci : sign Windows release binaries with DigiCert KeyLocker
  • fix(kimi-k3): label the 93-layer config A104B, not A50B
  • fix(mtmd): enable --chat-template-file for llama-mtmd-cli
  • feat(kimi-k3): embed reference chat template when the checkpoint ships none
  • chat : add message_delimiters for Kimi K3
  • chat : add Kimi K3 chat format (reasoning, content, typed tool calls)
  • fix(kimi-k3): map mm_projector.post_norm; restore config eos_token_id
  • fix(kimi-k3): register KimiK3ForConditionalGeneration in MMPROJ_MODEL_MAP
  • kimi-k3 : fixes for loading and running the full-size model
  • kimi-k3 : add the MoonViT-3d vision tower (image path)
  • feat(kimi-k3): Kimi K3 support: MXFP4 to BF16 conversion and inference graph
  • release: b10018-1.3.0
  • 🔧 ci(cuda): drop sm_120 from the CUDA 12.4 job (nvcc can't target Blackwell)
  • 🔨 ci(release): add linux CPU + CUDA 12.4, trim CUDA to consumer SASS
  • 🔧 ci(rocm): lean ROCm archive — stop bundling the multi-GB Tensile DB
  • release: b10018-1.2.0
  • 🔧 ci(release): publish resiliently — a failed backend no longer blocks the release
  • 🔨 ci(rocm): ship the linux-x64-rocm archive in stable releases too
  • 🔨 ci(rocm): build a linux-x64-rocm (HIP) backend archive
  • release: b10018-1.1.2
  • 🔧 fix(ggml): raise sched split-input limit for per-layer-input models
  • release: b10018-1.1.1
  • release: b10018-1.1.0
  • smoke: fix CUDA device assert and tg128 column
  • ci: GPU smoke test of released backends on rented vast.ai boxes
  • ci: job IDs cannot contain dots -- rename to linux-x64-cuda-13-3, keep dotted display name
  • ci: add linux-x64-cuda-13.3 build to dev and release pipelines
  • quantize: expose NVFP4 as a quantization target; ship llama-quantize in archives
  • ci: always report required checks on pull requests
  • ci: drop inherited linter workflows
  • ci: move linters from upstream self-hosted runners to ubuntu-latest
  • ci: remove inherited upstream workflows that serve no purpose in the fork
  • ci: fetch full history in build workflows
  • version: switch to - format, English release notes
  • version: keep llama_build_info() in upstream b- format
  • docs: add TURBOQUANT.md — branch model, dev channel, releases, upstream sync
  • vulkan: fix missing brace in SET_ROWS supports_op merge artifact
  • version: introduce turboquant semver + single-release pipeline
  • ci: add dev-build workflow — all platforms, rolling dev-latest prerelease
  • docs : add MERGE_NOTES.md for the pr-inkling merge
  • Add TML Inkling architecture
  • fix: update artifact compression path in Windows CI workflow
  • ci: drop upstream build-cann.yml (empty jobs -> startup_failure)
  • build: add Windows x64 release CI + post-merge fixes
  • Add GitHub Actions workflow for building and releasing TurboQuant with Vulkan support
  • fix: add entitlements.plist for hardened runtime code signing
  • ci: add macOS ARM64 build workflow with notarization
  • laya: community checkpoints, foreign GGUF hints; ci: sign only the runtime
  • vulkan: synchronize MoE cache queue submissions
  • ci: skip MoE cache integration on llvmpipe
  • cuda: avoid write-combined mapped KV storage
  • vulkan: decode turbo2/turbo4 K/V in the coopmat2 flash attention path
  • vulkan: decode turbo3 K/V in the coopmat2 flash attention path
  • vulkan: fix turbo3 codebook to match C/CUDA/Metal/SYCL reference
  • tests: expect F16 kv-stream attention in default CUDA builds
  • cuda: try the bias form of the mul_mat + scale fusion first
  • cuda: define nvfp4_native_scale_error only where it is called
  • ci: build CUDA on a CUDA 13 toolkit for sm_75 and sm_89
  • cuda: count mul_mat_bias only when the scale fusion carries a bias
  • kv-stream: surface the operational limitations up front
  • docs/kv-stream: document MTP interaction, with measurements
  • fix qwen4exp draft-only shared weights
  • kv-stream: warn when the F16 fallback is active, and document its real cost
  • kv-stream: allow seq_rm, so the server and CLI can run with an arena
  • cuda: let SET_ROWS take its row index from pinned host memory
  • cuda: make the mul_mat bias, residual and GLU epilogue fusions observable
  • kv-stream: delete the superseded planner, unify the resident-cache mutators
  • vulkan: hoist dequantize4 loads for turbo2/3/4 KV dequant
  • cuda: guard D=512 VEC instances with GGML_USE_HIP (fix ptxas smem overflow)
  • vulkan: add generic dequant path for turbo2_0/turbo4_0
  • moe-cache: explain expert threshold rejection
  • sycl: dequantize strided TurboQuant KV safely
  • spec : add DFlash2 support (local convolution + candidate selector) (ggml-org#27342)
  • hip: add D=512 VEC flash attention decode
  • hip: reject uncompiled large-head FA tile kernels
  • cuda: fix FA long-context OOM with compute-buffer f16 KV temp
  • test: limit reasoning effort caps to bundled templates
  • ci: link Windows release against BoringSSL
  • chat : pass reasoning_effort to template
  • docs: warn about attention-sink KV sensitivity
  • cuda: release MoE paging allocations safely
  • cuda: fix stale RDNA4 narrow-band comment
  • test-backend-ops: clean up zero-case failure reporting
  • test-backend-ops : reject 0/0 as FAIL
  • cuda: turn expert paging off on MUSA explicitly, and say why
  • cuda: fix the CUDA and MUSA builds
  • cuda: give RDNA4 its own narrow band
  • cuda: populate the narrow bands from a bisect instead of guesses
  • cuda: make the narrow-weight test a band, per architecture and per type
  • cuda: make the narrow-weight threshold per-architecture, and cover F16
  • kv-stream: address remaining PR feedback (mixed types, tests, seq ops, vector allocs)
  • qwen4exp: set an 8-bit floor on the hyper-connection injection matrices
  • cuda: expert paging with a direct-mapped residency cache
  • cuda: cache the MoE expert address table per tensor
  • cuda: route TQ MoE expert addresses through an optional table
  • speculative-simple: drive the draft through common_speculative_process
  • qwen4exp: let a draft-only MTP export use its own output mixer
  • quantize: keep qwen4exp's structural tensors out of the quantizer
  • common: offer the device pinned host buffer to --override-tensor
  • cuda: keep the vector kernel for narrow F32 and BF16 weights on AMD
  • tests: fix Windows-only test-arg-parser failure in kv-stream-arena-mib test
  • benchmarks: replace committed PR chart PNGs with full data tables
  • docs/kv-stream: document that streamed output isn't bit-identical
  • docs/kv-stream: note that streaming acceleration requires head_dim 256
  • kv-cache: refuse state save/load while block KV streaming is active
  • kv-stream: refuse construction when the arena leaves no room for the streamed attention kernel's transient workspace
  • benchmarks: label the kv-stream sweep x-axis in decimal K, not binary Ki
  • cuda: drop the UVM memory-placement-hint knobs, unrelated to kv-streaming
  • kv-cache: remove DSV4's unreachable kv-stream override plumbing
  • build: move llama-kv-stream-softmax out of libllama into tests/
  • llama.h: move kv_stream_arena_mib to the end of llama_context_params
  • cuda: guard the zero-normalizer divide in kv_stream_normalize_chunk_results
  • cuda,kv-cache: restore assert strictness dropped by kv-stream's changes
  • cuda: remove two always-on kv-stream costs from the flag-off path
  • docs/kv-stream: document that streamed direct_attention needs FA_ALL_QUANTS
  • tests: fix kv-stream mechanics tests' q8_0/q4_0 default pair on default builds
  • tests: fix kv-stream CUDA tests for default builds and GPU-less runners
  • kv-stream: refuse streaming when TURBO_LAYER_ADAPTIVE gives layers mixed KV types
  • tests: fix Windows shared-lib link failure for kv-stream unit tests
  • kv-cache: fix narrowing conversion breaking strict-narrowing compilers
  • cuda: fix remaining HIP/MUSA breaks from kv-stream's own code
  • cuda: also map cudaHostAlloc itself for HIP/MUSA
  • cuda: map cudaEventQuery/ElapsedTime/ErrorNotReady/HostAlloc* for HIP/MUSA
  • benchmarks: attach the KLD/PPL and OOM-backtrace evidence logs
  • benchmarks: attach kv-stream PR evidence (charts, raw results, KLD logs)
  • benchmarks: add VRAM/RAM-vs-context sweep with a no-streaming baseline
  • benchmarks/kv-stream: tolerate speculative decoding's chunked verification
  • docs/kv-stream: note the MTP verification-batch phase-classification gap
  • kv-stream: skip phase arena construction in no_alloc contexts
  • kv-stream: don't touch benchmarks/README.md, docs/kv-stream.md stands alone
  • kv-stream: add top-level usage documentation
  • kv-stream: add CLI regression tests for --kv-stream-arena-mib
  • kv-stream: explicitly reject --swa-full, which silently conflicts with streaming
  • kv-stream: skip SWA layers in the iSWA bootstrap pre-scan's geometry check
  • kv-stream: attempt DSV4 support, find and revert a geometry bug that wasn't the cause, keep it excluded
  • kv-stream: extend streaming support to iSWA (dual full+SWA cache)
  • kv-stream: generalize streaming-target discovery off dynamic_cast, fix dormant decode-phase switch
  • kv-stream: fix K-only page geometry double-counting a V region
  • kv-stream: wire turbo2/3/4 into the native direct_attention path
  • kv-stream: exclude SWA architectures from streaming to prevent a crash
  • kv-stream: extend block KV streaming to turbo2/3/4 K/V types
  • kv-stream: port the Python benchmark suite
  • kv-stream: port the standalone CUDA transfer benchmark tool, wire remaining tests
  • kv-stream: fix two source bugs only visible off the source's one validated config
  • kv-stream: add --kv-stream-arena-mib CLI flag, bypass -fit when set
  • kv-stream: wire the phase arena into llama_context/llama_kv_cache construction
  • kv-stream: port CUDA phase-arena runtime, attention kernels, and set-rows staging
  • kv-stream: port backend-agnostic planning/config/softmax layer
  • cuda: fall back when TQ MMQ has no arch config
  • cuda: fix MSVC duplicate-COMDAT link failure from twice-nested retired_buf
  • kv-cache: resolve TURBO_LAYER_ADAPTIVE mode per cache construction
  • perplexity: respect explicit -np instead of silently overriding it
  • cuda: cast the WHT fast-path grid dim to int like the neighbouring launches
  • test-backend-ops: address the second review round on the fusion guards
  • common: describe what --cache-ram -1 now means in the help text
  • fix: roll the conv state back under gdn_replay
  • fix: consume replay_len and check it when reusing hybrid graph inputs
  • turbo-wht: add warp-local float4 kernel for 128-element groups
  • turbo-wht: pack the 128-element WHT sign arrays into bit masks
  • server: bound the 'unlimited' prompt cache by free host memory and log its size
  • cuda: fix stale comment on the fused turbo MMA gate
  • memory: skip V-cache allocation for the qwen4exp indexer KV cache
  • cuda: fusion hit counters, test guards and the follow-ups from the TheTom#343 review
  • cuda: fix self-recursive static initializer in ggml_cuda_tq_mmq_enabled()
  • cuda: fix self-recursive static initializer in ggml_cuda_tq_mmq_enabled()
  • cuda: take the persistent q8 and TQ pre-rotation cache buffers from device memory, not the pool
  • cuda: free held cache buffers newest-first at context teardown
  • test: cover the multi-node CUDA fusions in test-backend-ops
  • perf(cuda): elementwise chain fusion (midi-kernel)
  • perf(cuda): per-graph-eval shared-quantize cache for mmvq
  • spec: correct the DFlash image-skip comment, simplify its condition
  • cuda: retire outgrown TQ pre-rotation buffers instead of freeing them
  • spec: keep the DFlash drafter working after an image in the prompt
  • cuda: drop unused n_blocks_total in ggml_cuda_mul_mat_id_tq
  • fix follow-up items to match what review actually asked for
  • address PR TheTom#340 review follow-ups: assert, buffer-check, comments
  • tests: cover turbo2/3/4 K/V at hsk=256 with nb<=4 and GQA in FLASH_ATTN_EXT
  • perf(cuda): lanes-per-row mapping for the TQ4_1S MoE decode matvec
  • cuda: guard __builtin_amdgcn_perm in the TQ4 centroid decode for nvcc and MUSA
  • perf(cuda): decode TQ4 centroids with v_perm_b32 instead of shift arithmetic
  • perf(cuda): cache the TQ activation pre-rotation across MoE projections
  • perf(cuda): enable the int8 dp4a decode path on CDNA
  • cuda: read GGML_TQ_MMQ once instead of on every mul_mat
  • cuda: fix turbo K/V swizzle write/read mismatch in flash-attn tile loaders
  • ci: sync the HIP VGPR-spill ignore list with upstream and cover the turbo3 vector FA kernel
  • cuda: guard __builtin_amdgcn_perm in the TQ4_1S tile loader for nvcc and MUSA
  • CUDA: key captured graphs by shape, not first-node address
  • fix: qwen4exp trunk double-gathered output rows, crashing MTP targets
  • fix: export qwen4exp MTP's t_h_nextn before the inp_out_ids gather
  • fix: qwen4exp MTP head should reuse the trunk's shared hc_head mixer
  • fix: don't reuse the Gemma4-assistant same-position draft path for real NextN heads
  • fix: cast F16 norm weights to F32 before CUDA broadcast-mul
  • qwen4exp: add NextN/MTP draft head (--spec-type draft-mtp)
  • CUDA + ggml: add sparse-fa for DSV4/GLM
  • test: make the FA V-is-view-of-K case a test case parameter
  • CUDA: XOR swizzle flash attn K,V smem fp16 tiles
  • qwen4exp: catch up to upstream through 36b1015
  • cuda: fix TQ WMMA build on Pascal sm_61 multi-arch
  • test: cover TurboQuant MUL_MAT_ID at real MoE model shapes
  • fix(cuda): check mmvf applies before the AMD MUL_MAT_ID shortcut
  • fix(cuda): give the TQ4_1S tile loader a dp4a layout
  • feat(cuda): enable TQ4_1S MMQ prefill on RDNA3
  • feat(cuda): native TQ4_1S MMQ prefill on CDNA
  • examples: validate packed TurboAnchorKV storage
  • examples: skip TurboAnchorKV on Windows
  • examples: add TurboAnchorKV evaluation harness
  • ci: stop disabled CANN workflow reporting failures
  • metal: enable GDN ingredient replay
  • fix: route lightning indexer in meta backend
  • ggml/vulkan: port gated_delta_net emit_mode=1, verified on real hardware
  • ggml/metal: port gated_delta_net emit_mode=1, gated off pending hw verify
  • ggml,llama: replay rollback with one batched call instead of a chain
  • llama,common: add --gdn-replay CLI flag, replacing raw env-var-only gate
  • ggml,llama: fix two real perf regressions in gdn_replay's emit_mode=1
  • llama: wire ingredient-replay into MTP recurrent-state rollback (opt-in)
  • ggml: add gated_delta_net emit_mode=1 (ingredient replay) for CPU+CUDA
  • cuda: harden turbo KV / WHT intra-warp reductions with explicit width
  • cuda: fix wave64 turbo-V softmax-weight broadcast in flash-attn vec
  • cuda: fix wave64 turbo KV-cache writes in set-rows
  • cuda: fix wave64 shuffle width in ConvRot CR mat-vec
  • cuda: address TheTom#322 review — bounds-guard MoE devsort expert index
  • moe-cache: adaptive cpu-overlap calibration to replace fixed byte budget
  • fix: complete meta state handling for deepseek4
  • fix: split deepseek4 grouped outputs consistently
  • fix: propagate deepseek4 meta splits
  • fix: mirror unsplittable deepseek4 outputs
  • fix: reject undersubscribed tensor splits centrally
  • fix: complete deepseek4 tensor split config
  • fix: support mirrored flash attention in meta backend
  • fix: mirror undersubscribed GQA attention
  • fix: complete qwen4exp integration
  • feat(sycl): fix TurboQuant flash attention on Intel Arc B70
  • server: fix slot restore checkpoint crash
  • kv-cache: check the mirrored slot layout on a whole-context restore too
  • kv-cache: clear the cache once when restoring a whole context
  • qwen4exp: keep the indexer cache in step across server slots
  • fix: complete qwen4exp compatibility port
  • llama: model_loader: add TENSOR_READ_LAZY (ggml-org#27794)
  • shim: upstream compat symbols for PR 27742 build (AUTO mode, dsa-iswa header, model members, enums)
  • shim: add upstream compat symbols for PR 27742 build (AUTO load mode, dsa-iswa header, model members, enums)
  • qwen4exp: shorten comments
  • shim: add missing LLM_ARCH_MINIMAX_01 enum for upstream compat
  • quantize: dequantize and quantize large tensors in row bands
  • qwen4exp: drop an unused variable that breaks -Werror builds
  • llama: give qwen4exp a large-graph node budget
  • qwen4exp: support a quantized KV cache in the QSA attention path
  • qwen4exp: tidy comments and simplify image token read
  • llama: make the qwen4exp PLE n-gram history per context and serialise it
  • llama: save and restore the qwen4exp indexer KV cache
  • llama: hold the qwen4exp indexer cache in a new llama_memory_hybrid_idx
  • llama: keep the qwen4exp top-k attention mask arch-local
  • qwen4exp: support a non-unified KV cache in QSA
  • qwen4exp: hash the image placeholder for multimodal batches
  • quantize: size the output buffer exactly instead of nelements * 4
  • quantize: let --tensor-type name per_layer_token_embd
  • quantize: fall back to F16 for 32-block types with an odd ncols
  • convert: stream the qwen4exp PLE table instead of concatenating it
  • tests: cover qwen4exp in test-llama-archs
  • tests: record what the qwen4exp arch-test skip actually observes
  • llama: give the qwen4exp indexer cache the attention cache's slots
  • llama: QSA sparse attention for qwen4exp
  • llama: optional indexer key cache in llama_memory_hybrid
  • llama: fix the qwen4exp PLE conv state and unblock test-llama-archs
  • llama: carry the qwen4exp PLE conv state across ubatches
  • llama: qwen4exp PLE n-gram hash embedding
  • llama: qwen4exp text graph with hyper-connections, GDN and MoE
  • qwen4exp: shorten comments
  • llama: load qwen4exp (Qwen3.8-Flash-Next) hparams and tensors
  • seed: add qwen4exp conversion script for cherry-pick baseline
  • cuda: gate tq3_cent_reg to CUDA-only and restore s_lut fallback for HIP/MUSA
  • cuda: device-routed MoE prefill (on-device expert counting-sort)
  • cuda: add HIP and MUSA guards and fallback paths for WMMA kernels
  • cuda: implement fused WMMA Tensor Core kernel for TQ3_1S prefill
  • cuda: implement fused WMMA Tensor Core kernel for TQ4_1S prefill
  • cuda: optimize mul_mat_tq3_1s decode with register LUT and fast unpack
  • cuda: guard streaming loads from HIP and MUSA
  • cuda: optimize WHT in set_rows turbo kernels with warp shuffles
  • cuda : fix Turbo4 VEC decode without dot2
  • cuda: use __ldcs for turbo KV cache loads in FA tile loaders
  • cuda: precompute scaled centroids per block in turbo3/turbo2 tile loaders
  • cuda: optimize turbo-wht intra-warp stages with __shfl_xor_sync
  • style(cuda): align ConvRot comments with fork rules
  • test(cuda): cover ConvRot fused producer boundaries
  • perf(cuda): fuse ConvRot activation quantization
  • perf(cuda): tune ConvRot decode launch geometry
  • test: add ConvRot performance cases
  • cuda: add cooperative ConvRot decode kernel
  • refactor(cuda): isolate ConvRot matvec
  • test: expand ConvRot decode coverage
  • cuda: NVIDIA dp4a variant of the device-routed TQ MoE matvec
  • CUDA: device-routed TQ MoE matvec (capture-safe, ~2x decode)
  • CUDA: capture-safe f16 KV-dequant temp on HIP
  • server: avoid double-counting MTP fit memory
  • cuda: fuse CR decode matvec
  • cuda: bound CR dequant scratch
  • cuda: dequantize Q6_CR in the original basis
  • cpu: report unsupported GET_ROWS source details
  • cuda: keep ConvRot fallback NVIDIA-only
  • cuda: route ConvRot matmul through cuBLAS
  • ggml-cpu: keep ConvRot dispatch tables unchanged
  • ggml-cpu: support GET_ROWS for ConvRot types
  • ggml : add ConvRot weight quantization
  • spec : log stale draft KV at trim sites, fix parallel deferred-row pollution
  • spec : trim stale MTP draft KV before chain decode
  • spec : trim stale MTP draft KV before deferred flush
  • fix: surface failed MTP draft rewinds
  • llama : account for deferred MTP rows in prefill warning
  • llama : trim stale MTP draft KV after position rewind
  • docs: allow AI-assisted contribution workflows
  • fix: harden MTP chain batching and capability checks
  • server : forward Anthropic output_config.effort to Jinja templates
  • speculative: add chained MTP drafting and adaptive depth
  • moe-cache: separate THROTTLE replacement rule from heat-eviction bullet
  • graph: derive V-unpad head count from the attention output tensor
  • fix(hip): discard nodiscard hipError_t returns in moe-cache.cu
  • llama-context: correct the DSV4 comment on why its type is unreportable
  • llama-bench: report effective KV cache types, not requested ones
  • moe-cache: heat-protected eviction keeps hot experts resident
  • metal: fix moe-cache mv kernel argument binding
  • moe-cache: skip session_create when budget is zero and no config supplied
  • moe-cache: generalize test-moe-cache from CUDA-only to any provider
  • metal, vulkan: defer moe-cache GPU setup to first cache use
  • metal, vulkan: compile moe-cache pipelines and name missing kernels
  • metal, vulkan: skip the invalidate lock when no cache session exists
  • fattn-vec: gate the turbo K split on the LUT, not on D
  • metal, vulkan: actually register the moe cache provider
  • ggml-cuda (HIP): ThreadLocal stream capture on RDNA2 to avoid graph-capture GPF
  • fattn-vec: split the turbo K dot at D>128 to stop the VGPR spill
  • metal: use -commandBuffer, not -newCommandBuffer, in the moe cache
  • sycl: drop the duplicated nthreads declarations in fattn-vec
  • metal: add prior declaration for ggml_metal_moe_cache_register
  • fit: use PRId64 for MoE cache MiB log values
  • tests: tell ctest that 77 means skip for test-moe-cache
  • cuda, fit: fix two -Werror build failures in the new cache code
  • ggml: split the turbo3 group-size declaration from its definition
  • test-moe-cache: save and restore the CUDA device around the budget query
  • test-moe-cache: make cache-shared-budget UMA-aware with cudaMemGetInfo
  • test-moe-cache: accept IGPU devices, not just GPU
  • fix merge: drop MSA k_idx leftovers after syncing the fork base
  • moe-cache: fix auto-asymmetric MLA guard and test-skip exit code
  • ggml: put extern in the GGML_API macro instead of at the use site
  • metal: cast IQ grid pointers in the moe-cache kernels
  • llama-bench: remove stale --prefetch-weights documentation
  • sycl, hip: fix two build breaks in fork-added code
  • chat: restore upstream DeepSeek-V4 handling lost in the merge resolution
  • moe-cache: expose query_fused in the shared provider API
  • metal/vulkan: cover all 23 expert weight types in the moe cache
  • Fix MSVC C2159: duplicate extern from GGML_API on Windows
  • docs: correct MOE-CACHE.md against the implementation (MUSA stub, _chexps names, soft mode)
  • docs: rename CUDA-MOE-CACHE.md to MOE-CACHE.md and restructure with intro and best-use guidance
  • docs: document INFO-level MoE cache disable reasons in CUDA-MOE-CACHE.md
  • llama-bench: document -pw/--prefetch-weights in help and README
  • moe-cache: add logging at silent failure points across eligibility, session creation, and fit evaluation
  • llama: remove dead MSA indexer scaffolding
  • llama: remove stale MSA KV indexer references
  • cuda: fix HIP MoE cache compatibility and q8_1 sums
  • moe-cache: allow automatic mode on a single device when the slab floor is met
  • moe-cache: allow automatic mode on a single device when the slab floor is met
  • moe-cache: restore moe_cache params on failed fit (F1 follow-up)
  • moe-cache: restore moe_cache params on failed fit (F1 follow-up)
  • moe-cache: v1 audit fixes V1 M1 L1 P1 (Metal + Vulkan)
  • moe-cache: fix registry build (I1 follow-up)
  • moe-cache: audit fixes H1 F1 F2 A1
  • moe-cache: route context eligibility probe and remaining tests through the registry (I1)
  • moe-cache: route fit probing and test session calls through the registry (I1 follow-up)
  • moe-cache: provider registry with per-scheduler selection (I1)
  • moe-cache: count dispatch contention bypasses (P1)
  • moe-cache: fix registry build (I1 follow-up)
  • moe-cache: audit fixes H1 F1 F2 A1
  • moe-cache: route context eligibility probe and remaining tests through the registry (I1)
  • moe-cache: route fit probing and test session calls through the registry (I1 follow-up)
  • moe-cache: provider registry with per-scheduler selection (I1)
  • moe-cache: count dispatch contention bypasses (P1)
  • moe-cache: enable HIP backend by removing no-op stubs
  • moe-cache: enable HIP backend by removing no-op stubs
  • model: Muse Glimmer Support (ggml-org#26841) (TheTom#290)
  • moe-cache: fix MSL kernel compile and quant-packing bugs found in review
  • moe-cache: rewrite Metal and Vulkan backends against the real API
  • moe-cache: add Q4_0, Q4_K, Q6_K weight types to Metal and Vulkan
  • vulkan: implement MoE expert cache
  • metal: implement MoE expert cache for Apple Silicon
  • moe-cache: extract shared bookkeeping to common header, add Metal/Vulkan stubs
  • moe-cache: add --moe-cache soft mode with partial expert eviction
  • merge: fix post-merge build and crash issues
  • cuda: enable fused TQ3_1S mul_mat on HIP (gfx1100)
  • docs : add harness init strided-view bug to coverage limits
  • metal: port TQ_NO_ROTATE escape hatch from stash (opt-in getenv, forces TQ weights through with-inverse-RHT mul_mm)
  • cuda: disable fused TQ3_1S mul_mat kernel (fixes DSv4 CUDA garbage output)
  • cuda: gate fused TQ mul_mat paths on contiguous src1/dst (fixes DSv4 garbage output from strided MLA activations)
  • tests: initialise non-contiguous tensors row by row
  • ggml-cpu : declare turbo3_cpu_wht_group_size extern, not a second definition
  • docs : document what the test suites do and do not cover
  • cuda: pack MoE cache dispatch inputs
  • cuda: report MoE cache pair residency
  • docs: record MoE cache workload convergence
  • cuda: clarify MoE cache session diagnostics
  • cuda: report oversized MoE cache nodes
  • cuda: accelerate complete MoE cache pools
  • docs: fix MoE cache benchmark verbosity
  • common: surface MoE cache activation
  • cuda: enable multi-token MoE cache in forced modes
  • cuda: reject undersized automatic MoE cache slabs
  • cuda: bound automatic MoE cache admission
  • cuda: aggregate small MoE tensors into cache pools
  • cuda: fuse cached MoE SwiGLU rows
  • docs: update MoE cache validation
  • server: account for MTP placement in fit reservations
  • cuda: parallelize MoE cache fills on capable multi-GPU systems
  • cuda: prefer generic MMV for compatible MoE cache nodes
  • cuda: align MoE cache pool allocation with fit
  • cuda: adapt MoE cache admission to device capability
  • cuda: tune MoE cache CPU overlap automatically
  • cuda: bound MoE MMV tail-row reads
  • llama: skip dormant MoE cache sessions
  • cuda: fix MoE cache scratch budget replacement
  • server: harden shared draft device placement
  • common: preserve implicit MoE cache provider settings
  • docs: update MoE cache validation
  • server: fix auto-selected DSpark device
  • cuda: fix MoE cache capacity accounting
  • cuda: rework MoE expert cache execution
  • mtmd: add chunk save/load function (ggml-org#26645)
  • server: fix empty response for /cors-proxy (ggml-org#26656)
  • convert : fix DeepseekV4 rope parameters with transformers 5.x (ggml-org#26673)
  • model-loader : fix quantized reshaped tensor strides (ggml-org#26672)
  • convert : accept "ExaoneMoeForCausalLM" arch spelling (ggml-org#26660)
  • ci : onboard AMD ROCm CI with gfx1151 fixes (ggml-org#26544)
  • model-conversion : add --model-name to conversion scripts (ggml-org#26665)
  • vulkan: fix submission batching size, add debug tools for diagnosing causes of DeviceLost drivers errors (ggml-org#26371)
  • docs : add TurboQuant project overview to AGENTS.md and skills
  • mtmd/ggml: add ggml_build_forward_order (ggml-org#26649)
  • fix(server): batch restored-checkpoint prompt processing instead of one token/iter
  • server: harden the file_glob_search directory walk (ggml-org#26626)
  • tests: re-enable MiniMax M3 in test-llama-archs (ggml-org#26633)
  • tests: port 11 DSv4-shaped TQ MUL_MAT cases from sync/upstream-master
  • mtmd: Unlimited-OCR fix max_tiles, setting in converter (ggml-org#25614)
  • grammar : degrade max repetition >= 2000 to unbounded (ggml-org#26613)
  • mtmd: support multi-row batching for deepseek-ocr (ggml-org#26154)
  • fit: Fix memory allocation for MTP layers (ggml-org#26605)
  • security : clarify about AI-generated reports (ggml-org#26579)
  • server: Adding spec-decode counters to /metrics endpoint (ggml-org#26389)
  • convert: Add endianness conversion for Q1 and TQ2 quantizations (ggml-org#26618)
  • vendor : apply patches for subprocess.h (ggml-org#26606)
  • ui: show generation statistics by default in chat settings (ggml-org#26624)
  • build : remove GGML_METAL_USE_BF16 from all build scripts (ggml-org#26604)
  • ggml-cuda : compute the turbo4 centroid LUT in advance during decode
  • ui: Update vulnerable packages + cleanup Storybook config (ggml-org#26607)
  • vulkan : fix SET_ROWS block decomposition for turbo weight types
  • Prefer npm ci over install for security (ggml-org#26601)
  • vulkan : apply the TQ MUL_MAT_ID size gate only to the f16 dequant fallback
  • vulkan : dispatch the TQ rotated mul_mm_id path
  • vulkan : register the TQ rotated mul_mm_id pipelines
  • vulkan : rotate the staged activation copy in place, drop the second buffer
  • vulkan : add FLOAT_TYPEV8 to the TQ matmul float_type_dict
  • vulkan : create the TQ activation-rotate pipeline
  • vulkan : generate TQ rotated matmul and activation-rotate shaders
  • vulkan : TQ rotated-matmul shader groundwork (A-side loads + activation rotate)
  • server: decode Windows OEM output to UTF-8 in built-in tools (ggml-org#26597)
  • mtmd: correcting duplicate empty audio chunks for short inputs (ggml-org#26536)
  • feat: add Vulkan TQ4_1S weight pipeline wiring (f03d331)
  • sampler : remove "full-context windows" from history-based samplers (ggml-org#26524)
  • gguf-split: Add option to delete split parts during merge (ggml-org#26538)
  • ui: CWD for agent (ggml-org#26518)
  • mtmd: support Qwen3-TTS (note: breaking change to llama-tts binary) (ggml-org#26254)
  • fix: correct Vulkan turbo3 pipeline wiring after ff8bb73 audit
  • feat: add Vulkan turbo3 KV cache pipeline support (a494833)
  • fix: apply rebase-audit fixes (stack overflow + quality-benchmarks docs)
  • vulkan : add mul_mat_vec_id for the TurboQuant weight types
  • ggml-cpu: remove the per-call mallocs from the TurboQuant vec_dot kernels
  • vulkan : reject MUL_MAT_ID for the TurboQuant weight types
  • vulkan : add the TQ3_1S weight type
  • vulkan : restore TQ4_1S weight-type wiring lost in the rebase
  • tests: cast float printf args in test-turbo-quant (arm64 CI)
  • tests: restore DSV4_HC_COMB eps sweep lost in the TheTom#244 rebase
  • dflash : fix merge artifacts from upstream cherry-picks
  • convert: add option to create separate dspark GGUF (ggml-org#26452)
  • DeepseekV4 MTP + DSpark (ggml-org#25784)
  • metal : add SILU_BACK (ggml-org#25982)
  • metal : add F16 support for bin ops (ggml-org#26465)
  • metal: implement DeepSeek V4 hyper-connections (ggml-org#26459)
  • common: support the DSpark sidecar resolution (ggml-org#26458)
  • chat : add qwen3 specialized parser (ggml-org#26252)
  • opencl: limit local workgroup size for GLU operation (ggml-org#26383)
  • opencl: bugfix increment ref_count in ggml_backend_opencl_init() (ggml-org#26162)
  • sycl: fix classification of iGPUs (ggml-org#26105)
  • model : load MiMo V2 MTP tensors only if used (ggml-org#26412)
  • ggml-webgpu: add support for f16 repeat (ggml-org#26307)
  • test: fix some CI errors (ggml-org#26415)
  • vulkan: extend topk_moe fusion to support sqrt(softplus) (ggml-org#26124)
  • vendor : update BoringSSL to 0.20260730.0 (ggml-org#26353)
  • cuda: restore Volta GQA modulo dispatch (over-revert in 75a24b8)
  • cuda: revert GQA-ratio dispatch to comparison form (fixes AMD WMMA abort)
  • hip: add mixed f16/bf16 + q8_0 fattn-vec instances to the HIP build (TheTom#249)
  • dflash: fix DSpark tensor-meta accessor after laguna rebase (reference, not pointer)
  • laguna: deduplicate definitions vs the early snapshot carried by the TheTom#244 rebase
  • cuda: sum MoE expert outputs on decode (n_tokens==1)
  • cuda: first-class MoE path + plain f16 FA hygiene on GB10
  • laguna: tool-call whitespace tolerance, docs, and test coverage
  • laguna: HF converter (LagunaModel + DFlashLagunaModel) and chat templates
  • laguna: MoE down-proj f16-overflow guard + CUDA GQA ratio fix
  • laguna: DFlash drafter Laguna decoder contract + NaN sanitization
  • laguna: add model class, hparams wiring, vocab pre-tokenizer
  • laguna: add arch tables (llm_arch, KV keys, tensors) and gguf-py constants
  • glm-dsa: guard lightning-indexer Hadamard rotation when LID cache has rotation off
  • vulkan: reconstruct supports_op after rebase merge damage
  • metal : restore lost kernel templates; add offline shader compile gate
  • llama : mirror DS4 q_a/kv down-projections in tensor split
  • llama : support DeepSeek-V4 tensor split
  • cleanup: remove rebase diff recipes and audit artifacts
  • fix : close complete-audit findings - 7 port regressions + TQ4_1S dp4a kernel
  • merge : close TurboQuant parity gaps
  • docs : record full parity sweep results (fork + upstream vs tree)
  • tests : port fork turbo backend and quantize-fns test coverage
  • vulkan : port fork TheTom#241 wave64 ballot fix; correct rpc op-count comment
  • ggml-cpu : fix get_n_tasks NULL deref for single-input ops
  • docs : record dsv4 turbo3 validation + DSpark draft format finding
  • docs : note dsv4/DSpark validation hardware constraint
  • docs : add KV-cache-quantization guide, update rebase plan
  • tests : re-add test-turbo-quant.c round-trip test
  • tools : expose TQ3_1S/TQ4_1S in quantize table and llama-bench parser
  • cli : break interactive loop on stdin EOF (fixes hot spin)
  • gguf-py : dedupe stacked merge artifacts in constants.py
  • docs : update rebase plan with audit + re-rebase onto upstream 876a432
  • ci : keep fork's existing GitHub workflows, drop upstream CI delta
  • docs : add rebase plan and TurboQuant recipes
  • llama : port TurboQuant KV-cache, models, and common layers
  • vulkan/metal/hip : add TurboQuant kernel support
  • sycl : add TurboQuant WHT and vec kernels
  • cuda : add TurboQuant MMVQ/WHT/inner-quant CUDA kernels
  • ggml : port TurboQuant core quant types and CPU kernels
  • Update GGMLQuantizationType and LlamaFileType enums to include TQ3_1S and TQ4_1S quantization types with corresponding sizes in GGML_QUANT_SIZES.
  • WIP: add TurboQuant KV cache types (turbo3, turbo4)
What every archive contains, and how versions work
  • llama-server with --cache-type-k turbo3 / turbo4 support
  • llama-cli, llama-bench, llama-perplexity, llama-quantize

Built from master at commit cda0f9256, based on upstream llama.cpp b10298.

<upstream-base>-<fork-semver>: b10298 is the upstream llama.cpp build this fork is based on, 2.0.0 is the TurboQuant fork version. llama-server --version reports version: b10298-2.0.0.