ikawrakow/ik_llama.cpp

llama.cpp fork with additional SOTA quants and improved performance

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 43 minutes ago
Added to GitGenius on November 26th, 2025
Created on June 27th, 2024
Open Issues & Pull Requests: 85 (+0)
Number of forks: 411
Total Stargazers: 3,026 (+0)
Total Subscribers: 34 (+0)

Issue Activity (beta)

Open issues: 55
New in 7 days: 8
Closed in 7 days: 10
Avg open age: 61 days
Stale 30+ days: 39
Stale 90+ days: 25

Recent activity

Opened in 7 days: 8
Closed in 7 days: 10
Comments in 7 days: 15
Events in 7 days: 33

Top labels

  • enhancement (98)
  • wontfix (24)
  • bug (10)
  • help wanted (7)
  • Refactoring (2)
  • mainline bug (2)
  • Usability (1)

Repository Insights (GitGenius)

Median issue/PR response: 2.1 hours
Mean response time: 3.5 days
90th percentile: 36.4 hours
Tracked items: 580

Most active contributors

Sign in to see contributor activity.

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 95% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. 40% of tracked open issues have had no activity in three months. Only 6% of issues opened in the past year have been closed. Three people close 82% of everything that gets resolved.

Detailed Description

ik_llama.cpp is a specialized fork of llama.cpp that prioritizes CPU and hybrid GPU/CPU inference performance for large language models. The repository is written in C++ and focuses on delivering state-of-the-art quantization techniques and optimized execution across different hardware backends.

A defining feature of ik_llama.cpp is its extensive collection of quantization types beyond the standard llama.cpp offerings. The repository implements Trellis quants including IQ1_KT, IQ2_KT, IQ3_KT, and IQ4_KT with support across CUDA, Metal, Neon, and CPU backends. The IQK quantization family includes variants like IQ2_K, IQ3_K, IQ4_K, IQ5_K, and IQ6_K with multiple implementations for different hardware. More recent additions include MXFP4 quantization as used in gpt-oss models and Hadamard transforms for both K-cache and V-cache optimization. The repository also implements low perplexity Q4_0 KV cache variants and provides options for re-quantized output tensors through the MTP feature.

The fork introduces specialized optimizations for particular model architectures. It provides first-class Bitnet support, improved DeepSeek performance through Multi-head Latent Attention (MLA) and FlashMLA implementations, and fused mixture-of-experts operations. Tensor overrides enable flexible hybrid GPU/CPU inference strategies, while row-interleaved quant packing improves memory efficiency. The repository explicitly documents important caveats regarding the row-interleaved tensor repacking option, warning that it can degrade performance when certain quantization types lack CUDA implementations.

The repository maintains clear documentation about supported compute backends, explicitly stating that only CPU backends with AVX2 or better and ARM_NEON or better, plus CUDA with Turing or newer GPUs, receive active development and support.

The project provides straightforward quickstart instructions for both CPU and GPU builds, with special guidance for AVX-512-capable processors to activate IQK quantized GEMM kernels. Users can download GGUF model files and launch a server with simple commands, accessing a web interface at localhost:8080. The repository includes comprehensive build documentation, parameter guides, and Docker/Podman container instructions for deployment flexibility.

ik_llama.cpp
by
ikawrakowikawrakow/ik_llama.cpp

Repository Details

Fetching additional details & charts...