Repository navigation
Replies: 3 comments 3 replies
|
I think this is a very good idea. Recently I’ve been thinking about integrating the performance tests from We could cover operations and small graphs with shapes, quantizations, batch sizes and context lengths representative of real models. This would already make it much easier to investigate performance issues, compare backends and collect useful measurements across different hardware. It’s still far from automatic tuning, but it would provide a useful foundation. Also, maybe we could add, as a first iteration, |
|
I think it would be useful if we can use this to tune a model deployment configuration, and generate a model.ini file for them to reuse. For example, auto-tuning |
|
Excellent idea! Maybe it would also be possible to have adjunct documentation for some of these features, because sometimes features get added and the only way to really understand it is by locating the pull request, and even that can be difficult to understand. |
Uh oh!
There was an error while loading. Please reload this page.
llama.cpp has a bunch of features which are disabled by default. Some of them are
-sm tensorThese easily can provide 2-3x performance uplift. I would like to suggest a tool (which at this point I don't how it works), but would automagically "tune" your setup given a particular GGUF file. As a simple example if the GGUF file has an MTP head, it can suggest running with
spec-type draft-mtp, another more complex example is setting the correct values for--moe-cache-mibon a hybrid VRAM + RAM setup. The idea would be to provide approximately the best performance out-of-the-box for a llama.cpp installation.@angt what do you think? Are you guys already working on something like this?
All reactions