Free | No tracking | Every fact with a source|German and English

Error / Graphics card and drivers

LM Studio: Error loading model. (Exit code: …) Unknown error (model won’t load)

LM Studio’s compute engine crashed while loading the model and only returns a meaningless exit code.

The message

Error loading model. (Exit code: 18446744072635812000). Unknown error. Try a different model and/or config.

Affects: LM Studio

Why is this happening?

LM Studio uses a separately installed runtime (llama.cpp with CUDA, Vulkan, ROCm, or CPU). If it crashes while loading, LM Studio only shows a huge exit code or “Exit code: 6”. According to the LM Studio developers, the crash is often in llama.cpp itself, often during GPU offload (reported especially with Vulkan on AMD cards) or after a runtime update. Low memory can also play a role.

How to fix it

  1. Quit LM Studio completely (including from the taskbar notification area) or restart your PC and load the model again. For some people, the error was gone after that.
  2. Run the comparison test without the graphics card: Set GPU Offload to 0 in the model’s load settings (permanently via the gear icon for the model in the “My Models” tab). If the model loads that way, the problem is with the GPU runtime.
  3. Open the runtimes with Strg+Umschalt+R and update the llama.cpp runtime. Alternatively, use lms runtime update in the command line. The developers also recommend testing the latest runtime in the “Beta” selection field when you run into crashes like this.
  4. If the error appeared after a runtime update, enable “Include older runtime versions” in the runtime view and select an older version. You can do this from the command line with lms runtime select.
  5. If a runtime download was incomplete (checksum error), download that runtime again in the runtime view.
  6. In the load settings, lower the Context Length and GPU Offload step by step. This won’t help in every case, but it rules out memory problems.
  7. If nothing helps, as suggested in the message, try a different variant: a different format or a different quantization of the same model.

Set up from scratch again

If it still doesn’t work after that, a fresh setup step by step often helps:

Terms for this

Similar errors

Sources

Checked on Oct 27, 2026. Didn't help? Ask in the forum and name the graphics card, program, and the full message.