GaelicThunder's Kalibrated pack, remounted in the standard EXL3 layout so ExLlamaV3 can load it. Text and images, 1M context, on a single 140 GB card.
Nothing was requantized here. No Hessians, no calibration pass, no GPU. The expert tensors are his bytes, unchanged; what changed is where they live and what they are called.
| comes from | |
|---|---|
| routed experts of 22 layers, calibrated 3-bit | GaelicThunder/…-Kalibrated, tp1/ |
| everything else — attention, router, hyper-connections, shared experts, embed, head, the 3 MTP blocks, the vision tower | vcruz305/DSV4-Flash-Vision-ablit-EXL3-MixedK |
119.2 GB on disk (111.0 GiB) · 70 safetensors shards · 138,291 tensors
43 layers, 256 routed experts, 6 active per token, 3 MTP blocks
28 layers at 3-bit 0 1 3 8 9 11 12 13 19 21 22 23 24 25 26 27 28 29 30 31 32 34 35 37 39 40 41 42
15 layers at 2-bit 2 4 5 6 7 10 14 15 16 17 18 20 33 36 38
non-expert tensors BF16
GaelicThunder promoted 22 layers, ranked by the measured quantization error of their expert
tensors. MixedK's own six 3-bit layers (3 13 21 22 28 41) are kept as they were.
exllamav3 ≥ v1.4.9. That release added the DeepSeek-V4 vision tower, and it is not a new
architecture class — the tower loads as a component of DeepseekV4ForCausalLM, gated on the
presence of vision.patch_embed.proj. Earlier versions load the text side and silently
ignore the vision tensors.
With TabbyAPI, set vision: true — its vision
path is generic (if "vision" in self.config.model_classes), so no per-model wiring is needed.
The DSA cache is compressed per layer, which is what makes 1M cheap here. Read off
compress_ratios and exllamav3/cache/dsa.py:
21 CSA layers (m=4) (448 + 64 + 128) × 2 / 4 = 320 B/token/layer
20 HCA layers (m=128) (448 + 64) × 2 / 128 = 8 B/token/layer
2 sliding layers no paged pool at all
total 6,880 B/token
1,048,576 tokens -> 6.72 GiB of cache
weights -> 111.0 GiB
117.7 GiB to serve the full context
GaelicThunder measured his pack at 90 % retention of the original's per-token
probability (87 % prose, 99.8 % math, 92 % code), against MixedK's 81 %, on 64,859 frozen
tokens. His numbers, his method — see
docs/KALIBRATED.md.
Those numbers were not measured on this repository. His pack stores the non-expert tensors in FP8 block format, because that is what the sparkinfer image loads. This remount takes them from MixedK, in BF16 — the same experts on a higher-precision trunk. The expected retention is therefore ≥ 90 %, but nobody has run the probe on these files. Treat 90 % as a floor inherited from the parent, not as a measurement of this artifact.
The Kalibrated pack ships as rank-sliced tp1: tensors pre-cut per tensor-parallel rank, for
a loader that picks its own slice. ExLlamaV3 stores whole tensors and splits at load time, so
it neither writes nor expects that. With tp = 1 the "slice" is the whole tensor, so the
bytes are identical and only the name differs by one infix:
published layers.27.ffn.experts.0.w1.rank0.trellis
here layers.27.ffn.experts.0.w1.trellis
The header is rewritten padded with spaces to its original length, so every data_offsets
entry stays put and the weight bytes are never touched. Two more things the rename alone
would not fix: the source shard for a promoted layer also carries that layer's old 2-bit
experts under the same names, so its dense tensors are split out into their own file; and
neither parent publishes a model.safetensors.index.json, which is written here.
enxertar_camadas_exl3.py, included in this repo. It refuses
rather than guess: a shard mixing two layers, an expert name that does not match the base
exactly, a trellis shape inconsistent with the declared bit width, or any tensor of the base
missing from the final index.
Checked on the finished files, reading them back from disk:
duplicate tensor names across shards ....... 0
names still carrying .rank ................. 0
index vs disk .............................. 138,291 = 138,291, 0 mispointed
bits per layer, from the trellis SHAPE ..... 28 × 3-bit, 15 × 2-bit
config layer_bits vs measured shapes ....... identical
vision.patch_embed / aligner / image_start / mtp.0.attn.wkv / embed / head ... present
The bit widths are read from the tensors (last dim = 16 × K), not trusted from the config.
MIT, as the original. The weights had their refusals removed upstream: they are published for red-teaming, security research and evaluation, and responsibility for any deployment lies with whoever serves them.
有文件?提交种子。
发布种子model-00048-of-00048.safetensors 3.6 GiBmodel-00046-of-00048.safetensors 3.5 GiBmodel-00047-of-00048.safetensors 3.4 GiBmodel-00024-of-00048.safetensors 2.5 GiBmodel-00030-of-00048.safetensors 2.5 GiBmodel-00015-of-00048.safetensors 2.5 GiBmodel-00023-of-00048.safetensors 2.5 GiBmodel-00043-of-00048.safetensors 2.5 GiBmodel-00005-of-00048.safetensors 2.5 GiBenxerto-camada-011-experts.safetensors 2.3 GiBenxerto-camada-012-experts.safetensors 2.3 GiBenxerto-camada-019-experts.safetensors 2.3 GiBenxerto-camada-023-experts.safetensors 2.3 GiBenxerto-camada-024-experts.safetensors 2.3 GiBenxerto-camada-025-experts.safetensors 2.3 GiBenxerto-camada-026-experts.safetensors 2.3 GiBenxerto-camada-027-experts.safetensors 2.3 GiBenxerto-camada-029-experts.safetensors 2.3 GiBenxerto-camada-030-experts.safetensors 2.3 GiBenxerto-camada-031-experts.safetensors 2.3 GiBenxerto-camada-032-experts.safetensors 2.3 GiBenxerto-camada-034-experts.safetensors 2.3 GiBenxerto-camada-035-experts.safetensors 2.3 GiBenxerto-camada-037-experts.safetensors 2.3 GiBenxerto-camada-039-experts.safetensors 2.3 GiBenxerto-camada-040-experts.safetensors 2.3 GiBenxerto-camada-042-experts.safetensors 2.3 GiBenxerto-camada-000-experts.safetensors 2.3 GiBenxerto-camada-001-experts.safetensors 2.3 GiBenxerto-camada-008-experts.safetensors 2.3 GiBenxerto-camada-009-experts.safetensors 2.3 GiBmodel-00001-of-00048.safetensors 1.9 GiBmodel-00004-of-00048.safetensors 1.8 GiBmodel-00012-of-00048.safetensors 1.8 GiBmodel-00016-of-00048.safetensors 1.8 GiBmodel-00018-of-00048.safetensors 1.8 GiBmodel-00020-of-00048.safetensors 1.8 GiBmodel-00022-of-00048.safetensors 1.8 GiBmodel-00038-of-00048.safetensors 1.8 GiBmodel-00040-of-00048.safetensors 1.8 GiBmodel-00006-of-00048.safetensors 1.8 GiBmodel-00008-of-00048.safetensors 1.8 GiBmodel-00017-of-00048.safetensors 1.8 GiBmodel-00019-of-00048.safetensors 1.8 GiBmodel-00035-of-00048.safetensors 1.8 GiBmodel-00007-of-00048.safetensors 1.8 GiBmodel-00009-of-00048.safetensors 1.8 GiBmodel-00045-of-00048.safetensors 1010 MiBenxerto-camada-012-densa.safetensors 294 MiBenxerto-camada-024-densa.safetensors 294 MiBenxerto-camada-026-densa.safetensors 294 MiBenxerto-camada-030-densa.safetensors 294 MiBenxerto-camada-032-densa.safetensors 294 MiBenxerto-camada-034-densa.safetensors 294 MiBenxerto-camada-040-densa.safetensors 294 MiBenxerto-camada-042-densa.safetensors 294 MiBenxerto-camada-008-densa.safetensors 294 MiBenxerto-camada-011-densa.safetensors 265 MiBenxerto-camada-019-densa.safetensors 265 MiBenxerto-camada-023-densa.safetensors 265 MiBenxerto-camada-025-densa.safetensors 265 MiBenxerto-camada-027-densa.safetensors 265 MiBenxerto-camada-029-densa.safetensors 265 MiBenxerto-camada-031-densa.safetensors 265 MiBenxerto-camada-035-densa.safetensors 265 MiBenxerto-camada-037-densa.safetensors 265 MiBenxerto-camada-039-densa.safetensors 265 MiBenxerto-camada-009-densa.safetensors 265 MiBenxerto-camada-000-densa.safetensors 263 MiBenxerto-camada-001-densa.safetensors 263 MiB