Skip to content

Eval bug: Gemma Models with QAT is not loading #18

Description

@itayo1010

Name and Version

llama-cli --version
version: 8673 (8df5be1)
built with GNU 14.2.0 for Linux aarch64

Operating systems

Linux

GGML backends

CPU

Hardware

its the Radxa rock 5t with armbian.

Models

gemma-4-E2B-it-qat-UD-Q4_K_XL.gguf
gemma-4-E4B-it-qat-UD-Q4_K_XL.gguf

Problem description & steps to reproduce

Model I have tried to load :
gemma-4-E2B-it-qat-UD-Q4_K_XL.gguf
gemma-4-E4B-it-qat-UD-Q4_K_XL.gguf

While running this commands :
ulimit -n 65536
taskset -c 4-7 ./rk-llama.cpp/build/bin/llama-cli -m ./gemma-4-E2B-it-qat-UD-Q4_K_XL.gguf -ngl 99 -t 4 --temp 0 -c 512 --no-mmap -p "What is the meaning of life?"

I have got this error :

Loading model... /llama_model_load: error loading model: missing tensor 'blk.15.attn_k.weight'
llama_model_load_from_file_impl: failed to load model
|llama_params_fit: encountered an error while trying to fit params to free device memory: failed to load model
-llama_model_load: error loading model: missing tensor 'blk.15.attn_k.weight'
llama_model_load_from_file_impl: failed to load model
/common_init_from_params: failed to load model './gemma-4-E2B-it-qat-UD-Q4_K_XL.gguf'
srv load_model: failed to load model, './gemma-4-E2B-it-qat-UD-Q4_K_XL.gguf'
Failed to load the model

First Bad Commit

No response

Relevant log output

I will reproduce if needed

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

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions