lm-evaluation-harness
lm-evaluation-harness copied to clipboard
Fix slow gguf tests
In this pull request, we add a new API model, "builtin_gguf". It is derived from https://github.com/abetlen/llama-cpp-python/issues/1983 But we can't get a correct results directly, due to some errors on the API of llama-cpp-python. I have post an issue on llama-cpp-python project. In this issue, I give my solution for the specific need in "builtin_gguf" and make some optimization for these APIs. You can modify the code in llama-cpp-python manually according to the issue. But my work can only meet our needs when running within "builtin_gguf". It is not thorough for llama-cpp-python. Thus I do not make a pull request. It is wait for others to solve. By the way, this API-model is still not complete. Hope you guys can complement it.