Replies: 2 comments
|
The answer is in the last block of your own log. This is not a bad GGUF and not a memory problem, despite what the error message says. It is a shell quoting bug in how Studio builds the llama-server command. The actual errorllama-server started fine, then rejected one argument and exited with code 1. Studio caught the non-zero exit and reported it as a generic load failure, which is why the message misleads you toward the GGUF and RAM. Why your manual run works and Studio's does notCompare the two commands in your post: Yours (works): Studio's (fails): Yours is single quoted. Studio's is bare. Without quotes the shell splits on whitespace and strips the quoting, so llama-server receives So this is a Studio bug in command construction, not something wrong on your side. Second thing your log showsStudio is passing a deprecated argument as well as mis-quoting it. Once llama.cpp removes the deprecated path, this will break a second way. Workarounds until it is fixedSince your manual command already works, the simplest option is to run llama-server yourself and point Studio at it as an external endpoint, if your version supports that. If you want Studio to launch it, the goal is to stop it emitting the unquoted
For the maintainersThe fix is to shell quote the JSON value when constructing the argument list, or better, to pass arguments as a list to Relevant lines from the failing invocation, for reference: versus what llama-server needs: Hope that unblocks you. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
unsloth studio load DeepSeek-V4-Flash-0731-GGUF failed:
Failed to load model: llama-server failed to start. Check that the GGUF file is valid and you have enough memory.
ERROR log >>>
But it works fine when run manually.
Log >>>>
Run unsloth studio log command:
/root/.unsloth/llama.cpp/llama-server -m /root/.cache/huggingface/hub/models--unsloth--DeepSeek-V4-Flash-0731-GGUF/snapshots/57326b941c4603e24d1a5e71c22520c66e086eb8/UD-IQ3_XXS/DeepSeek-V4-Flash-0731-UD-IQ3_XXS-00001-of-00004.gguf --port 39059 --parallel 4 --flash-attn on --no-context-shift -c 4096 --alias unsloth/DeepSeek-V4-Flash-0731-GGUF --fit on --metrics --slot-save-path /root/.unsloth/studio/cache/llama-slots --kv-unified --jinja --spec-default --chat-template-kwargs {"enable_thinking": true} error while handling argument "--chat-template-kwargs": [json.exception.parse_error.101] parse error at line 1, column 2: syntax error while parsing object key - invalid literal; last read: '{e'; expected string literal usage: --chat-template-kwargs STRING sets additional params for the json template parser, must be a valid json object string, e.g. '{"key1":"value1","key2":"value2"}' (env: LLAMA_ARG_CHAT_TEMPLATE_KWARGS) to show complete usage, run with -hAll reactions