Summary
For a local deepseek_v4 model, the model listing (both /api/v0/models and the GUI's model info) shows blank/missing arch and quantization fields, even though config.json has valid, well-formed values for both ("architectures": ["DeepseekV4ForCausalLM"], and a "quantization" dict in the same base+per-path-override shape used by other working listings, e.g. mlx-community/DeepSeek-V4-Flash-2bit-DQ).
I don't have a confirmed root cause to report — I traced this as far as ~/.lmstudio/.internal/model-index-cache.json, where the cached entry for the model has "metadata": {"configJson": {}} (completely empty, not partially populated), while an otherwise-comparable local model of a different architecture shows a fully populated configJson with the expected fields. The directory scan itself completes cleanly (no entries in the cache's errors array, correct mtime), so this isn't a parse exception — the classifier appears to produce nothing for this field, specifically for this architecture, for a reason I can't pin down from outside the (presumably frontend) code that builds this.
Ruled out while investigating (in case useful): not caused by a missing chat_template.jinja (added one, matching the convention used by other listings for the same architecture family, no change), not caused by the shape of the quantization field (verified byte-for-byte structurally comparable to a listing that displays correctly).
Repro
- Load or index a local MLX checkpoint with
model_type: deepseek_v4 (config.json has valid top-level architectures and quantization fields).
- Check
/api/v0/models or the GUI's model card.
arch and quantization are absent/blank, unlike other locally-indexed architectures (e.g. a step3p7 model in the same models folder shows both correctly).
Environment
Summary
For a local
deepseek_v4model, the model listing (both/api/v0/modelsand the GUI's model info) shows blank/missingarchandquantizationfields, even thoughconfig.jsonhas valid, well-formed values for both ("architectures": ["DeepseekV4ForCausalLM"], and a"quantization"dict in the same base+per-path-override shape used by other working listings, e.g.mlx-community/DeepSeek-V4-Flash-2bit-DQ).I don't have a confirmed root cause to report — I traced this as far as
~/.lmstudio/.internal/model-index-cache.json, where the cached entry for the model has"metadata": {"configJson": {}}(completely empty, not partially populated), while an otherwise-comparable local model of a different architecture shows a fully populatedconfigJsonwith the expected fields. The directory scan itself completes cleanly (no entries in the cache'serrorsarray, correct mtime), so this isn't a parse exception — the classifier appears to produce nothing for this field, specifically for this architecture, for a reason I can't pin down from outside the (presumably frontend) code that builds this.Ruled out while investigating (in case useful): not caused by a missing
chat_template.jinja(added one, matching the convention used by other listings for the same architecture family, no change), not caused by the shape of thequantizationfield (verified byte-for-byte structurally comparable to a listing that displays correctly).Repro
model_type: deepseek_v4(config.json has valid top-levelarchitecturesandquantizationfields)./api/v0/modelsor the GUI's model card.archandquantizationare absent/blank, unlike other locally-indexed architectures (e.g. astep3p7model in the same models folder shows both correctly).Environment
deepseek-ai/DeepSeek-V4-Flash(deepseek_v4architecture, text-only)