If multiple devices connected via LM Link have the same model downloaded, client.system.listDownloadedModels() only returns a single ModelInfo object for that model with a single deviceIdentifier, silently dropping the others. This makes it impossible to determine which models are available on which devices when the same model is downloaded to multiple devices.
For example, if I have two devices (a MacBook and a Mac Studio) and have the following models downloaded:
- MacBook:
qwen/qwen2.5-coder-14b (4-bit),
- Mac Studio:
qwen/qwen2.5-coder-14b (4-bit), google/gemma-4-31b (4-bit)
I would expect something like this from listDownloadedModels():
[
LLMInfo(modelKey='google/gemma-4-31b`, deviceIdentifier='<mac_studio_id>', quantization={ name: '4bit', bits: 4 }, ...),
LLMInfo(modelKey='qwen/qwen2.5-coder-14b', deviceIdentifier='<macbook_id>`, quantization={ name: '4bit', bits: 4 }, ...),
LLMInfo(modelKey='qwen/qwen2.5-coder-14b', deviceIdentifier='<mac_studio_id>`, quantization={ name: '4bit', bits: 4 }, ...)
]
But instead I just get this:
[
LLMInfo(modelKey='google/gemma-4-31b`, deviceIdentifier='<mac_studio_id>', quantization={ name: '4bit', bits: 4 }, ...),
LLMInfo(modelKey='qwen/qwen2.5-coder-14b', deviceIdentifier='<mac_studio_id>`, quantization={ name: '4bit', bits: 4 }, ...)
]
The MacBook's entry for qwen/qwen2.5-coder-14b is silently omitted entirely
If multiple devices connected via LM Link have the same model downloaded,
client.system.listDownloadedModels()only returns a singleModelInfoobject for that model with a singledeviceIdentifier, silently dropping the others. This makes it impossible to determine which models are available on which devices when the same model is downloaded to multiple devices.For example, if I have two devices (a MacBook and a Mac Studio) and have the following models downloaded:
qwen/qwen2.5-coder-14b(4-bit),qwen/qwen2.5-coder-14b(4-bit),google/gemma-4-31b(4-bit)I would expect something like this from
listDownloadedModels():But instead I just get this:
The MacBook's entry for qwen/qwen2.5-coder-14b is silently omitted entirely