Views
No views yet
| file | contents | size | what it is for |
|---|---|---|---|
qwen3-32b-rot-kv.gguf | Qwen3 32B GGUF with OSCAR rotation baked in | 18 GB | Main model for OSCAR INT2 KV-cache inference. |
k_rotation_qqt_r_h_pbr.pt | raw calibrated K rotation | 4.1 MB | Use with a compatible base GGUF if you want to bake the rotation yourself. |
v_rotation_sst_r_h_pbr.pt | raw calibrated V rotation | 4.1 MB | Use with a compatible base GGUF if you want to bake the rotation yourself. |
"OSCAR rotation" is an in-graph, post-RoPE orthogonal transform applied to K and V so that the KV cache quantizes well at 2-bit. The-rot-kvGGUF already contains the rotation tensors; no runtime rotation file is needed for normal inference.
1LLAMA_KV_FUSED_FA=1 LLAMA_KV_NO_HADAMARD=1 LLAMA_KV_CLIP_RATIO=0.96 \
2LLAMA_KV_HP_SINK=512 LLAMA_KV_HP_RECENT=2048 \
3./build/bin/llama-server -m qwen3-32b-rot-kv.gguf \
4 -fa on -ngl 99 -c 32768 \
5 --cache-type-k q2_0 --cache-type-v q2_0 \
6 --host 127.0.0.1 --port 8080| env var | meaning | value |
|---|---|---|
LLAMA_KV_FUSED_FA | fused INT2+f16 flash-attention kernels, fast path when available | 1 |
LLAMA_KV_NO_HADAMARD | rotation is in-graph, so skip the in-quant Hadamard | 1 |
LLAMA_KV_CLIP_RATIO | per-row outlier clip before quant | 0.96 |
LLAMA_KV_HP_SINK / LLAMA_KV_HP_RECENT | tokens kept high-precision (first/last) | 512 / 2048 |
--cache-type-v f16 keeps V high-precision, which may improve quality at the cost of more memory.1python3 oscar-rotation/export_rot_kv_gguf.py \
2 --base qwen3-32b-base.gguf \
3 --rot-dir . \
4 --out qwen3-32b-rot-kv.gguf