Skip to content

Eval bug: Segmentation Fault using kvarn with mtp enabled on gemma-4-31B #125

Description

@Dewamade

Name and Version

./llama-cli --version
version: 11207 (ba27eda)
built with GNU 13.3.0 for Linux x86_64

Operating systems

Linux

GGML backends

CUDA

Hardware

RTX 3090

Models

gemma-4-31B-it-qat-UD-Q4_K_XL.gguf

Problem description & steps to reproduce

Got seg fault when using kvarn with MTP enabled on gemma-4-31B, with no MTP enable it works or using standard kv cache it works with MTP enabled

First Bad Commit

No response

Relevant log output

Logs
./beellama-unsloth-gemma4-31B.sh: line 28: 41424 Segmentation fault      (core dumped) /home/user/llama/beellama.cpp/build/bin/./llama-server -m /home/user/windows-drive/Ai-Model/unsloth/gemma-4-31B-it-qat-GGUF/gemma-4-31B-it-qat-UD-Q4_K_XL.gguf -md /home/user/windows-drive/Ai-Model/unsloth/gemma-4-31B-it-qat-GGUF/mtp-gemma-4-31B-it.gguf -ngl 999 -ngld 999 --ctx-size 163840 -b 2048 -ub 512 -np 1 -ctk kvarn5 -ctv kvarn4 -ctkd q8_0 -ctvd q8_0 --spec-type draft-mtp --spec-draft-n-max 1 --spec-draft-n-min 0.0 -fa on --jinja --chat-template-kwargs '{"enable_thinking":true}' --chat-template-file /home/user/windows-drive/Ai-Model/unsloth/gemma-4-31B-it-qat-GGUF/chat_template.jinja --temp 1.0 --top-p 0.95 --top-k 64 --cont-batching -cram 8192 --cache-reuse 256 --slot-save-path ~/.cache/slot --ctx-checkpoints 32 --metrics

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions