Documentation
runtime
Use lms import to bring an existing model file into LM Studio without downloading it.
<file-path> : string
Path to the model file to import
--user-repo (optional) : string
Set the target folder as
-y, --yes (optional) : flag
Skip confirmations and try to infer the model location from the file name
-c, --copy (optional) : flag
Copy the file instead of moving it
-L, --hard-link (optional) : flag
Create a hard link instead of moving or copying the file
-l, --symbolic-link (optional) : flag
Create a symbolic link instead of moving or copying the file
--dry-run (optional) : flag
Do not perform the import, just show what would be done
Only one of --copy, --hard-link, or --symbolic-link can be used at a time. If none is provided, lms import moves the file by default.
lms import ~/Downloads/model.gguf
lms import ~/Downloads/model.gguf --copy
Use --user-repo to skip prompts and place the model in the chosen namespace:
lms import ~/Downloads/model.gguf --user-repo my-user/custom-models
lms import ~/Downloads/model.gguf --dry-run
This page's source is available on GitHub
On this page
Flags
Import a model file
Keep the original file
Pick the target folder yourself
Dry run before importing