Repository navigation
prism-b12178-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=0to go back to the previous kernels, orGGML_CUDA_PREFILL_OPT=1to 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=0to 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 Nsaves 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_decodereturning -3). - Metal: fixed
GGML_ASSERT(buf_src)in the batched scheduler uploads. - Metal: mat-muls on the
pq2_0mtype 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.hadamardlist names tensors the loader skipped (for example the MTP head with speculative decoding off) now load (#372). gguf_dspark_to_dflash.pyis 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:
- macOS Apple Silicon (arm64)
- macOS Apple Silicon (arm64, KleidiAI enabled)
- macOS Intel (x64)
- iOS XCFramework
Android:
Linux (CPU):
Linux (CUDA):
Linux (Vulkan):
Linux (AMD):
Windows (CPU):
Windows (CUDA):
- Windows x64 (CUDA 12.4) - CUDA runtime DLLs
- Windows x64 (CUDA 13.3) - CUDA runtime DLLs
- Windows arm64 (CUDA 13.4) - CUDA runtime DLLs
Intel GPU (SYCL, oneAPI 2025.3.3):
- Ubuntu 24.04 x64 (SYCL FP32)
- Ubuntu 24.04 x64 (SYCL FP16)
- Windows x64 (SYCL backend and runtime DLLs): extract over the Windows x64 CPU package from this release.
- Linux requires matching oneAPI runtime libraries. Both platforms require an Intel GPU driver. See the included SYCL-RELEASE.md. Builds are compiled on GitHub-hosted runners, without GPU inference validation.
Windows (Vulkan/HIP):