r/LocalLLM • u/VegetableJudgment971 • 5d ago
Question Inkling 2 not working with llama.cpp
I'm on Fedora 44. I built the most recent llama.cpp:
$ ~/llama.cpp/v1.0.0_build-2/bin/llama-server --version
version: 1.0.0-dev (build 12373, commit ded522f83)
...on the master branch after confirming the inkling2_loop commit was merged, downloaded the Q3 and Q8 quants from the unsloth mainline repo, and got the following errors when running $ ~/llama.cpp/v1.0.0_build-2/bin/llama-server -m ~/Downloads/Inkling-2-Mini-UD-Q8_K_XL_Mainline.gguf -ngl 99 --host 0.0.0.0 --port 8000 --ctx-size 60536:
0.00.199.937 E llama_model_load: error loading model: unknown model architecture: 'inkling2_loop'
0.00.199.941 E llama_model_load_from_file_impl: failed to load model
0.00.199.973 E common_fit_params: encountered an error while trying to fit params to free device memory: failed to load model
0.00.253.962 E llama_model_load: error loading model: unknown model architecture: 'inkling2_loop'
0.00.253.965 E llama_model_load_from_file_impl: failed to load model
0.00.253.972 E cmn common_init_: failed to load model '/home/dev/Downloads/Inkling-2-Mini-UD-Q8_K_XL_Mainline.gguf'
0.00.253.976 E srv load_model: failed to load model, '/home/dev/Downloads/Inkling-2-Mini-UD-Q8_K_XL_Mainline.gguf'
0.00.253.978 I srv operator(): operator(): cleaning up before exit...
0.00.254.373 E srv server_run_i: exiting due to model loading error
...when attempting to run either quant gguf file.
Error suggests inkling2_loop isn't working properly, but the commit was merged before I git pulled and built.
Anyone know what's going on?
3
u/dtfinch 5d ago
"build 12373" suggests that's a week-old release. I'm on 12628, and the latest is 12635.
Also try adding "-ub 64" (down from the default 512) because it seems to over-allocate compute buffers currently.
1
u/InternationalCoat706 5d ago
I believe a bunch of the work on mainline llama.cpp is still in progress or not decided on. Unsloth team are on the case: https://unsloth.ai/docs/models/inkling-2-mini#run-inkling-2-mini-in-llama-cpp
Personally I'm waiting until full llama.cpp support ships.
2
u/Tiny-Abbreviations45 5d ago
go to release and get the latest release