Lmstudio

Latest version: v1.2.0

Safety actively analyzes 722491 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

1.2.0

What's Changed

* Align model loading config format with lmstudio-js 47 (previously aligned with lmstudio-js 46)
* Note: users of the experimental `gpuOffload` config setting will need to switch to setting the (still experimental) `gpu` field
* Explicitly note in relevant docstrings that details of config fields are not yet formally stabilised
* Pass previously omitted config settings to the server (https://github.com/lmstudio-ai/lmstudio-python/pull/51)
* Add speculative decoding example (https://github.com/lmstudio-ai/lmstudio-python/pull/55)
* Publish config retrieval APIs (https://github.com/lmstudio-ai/lmstudio-python/pull/53, https://github.com/lmstudio-ai/lmstudio-python/pull/54)
* Add server side token counting APIs (https://github.com/lmstudio-ai/lmstudio-python/pull/57)
* Simplify prediction API type hinting (https://github.com/lmstudio-ai/lmstudio-python/issues/59)
* Add preset config support in prediction APIs (https://github.com/lmstudio-ai/lmstudio-python/pull/58) (Requires LM Studio 0.14+)
* Add GBNF grammar support when requesting structured responses (https://github.com/lmstudio-ai/lmstudio-python/pull/60) (Requires LM Studio 0.14+)

**Full Changelog**: https://github.com/lmstudio-ai/lmstudio-python/compare/1.1.0...1.2.0

1.1.0

What's Changed
* Added SDK versioning policy to `README.md` (https://github.com/lmstudio-ai/lmstudio-python/pull/42)
* Support Python 3.10 (https://github.com/lmstudio-ai/lmstudio-python/pull/41)
* Support image input for VLMs (https://github.com/lmstudio-ai/lmstudio-python/issues/34)
* Publish file preparation APIs (https://github.com/lmstudio-ai/lmstudio-python/pull/37, https://github.com/lmstudio-ai/lmstudio-python/pull/39)
* Add image preparation APIs (https://github.com/lmstudio-ai/lmstudio-python/pull/38, https://github.com/lmstudio-ai/lmstudio-python/pull/39)
* Avoid corrupting snake_case keys in structured output schemas supplied via prediction config dicts (https://github.com/lmstudio-ai/lmstudio-python/pull/43)

**Full Changelog**: https://github.com/lmstudio-ai/lmstudio-python/compare/1.0.1...1.1.0

1.0.1

What's Changed
* Handle JIT model unloading notification messages (https://github.com/lmstudio-ai/lmstudio-python/pull/26)
* Simplify inferred tool names (https://github.com/lmstudio-ai/lmstudio-python/pull/27)
* Accept tool use messages via public `Chat` APIs (https://github.com/lmstudio-ai/lmstudio-python/pull/28)

**Full Changelog**: https://github.com/lmstudio-ai/lmstudio-python/compare/1.0.0...1.0.1

1.0.0

Initial release of Python SDK

1.0.0rc1

Initial release of Python SDK (release candidate)

Links

Releases

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.