Views
No views yet
IQ2_XXS 169.590 GiB (2.168 BPW)IQ2_XXS ffn_(gate|up)_exps and IQ2_KS ffn_down_exps routed experts. Mostly iq4_ks/iq3_ks for attn and shared expert. iq4_k token_embd and iq5_k output "head".1#!/usr/bin/env bash
2
3custom="
4# First 3 dense layers (0-3) (GPU)
5# Except blk.*.attn_k_b.weight is not divisible by 256 so only supports qN_0
6blk\.[0-2]\.attn_k_b.*=q4_0
7blk\.[0-2]\.attn_.*=iq4_ks
8blk\.[0-2]\.ffn_down.*=iq4_ks
9blk\.[0-2]\.ffn_(gate|up).*=iq3_ks
10blk\.[0-2]\..*=iq4_ks
11
12# All attention, norm weights, and bias tensors for MoE layers (3-60) (GPU)
13# Except blk.*.attn_k_b.weight is not divisible by 256 so only supports qN_0
14blk\.[3-9]\.attn_k_b.*=q4_0
15blk\.[1-5][0-9]\.attn_k_b.*=q4_0
16blk\.60\.attn_k_b.*=q4_0
17
18blk\.[3-9]\.attn_.*=iq4_ks
19blk\.[1-5][0-9]\.attn_.*=iq4_ks
20blk\.60\.attn_.*=iq4_ks
21
22# Shared Expert (3-60) (GPU)
23blk\.[3-9]\.ffn_down_shexp\.weight=iq4_ks
24blk\.[1-5][0-9]\.ffn_down_shexp\.weight=iq4_ks
25blk\.60\.ffn_down_shexp\.weight=iq4_ks
26
27blk\.[3-9]\.ffn_(gate|up)_shexp\.weight=iq3_ks
28blk\.[1-5][0-9]\.ffn_(gate|up)_shexp\.weight=iq3_ks
29blk\.60\.ffn_(gate|up)_shexp\.weight=iq3_ks
30
31# Routed Experts (3-60) (CPU)
32blk\.[3-9]\.ffn_down_exps\.weight=iq2_ks
33blk\.[1-5][0-9]\.ffn_down_exps\.weight=iq2_ks
34blk\.60\.ffn_down_exps\.weight=iq2_ks
35
36blk\.[3-9]\.ffn_(gate|up)_exps\.weight=iq2_xxs
37blk\.[1-5][0-9]\.ffn_(gate|up)_exps\.weight=iq2_xxs
38blk\.60\.ffn_(gate|up)_exps\.weight=iq2_xxs
39
40# Token embedding and output tensors (GPU)
41token_embd\.weight=iq4_k
42output\.weight=iq5_k<|begin▁of▁sentence|>{system_prompt}<|User|>{prompt}<|Assistant|><|end▁of▁sentence|><|Assistant|>ik_llama.cpp quantizations of DeepSeek-V3-0324llama.cpp fork, ik_llama.cpp