No nextn_predict_layers?

#1
by saldanhacl - opened

Hi! Super excited about this release. I just cloned https://github.com/am17an/llama.cpp/tree/mtp-clean as per instructions but I am getting this error when running the Qwen3.6-27B-IQ4_XS version:

GGML_ASSERT(hparams.nextn_predict_layers > 0 &&
  "QWEN35_MTP requires nextn_predict_layers > 0") failed

Not sure if I am doing something wrong or the model requires a different setup. Here's my llama-swap config:

  "qwen3.6-27b":
    name: "Qwen3.6-27B MTP Q4_1"
    description: "Qwen3.6-27B MTP Q4_1 via PR #22673"
    env:
    - "MALLOC_ARENA_MAX=4"
    - "GGML_CUDA_NO_VMM=1"
    cmd: |
      ${llama-mtp-server}
      --model ${models-base}/Qwen3.6-27B-IQ4_XS.gguf
      ${common-args}
      ${sampling-default}
      --ctx-size 65536
      --cache-type-k q4_0
      --cache-type-v q4_0
      --chat-template-kwargs '{"preserve_thinking": true}'
      -b 512
      -ub 256
      -np 1
      --spec-type mtp
      --spec-draft-n-max 2
      -ngl 55
Unsloth AI org

These ggufs aren't ready yet - still WIP - we'll announce it when they're fully ready!

Unsloth AI org

Yes we noticed Qwen's official repos need "mtp_num_hidden_layers": 1, ie:

image

We had to update our own uploads with this config - but I will mention it in the PR

Unsloth AI org

It should work now if folks want to retry thanks!

Sign up or log in to comment