lmstudio-ai / lmstudio-ai/lmstudio-python

New Model Grouping hides all non-default quants from the api

Open
#161 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
875
Forks
166
PR merge metrics
No merged PRs in 30d

Description

I was previously able to pick what I wanted for any model/quant using the list of returned downloaded models, but after this update, I now only get the default single quantization with no way to see the others.

Ex: I downloaded 3 quants for granite-4-h
Image

lms ls and the python sdk basically return this, with just the first mondel
```
{
"type": "llm",
"modelKey": "ibm/granite-4-h-tiny",
"format": "gguf",
"displayName": "Granite 4 H Tiny",
"publisher": "ibm",
"path": "ibm/granite-4-h-tiny",
"sizeBytes": 4231029813,
"paramsString": "7B",
"architecture": "granitehybrid",
"quantization": {
"name": "Q4_K_M",
"bits": 4
},
"vision": false,
"trainedForToolUse": true,
"maxContextLength": 1048576
},
```

How do I programmatically get to know about the other quants and load them?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the lms ls behavior and the Python SDK's downloaded-model listing, reproducing the case with three Granite 4 H quants. Trace where models are grouped and where only the default quantization is returned. Done means callers can discover and load each downloaded quant through the API, with the listing behavior verified.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.