GLM-5.2-mxfp4 fails to load on mlx-lm / oMLX: Missing 285 indexer parameters

#1
by yanzhe127 - opened

I am trying to run mlx-community/GLM-5.2-mxfp4 on an Apple Silicon Mac, but both mlx_lm.server and oMLX fail during model weight loading with:

ValueError: Missing 285 parameters:
model.layers.11.self_attn.indexer.k_norm.bias
model.layers.11.self_attn.indexer.k_norm.weight
model.layers.11.self_attn.indexer.weights_proj.weight
model.layers.11.self_attn.indexer.wk.weight
model.layers.11.self_attn.indexer.wq_b.weight
...
MLX Community org

It requires this PR. I'll update the model card as well.

I also got this model running on a 512GB Mac Studio using Pedro’s PR branch + jinja2

Sign up or log in to comment

Free AI Image Generator No sign-up. Instant results. Open Now