Views
No views yet

[!IMPORTANT] I am currently looking for open positions! 🤗 If you find this model useful or are looking for a talented AI/LLM Engineer, please reach out to me on LinkedIn: Aaryan Kapoor.
[!CAUTION] Experimental Build Required 🚧 This model utilizes the Kimi Delta Attention (KDA) architecture, which is not yet supported in the main branch ofllama.cpp.To run this GGUF, you must compilellama.cppfrom PR #17592. Attempting to run this on a standard build will result in errors.

| Feature | Kimi Linear Specification |
|---|---|
| Architecture | Hybrid Linear Attention (MoE + MLA + KDA) |
| Context Length | 1M Tokens (Supported by architecture) |
| Params | 48B Total / 3B Activated |
| Throughput | ~6.3x faster TPOT compared to MLA at 1M context |
| MMLU-Pro | 51.0 (4k context) |
| RULER | 84.3 (128k context, Pareto-optimal) |
1git clone https://github.com/ggml-org/llama.cpp
2cd llama.cpp
3git fetch origin pull/17592/head:pr-17592
4git checkout pr-17592
5make -j1./llama-cli -m Kimi-Linear-48B-Instruct.Q2_K.gguf \
2 -n 2048 \ # Adjust generation limit
3 -c 8192 \ # Context window (Model supports up to 1M)
4 --temp 0.8 \ # Recommended temperature
5 --top-p 0.9 \
6 -ngl 99 \ # Offload all layers to GPU
7 -p "<|im_start|>user\nHello, who are you?<|im_end|>\n<|im_start|>assistant\n" \
8 -cnvNote: The current GGUF implementation successfully mitigates previous "state collapse" issues found in early development.
1./llama-server -m Kimi-Linear-48B-Instruct.Q2_K.gguf \
2 --port 8080 \
3 -ngl 99 \
4 -c 8192 \
5 --alias kimi-ngl 99):
-ngl with a lower number (e.g., -ngl 20) to split layers between GPU and CPU RAM.0.80.91.05 (Optional, if repetition occurs)1./llama-cli -m Kimi-Linear-48B-Instruct.Q2_K.gguf \
2 -c 8192 \
3 --temp 0.8 \
4 --top-p 0.9 \
5 -p "<|im_start|>user\nWrite a Python script to calculate Fibonacci numbers.<|im_end|>\n<|im_start|>assistant\n" \
6 -cnv