请求加入做种队列,或现在用 pf download pierrelamy/sarvam-105b-mlx-q6 获取(CLI 指南)。
This is an MLX 6-bit affine quantization of sarvamai/sarvam-105b, converted
from the public BF16 checkpoint abhinand/sarvam-105b-bf16.
The model is a base/pretrain text-generation model using the sarvam_mla
architecture: DeepSeek-V3-style MLA attention plus sigmoid MoE routing. It is
not an instruction-tuned chat model.
We tested both q4 and q6 locally on Apple Silicon. The q4 conversion loads and runs, but it is not usable: it collapses to whitespace with probability 1.0 across sanity prompts. The q6 conversion is coherent and passed real-weight validation, so q6 is the published practical checkpoint.
Local validation summary:
| Quant | Size | Result |
|---|---|---|
| q4, group size 64 | 56 GB | Broken: collapsed whitespace forward |
| q6, group size 64 | 80 GB | Coherent top-token and generation checks |
Example q6 top-token probes:
| Prompt | Top prediction |
|---|---|
The capital of France is |
Paris |
def add(a, b):\n return |
a |
Measured locally on an Apple Silicon M5 Max host with 128 GB unified memory.
sarvam_mla port during
conversion.The q4 collapse was investigated against RoPE, config mapping, and the
kv_b_proj sanitize path; those matched the reference implementation. The
failure is attributed to naive 4-bit quantization of this large
DeepSeek-style MLA-MoE model's activation outliers.
This artifact includes the custom configuration/modeling files referenced by
auto_map. Use MLX tooling with remote/local custom code support as needed.
from mlx_lm import load, generate
model, tokenizer = load("pierrelamy/sarvam-105b-mlx-q6")
response = generate(model, tokenizer, prompt="The capital of France is", max_tokens=32)
print(response)
sarvamai/sarvam-105babhinand/sarvam-105b-bf16model.safetensors.index.json: 86,202,965,504 bytesmodel.safetensors.index.json: 106,031,767,424有文件?提交种子。
发布种子model-00009-of-00018.safetensors 5.4 GBmodel-00016-of-00018.safetensors 5.4 GBmodel-00014-of-00018.safetensors 5.4 GBmodel-00007-of-00018.safetensors 5.4 GBmodel-00002-of-00018.safetensors 5.4 GBmodel-00017-of-00018.safetensors 5.4 GBmodel-00011-of-00018.safetensors 5.4 GBmodel-00004-of-00018.safetensors 5.4 GBmodel-00012-of-00018.safetensors 5.3 GBmodel-00005-of-00018.safetensors 5.3 GBmodel-00001-of-00018.safetensors 4.8 GBmodel-00008-of-00018.safetensors 4.6 GBmodel-00013-of-00018.safetensors 4.6 GBmodel-00006-of-00018.safetensors 4.6 GBmodel-00015-of-00018.safetensors 4.6 GBmodel-00010-of-00018.safetensors 4.6 GBmodel-00003-of-00018.safetensors 4.6 GBmodel-00018-of-00018.safetensors 67 MBsarvamai/sarvam-105b