Skip to content

prism-b12178-03ec600

Choose a tag to compare

@github-actions github-actions released this 24 Nov 19:45
03ec600

Faster defaults

  • NVIDIA Hopper (H100, H200): PTQ1_0 and PQ2_0 prompt processing runs on faster kernels by default, with identical output (+28% PTQ1_0 and +19% PQ2_0 measured on H200). Set GGML_CUDA_PREFILL_OPT=0 to go back to the previous kernels, or GGML_CUDA_PREFILL_OPT=1 to try them on other NVIDIA GPUs.
  • Apple GPUs: the 2 to 8 token batches used by speculative decoding run on a new exact PTQ1_0 kernel by default. Set GGML_METAL_VERIFY_OPT=0 to turn it off.
  • Arm CPUs: PQ2_0 weights are repacked for NEON at load, for faster CPU prompt processing and generation.

New

  • pq2_0m, a 2-bit KV cache type (-ctk pq2_0m -ctv pq2_0m) that uses 22 to 44% less memory than q4_0. Metal does not support it yet.
  • Lean prefill for the MTP draft head (LLAMA_MTP_PREFILL_LEAN=1, opt-in).
  • Sampling: top-k with repetition, frequency or presence penalties now uses a fast exact path instead of sorting the whole vocabulary (#444).
  • Server: --checkpoint-every-nt N saves context checkpoints inside a long message (off by default).
  • New opt-in kernels for CUDA, Metal and SYCL.

Fixes

  • iOS and iPadOS: Metal now splits each graph into 8 command buffers, so long prompt batches are no longer stopped by the system (llama_decode returning -3).
  • Metal: fixed GGML_ASSERT(buf_src) in the batched scheduler uploads.
  • Metal: mat-muls on the pq2_0m type are now reported as unsupported and fall back, instead of aborting.
  • CUDA: hardened the Hadamard q8_1 fusions, and kept softcap and very large shapes off the head-size-72 attention pad path.
  • Single-sequence plain decode now uses the gathered recurrent state rows, which is faster and exact.
  • SYCL: PTQ1_0 and PQ2_0 scratch buffers now use the device allocator, which fixes DEVICE_LOST on dual-GPU setups without P2P (#384).
  • Models whose prism.hadamard list names tensors the loader skipped (for example the MTP head with speculative decoding off) now load (#372).
  • gguf_dspark_to_dflash.py is executable again (#269).

Builds

  • CUDA release zips now ship Turing (RTX 20, GTX 16) as machine code. This fixes the CUDA 13.3 zip on drivers older than 13.3 for those cards.
  • CUDA 13.3 zips now include A100 and H100/H200 machine code, so they also run on drivers older than 13.3 (#443).
  • Windows CPU builds are now compiled with OpenMP and ship libomp.dll.
  • ROCm/HIP builds now include gfx1035 and gfx1103 (Radeon 680M and 780M).

Pre-built binaries (PrismML fork with Q1_0 1-bit quantization support).

macOS/iOS:

Android:

Linux (CPU):

Linux (CUDA):

Linux (Vulkan):

Linux (AMD):

Windows (CPU):

Windows (CUDA):

Intel GPU (SYCL, oneAPI 2025.3.3):

Windows (Vulkan/HIP):