speculative : PoC for speeding-up inference via speculative sampling by ggerganov · Pull Request #2926 · ggml-org/llama.cpp
ref: #2030
Initial results with the following config indicate a factor of x2 speed-up:
target model: Code Llama 34B F16
draft model: Code Llama 7B Q4_10
Todo:
Refactor sampling code and reuse b...
GitHub