arXiv:2311.04951 공식 코드 · Papers with Code

Leveraging Speculative Sampling and KV-Cache Optimizations Together for Generative AI using OpenVINO

Haim Barad, Ekaterina Aidova, Yury Gorbachev

제출 2023-11-08

원문 초록

Inference optimizations are critical for improving user experience and reducing infrastructure costs and power consumption. In this article, we illustrate a form of dynamic execution known as speculative sampling to reduce the overall latency of text generation and compare it with standard autoregressive sampling. This can be used together with model-based optimizations (e.g. quantization) to provide an optimized solution. Both sampling methods make use of KV caching. A Jupyter notebook and some sample executions are provided.

함께 살펴볼 논문

공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.

토론

이 논문과 연결된 포럼 글이 아직 없습니다.