New Tool Radar

Local AI

How to Import a GGUF Model File You Already Have into LM Studio

Bring a GGUF model file already on your computer into LM Studio with lms import, so you can chat with it without downloading it again.

Schematic diagram with three boxes: a GGUF file on disk, the command lms import with --copy to keep the original, and the model listed by lms ls under My Models.

Model weights do not always arrive through LM Studio’s own download button. A GGUF file can reach your computer another way: a colleague sends it to you, you download it from Hugging Face yourself, or you convert or fine-tune a model and end up with a .gguf file on disk. Downloading it again inside LM Studio would waste time and disk space. Instead, import the file you already have with one command: lms import.

Import the file, then check it is listed

LM Studio’s own blog gives the command, in its guide to importing a fine-tuned model:

lms import <path/to/model.gguf>

For example, if the file is in your Downloads folder:

lms import ~/Downloads/qwen2.5-0.5b-instruct-q4_k_m.gguf

LM Studio will automatically detect the model and it will populate in the application under “My Models”. Confirm it arrived by listing your models:

lms ls

Then load it and chat with it as usual, for example with lms load qwen2.5-0.5b-instruct followed by lms server start, or by picking it in the Chat tab.

The one thing to check before you import: where the original goes

By default, importing moves the file into LM Studio’s models folder rather than copying it, so the original path will be empty afterwards. If you want to keep the original file where it is — for example, because another app uses the same GGUF file — add the --copy flag, which copies the file into LM Studio’s library and leaves your original untouched:

lms import ~/Downloads/qwen2.5-0.5b-instruct-q4_k_m.gguf --copy

Try it: import one practice file and confirm it works

Take any GGUF file already on your computer — for example, a small qwen2.5-0.5b-instruct-q4_k_m.gguf file you downloaded earlier — and import it with --copy so the original stays put. Then check the result against this table:

Check What you should see If you do not see it
Import finished The command completes and the model appears under “My Models” Check the file path and that the file really ends in .gguf
Listed lms ls shows the model name, size, and architecture The import did not complete — run it again and read the message
Original kept The file is still in your Downloads folder You imported without --copy, so LM Studio moved it
Chats Loading the model and asking a question gets a reply The model may not fit your memory — try a smaller GGUF file

If the model is listed, the original is still where you left it, and a chat answers, the import worked. Expected result. We checked LM Studio’s own blog for the import command. We did not run lms import.

Limits

Importing only registers the file in LM Studio’s library; loading it into memory is a separate step, and a model whose architecture LM Studio does not support will not load even if it imports. A copy takes the model’s full size in disk space a second time, so check free space before using --copy on a multi-gigabyte file. The --copy behaviour is documented by a third-party LM Studio CLI guide, not by LM Studio’s own docs, so confirm the flag with lms import --help on your installed version. We did not run lms import, so no import here is a measured result.

Sources

See all