LM Studio: "unknown model architecture: 'spark2_5'" after following build instructions

#3
by MasterLooser - opened

Hi, I'm trying to load Spark-X2.5-4B-GGUF in LM Studio following the LM Studio Quick Start instructions on the repo page.

What I did:

Cloned XHToken/llama.cpp, built it with CMake, and copied the output from the bin/debug folder into LM Studio's extensions/backends/cuda12 directory (replacing the existing runtime files)
Downloaded the GGUF model via LM Studio's built-in model downloader (the model is in a separate folder I defined in LM Studio settings, not inside .lmstudio itself)
Opened LM Studio, selected the model, and clicked Load
Error:

Failed to load model.
error loading model: unknown model architecture: 'spark2_5'
My questions:

I'm not sure if copying from bin/debug was correct. should it have been from somewhere else?
I replaced the cuda12 backend, but should it have been a different runtime directory?
Is the spark2_5 architecture name something that needs to be registered, or should the custom llama.cpp build already recognize it?
The GGUF file was downloaded directly through LM Studio's downloader, so it should be intact. Happy to provide more details if needed.

Thanks!

SparkLLM org

Could you check whether Runtime Selections in LM Studio is set to the same CUDA 12 runtime whose files you replaced? It may still be using a different runtime.

i did eventually get it to run by overwritting the CUDA runtime (not CUDA 12) but then i had the problem that it would only load into RAM and completly ignore the vram (even tho gpu offloading was on and maxed out)

Sign up or log in to comment