model.safetensors.index.json describes a 4-shard, 17.5 GB checkpoint that is not in this repo

#2
by Kulario - opened

Hi, and thanks for the quantized build.

model.safetensors.index.json in this repository does not match the weight
files that ship with it.

What the index declares:

  • 4 shard files: model-00001-of-00004.safetensors … model-00004-of-00004.safetensors
  • 750 tensor entries in weight_map, all prefixed model.language_model.…
  • metadata.total_size: 17534247392 bytes (~17.5 GB)

What the repository actually contains:

  • 2 shard files: model-00001-of-00002.safetensors (5353972197 bytes) and
    model-00002-of-00002.safetensors (406693049 bytes), 5760665246 bytes total
  • 1258 tensors, prefixed language_model.…, with .scales and .biases
    entries for each quantized layer

The intersection between the tensor names in the index and the tensor names in
the shards is empty, and none of the four files the index names exists in the
repository. The declared total size is about three times the size of the files
that are actually published.

The same mismatch is present in mlx-community/Qwen3-VL-8B-Instruct-8bit.
Neither repository has been modified since 2025-10-14.

Why this matters in practice: loaders that glob model*.safetensors (mlx-lm
among them) ignore the index and work fine. Loaders that read the index to
verify the checkpoint before loading conclude that the weights are missing. On
our side that produced has its config cached but its model weights are missing, and with HF_HUB_OFFLINE=1 set it turned into a hard refusal to
start, because the "missing" shards could not be fetched. Downloading the
repository again does not help — the published index is the same.

Regenerating model.safetensors.index.json from the shards that are actually
published would fix this. Happy to provide any further detail you need.

Thanks!

MLX Community org

Is model performance maintained when using a quantized build?
In my experience, model's performance will drop a bit.

Sign up or log in to comment