lmstudio-ai / lmstudio-ai/lmstudio-python
New Model Grouping hides all non-default quants from the api
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
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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