‹ BackHN Continuity

Thread

Shapelearn Qwen 3.8 27B (13.1 GB VRAM)

104 points · 39 comments · syntaxing

  1. syntaxing · · focus · HN ↗
    I’m on a strix halo @ GPU-5 with MTP and I get 600 prefill and 30 TG which pushes it into a very usable range. The odd thing is that Dflash2 is really slow for me, like sub 10 TG.
    1. naasking · · focus · HN ↗
      I've found the opposite on my R9700 (n-max=7, no other speculative decoding like ngram-mod, which I found slows it down). I think it depends whether your workload and system are bandwidth limited or compute limited. I see draft acceptance around 0.55, so 0.55 * 7 = 3.8 tokens per pass, which on my bandwidth-limited card takes me from 30tps to a peak of 80tps on llama.cpp (MTP peaked at ~65tps). I'm also running a Qwen fine tune whose speculative execution is better than the base model.

      Strix Halo has lower compute than the R9700 but the RAM is also slower, so not sure what would be the ultimate limiting factor.

      1. syntaxing · · focus · HN ↗
        Can you point me towards the model you use, both the main model and the flash model? Curious if I can get ~30 with a higher quant.
        1. naasking · · focus · HN ↗
          Model, Q4_K_M: <a href="https:&#x2F;&#x2F;huggingface.co&#x2F;agentionai&#x2F;Signal-3.8-27B-GGUF" rel="nofollow">https:&#x2F;&#x2F;huggingface.co&#x2F;agentionai&#x2F;Signal-3.8-27B-GGUF

          DFlash2, Q8_0, --spec-draft-n-max=7: <a href="https:&#x2F;&#x2F;huggingface.co&#x2F;z-lab&#x2F;Qwen3.8-27B-DFlash2-GGUF" rel="nofollow">https:&#x2F;&#x2F;huggingface.co&#x2F;z-lab&#x2F;Qwen3.8-27B-DFlash2-GGUF

          I run llama.cpp with -ctv=8, -ctk=q4. Vulkan has better throughput if you&#x27;re doing single-stream decode, but ROCm has better throughput if you have &quot;--parallel 2&quot; or higher. If supporting parallelism, unified kv cache should be off, especially with Vulkan.

          Of course, some of these may be specific to my card so try variations for your hardware. Hermes can concoct a test suite and run some tests for different llama.cpp parameter permutations to find something optimal.

          1. syntaxing · · focus · HN ↗
            Thanks! Have you seen issues with quantizing the kv cache?
Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.