An unofficial, read-only Hacker News reader. Join the beta →

AMD-specific fork of llama.cpp (opens external site)

442 points by julianlam 1 day ago | devnull.land | 108 comments on HN

View full thread · View on Hacker News

Comment thread (4)

  1. 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?
    Replies (1)
    1. I think you can set the rng seed and that should make the output reproducable.
      Replies (2)
      1. Reproducible on the same inference engine. Most of the attention optimizations rely on "-Ofast-math" optimization, i.e. the results are different, hopefully not by much. I think pixelesque is right that this deserves more attention, there have definitely been cases of significant regression of output quality. Most likely even in Anthropic/OpenAI APIs, not just in vibe-coded llama.cpp forks.

        This guy benchmarked this for vLLM attention backends with its-not-great results: https://forum.level1techs.com/t/why-your-local-llm-feels-dum.... It is not necessarily easy to measure the quality loss. It often matters way more at larger context size - on agentic runs, not Q/A; and agentic benchmarks are more difficult to run than the Q/A ones.

      2. You can also, you know, check logits/perplexity which covers much more ground