Views
No views yet
--spec-type mtp:n_max=4,p_min=0.0 (#1890)-sm graph (#1821)-dsa -fidx (#2045, #2098, #2109, and many others)-sm graph and quantize KV cache e.g. -ctk q8_0 do not work together with -dsa -fidx. As a fun exercise, you can ask this quant to get them to work.)| version | imatrix | indexer | ppl |
|---|---|---|---|
| GLM-5.2-GGUF-1.630bpw.gguf | unsloth | Q6_0 | 6.1409 +/- 0.03770 |
| (not uploaded) | unsloth | Q8_0 | 6.1409 +/- 0.03770 |
| GLM-5.2-GGUF-1.630bpw-muzzy-imatrix.gguf | muzzy | Q8_0 | 5.7371 +/- 0.03465 |
-f wiki.test.raw -c 512.llama-server output:llm_load_print_meta: model size = 142.952 GiB (1.630 BPW)
llm_load_print_meta: repeating layers = 141.512 GiB (1.618 BPW, 751.427 B parameters)-cmoe --no-mmap:llm_load_tensors: CPU buffer size = 130712.34 MiB
llm_load_tensors: CUDA0 buffer size = 13724.12 MiB# Attention
blk\..*\.attn_k_b\.weight=q6_0
blk\..*\.attn_v_b\.weight=q6_0
blk\..*\.attn_kv_a_mqa\.weight=q6_0
blk\..*\.attn_q_a\.weight=q6_0
blk\..*\.attn_q_b\.weight=q6_0
blk\..*\.attn_output\.weight=q6_0
# First 3 Dense Layers
blk\..*\.ffn_down\.weight=q6_0
blk\..*\.ffn_(gate|up)\.weight=q6_0
# Shared Expert Layers
blk\..*\.ffn_down_shexp\.weight=q6_0
blk\..*\.ffn_(gate|up)_shexp\.weight=q6_0
# Routed Experts Layers
blk\..*\.ffn_(up|gate|down)_exps\.weight=iq1_s_r4
# Indexer
blk\..*\.indexer\.proj\.weight=q8_0
blk\..*\.indexer\.attn_k\.weight=q8_0
blk\..*\.indexer\.attn_q_b\.weight=q8_0
# NextN MTP Layer
blk\..*\.nextn\.embed_tokens\.weight=q6_0
blk\..*\.nextn\.shared_head_head\.weight=q6_0
blk\..*\.nextn\.eh_proj\.weight=q6_0
# Non-Repeating Layers
token_embd\.weight=q6_0
output\.weight=q6_0--no-mmap -ngl 99 --fit \
-mla 1 -dsa -fidx \
-c 102400 \
-b 2048 -ub 2048 -wgt 1 \
-cram 0 -muge -cuda graphs=1 \
--jinja --parallel-tool-calls \
--chat-template-kwargs {"reasoning_effort": "high"} \
--spec-type mtp:n_max=4,p_min=0.5--defer-experts --prefetch-experts --no-warmup and removing --no-mmap -muge, as well as setting the environment variable GGML_CUDA_NO_PINNED=1. From https://github.com/ikawrakow/ik_llama.cpp/pull/2101, this can increase PP by more than 2x! (result varies based on disk speed)| quant | size | ppl |
|---|---|---|
| GLM-5.2-GGUF-1.630bpw-muzzy-imatrix.gguf | 142.952 GiB (1.630 BPW) | 5.7371 +/- 0.03465 |
| IQ1_KT from muzzy/GLM-5.2-GGUF | 169.190 GiB (1.928 BPW) | 4.4567 +/- 0.02620 |
| UD-IQ1_S from unsloth/GLM-5.2-GGUF | 201.823 GiB (2.300 BPW) | 4.5930 +/- 0.02686 |