Documentation
lms unload
Reference
The lms unload
command unloads a model from memory. You can optionally specify a model key to unload a specific model, or use the --all
flag to unload all models.
[model_key] (optional) : string
The key of the model to unload. If not provided, you will be prompted to select one
--all (optional) : flag
Unload all currently loaded models
--host (optional) : string
The host address of a remote LM Studio instance to connect to
Unload a single model from memory by running:
lms unload <model_key>
If no model key is provided, you will be prompted to select from currently loaded models.
To unload all currently loaded models at once:
lms unload --all
lms unload
supports the --host
flag to connect to a remote LM Studio instance:
lms unload <model_key> --host <host>
For this to work, the remote LM Studio instance must be running and accessible from your local machine, e.g. be accessible on the same subnet.