Skip to content

Eval bug: Model type gemma4_assistant not supported #23161

Description

@zelenukhin

Name and Version

llama-server --version
version: 9181 (18675b6)
built with Clang 19.1.5 for Windows x86_64

Operating systems

Windows

GGML backends

CUDA

Hardware

Core i7 6700k, RTX 3060 12 Gb

Models

Model: gemma-4-31B-it-UD-IQ3_XXS.gguf

Draft gemma-4 31b Model:
https://huggingface.co/AtomicChat/gemma-4-31B-it-assistant-GGUF/

Problem description & steps to reproduce

Try:
llama-server.exe -m c:\gemma-4\gemma-4-31B-it-UD-IQ3_XXS.gguf -md c:\gemma-4\gemma-4-31B-it-assistant.Q4_K_S.gguf --spec-type draft-mtp --host 192.168.1.231 --port 8080 -c 4096 -ngl 38 --mlock -fa on -ctk q8_0 -ctv q8_0 -t 4 -np 1 --chat-template-kwargs "{"enable_thinking": false}"

Error:
Model type gemma4_assistant not supported

First Bad Commit

No response

Relevant log output

Logs
c:\llama.cpp>llama-server.exe -m c:\gemma-4\gemma-4-31B-it-UD-IQ3_XXS.gguf -md c:\gemma-4\gemma-4-31B-it-assistant.Q4_K_S.gguf --spec-type draft-mtp --host 192.168.1.231 --port 8080 -c 4096 -ngl 38 --mlock -fa on -ctk q8_0 -ctv q8_0 -t 4 -np 1 --chat-template-kwargs "{\"enable_thinking\": false}"
�[34m0.01.145.891�[0m �[35mW Setting 'enable_thinking' via --chat-template-kwargs is deprecated. Use --reasoning on / --reasoning off instead.
�[0m�[34m0.01.146.965�[0m �[32mI �[0mlog_info: verbosity = 3 (adjust with the `-lv N` CLI arg)
�[34m0.01.146.967�[0m �[32mI �[0mdevice_info:
�[34m0.01.300.746�[0m �[32mI �[0m  - CUDA0   : NVIDIA GeForce RTX 3060 (12287 MiB, 11245 MiB free)
�[34m0.01.300.758�[0m �[32mI �[0m  - CPU     : Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz (16308 MiB, 7964 MiB free)
�[34m0.01.300.983�[0m �[32mI �[0msystem_info: n_threads = 4 (n_threads_batch = 4) / 8 | CUDA : ARCHS = 500,610,700,750,800,860,890 | USE_GRAPHS = 1 | PEER_MAX_BATCH_SIZE = 128 | CPU : SSE3 = 1 | SSSE3 = 1 | AVX = 1 | AVX2 = 1 | F16C = 1 | FMA = 1 | BMI2 = 1 | LLAMAFILE = 1 | OPENMP = 1 | REPACK = 1 |
�[34m0.01.301.719�[0m �[32mI �[0msrv          init: running without SSL
�[34m0.01.302.322�[0m �[32mI �[0msrv          init: using 7 threads for HTTP server
�[34m0.01.303.784�[0m �[32mI �[0msrv         start: binding port with default address family
�[34m0.01.318.308�[0m �[32mI �[0msrv          main: loading model
�[34m0.01.318.552�[0m �[32mI �[0msrv    load_model: loading model 'c:\gemma-4\gemma-4-31B-it-UD-IQ3_XXS.gguf'
�[34m0.01.319.043�[0m �[32mI �[0mcommon_init_result: fitting params to device memory ...
�[34m0.01.319.045�[0m �[32mI �[0mcommon_init_result: (for bugs during this step try to reproduce them with -fit off, or provide --verbose logs if the bug only occurs with -fit on)
�[34m0.02.983.373�[0m �[35mW load: control-looking token:      1 '<eos>' was not control-type; this is probably a bug in the model. its type will be overridden
�[0m�[34m0.02.983.784�[0m �[35mW load: control-looking token:     50 '<|tool_response>' was not control-type; this is probably a bug in the model. its type will be overridden
�[0m�[34m0.02.984.338�[0m �[35mW load: control-looking token:    212 '</s>' was not control-type; this is probably a bug in the model. its type will be overridden
�[0m�[34m0.03.034.845�[0m �[35mW load: special_eog_ids contains '<|tool_response>', removing '</s>' token from EOG list
�[0m�[34m0.23.835.356�[0m �[35mW llama_context: n_ctx_seq (4096) < n_ctx_train (262144) -- the full capacity of the model will not be utilized
�[0m�[34m0.24.089.583�[0m �[35mW common_init_from_params: warming up the model with an empty run - please wait ... (--no-warmup to disable)
�[0m�[34m0.25.947.661�[0m �[32mI �[0msrv    load_model: loading draft model 'c:\gemma-4\gemma-4-31B-it-assistant.Q4_K_S.gguf'
�[34m0.26.443.958�[0m �[31mE llama_model_load: error loading model: unknown model architecture: 'gemma4_assistant'
�[0m�[34m0.26.443.963�[0m �[31mE llama_model_load_from_file_impl: failed to load model
�[0m�[34m0.26.443.966�[0m �[31mE srv    load_model: failed to load draft model, 'c:\gemma-4\gemma-4-31B-it-assistant.Q4_K_S.gguf'
�[0m�[34m0.26.444.916�[0m �[32mI �[0msrv    operator(): operator(): cleaning up before exit...
�[34m0.26.452.513�[0m �[31mE srv          main: exiting due to model loading error
�[0m
c:\llama.cpp>

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions