AMD Specific Patches for Llama.cpp

(devnull.land)

43 points | by julianlam 36 minutes ago

5 comments

  • dofm 5 minutes ago
    I saw some blurb a while ago that described llama.cpp as a “model zoo”, which is a great description of its utility and generality.

    In the last couple of days I have been playing with Erik Paperniuk’s M1 port of Inco’s Splash, which has completely transformed the speed of Qwen 3.8 27B and Inkling 2 Mini; it has essentially tripled the speed of the former and more than doubled the speed of the latter.

    This means the Qwen model is fully viable on an M1 Max, where before I had found it a bit of a waiting game. And it arguably transforms the utility of Inkling 2 Mini; extra speed means it can be left to reason for longer and it provides a good rough chat model (though this is not its area of greatest strength).

    I have not yet found anything that can boost Muse Glimmer to the same extent; I would still prefer that.

    But for me I now find that only the rather slow prefill speed really holds the M1 Max back; I suspect these new custom kernels have made the M5 Pro Mac Mini a really cost-effective option.

  • rsolva 21 minutes ago
    Interesting! I have had Claude improve llama.cpp the last few days to get Inkling 2 Mini to fly on my 7900XTX, the improvement has been dramatic both for decode and prefill!

    https://forge.dmz.skyfritt.net/ruben/llama-inkling-2-mini

  • woadwarrior01 20 minutes ago
    Incidentally, llama.cpp is now owned by NVIDIA (via their Huggingface acquisition).
  • pyrolistical 11 minutes ago
    Why won’t llama.cpp take these as PRs?
  • pixelesque 23 minutes ago
    I know it's not completely trivial to do this given how stochastic they are with normal (non-0-temperature) settings, but is anyone actually checking the output quality of the tokens with some of these optimisations, or just chasing pure speed like some of the projects at least appear to be doing?
    • throwa356262 14 minutes ago
      I think you can set the rng seed and that should make the output reproducable.