Code Monkey home page Code Monkey logo

Comments (5)

JohannesGaessler avatar JohannesGaessler commented on June 22, 2024 1

A 2.4-3.4x speedup, while impressive, cannot be judged in a vacuum. You always need to consider the tradeoffs between speed, quality, and memory use. The difference in memory use should be negligible. However, since you need to specifically finetune the model in order to enable this speedup this degrades the quality of the outputs. The paper reports an increase in perplexity from 8.0 to 9.5. These values are not directly comparable to llama.cpp values since they depend on a lot of factors but I think that this is a lot more than I would intuitively expect from e.g. quantization.

My personal philosophy is that I want to enable the evaluation of large models with negligible precision loss compared to the original weights at the lowest possible cost. So I personally am not interested in implementing something like this.

from llama.cpp.

JohannesGaessler avatar JohannesGaessler commented on June 22, 2024 1

To clarify my position: I am not willing to do an implementation myself but I would be willing to review someone else's implementation.

from llama.cpp.

sdmorrey avatar sdmorrey commented on June 22, 2024

My read is the change is to training not code. So it's a fine tuning procedure on the model itself? Is that right or am I missing something?

from llama.cpp.

JohannesGaessler avatar JohannesGaessler commented on June 22, 2024

llama.cpp would still need code changes specifically to support the technique described in the paper.

from llama.cpp.

sdmorrey avatar sdmorrey commented on June 22, 2024

I'll poke my head over there and see if they're willing to help with that because I'd be very interested in running this. Even with somewhat lower accuracy because I get billed by the millisecond for inference so anything that can speed it up would be a huge savings.

from llama.cpp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.