NLP-KG
Semantic Search

Publication:

Accelerating Production LLMs with Combined Token/Embedding Speculators

Davis WertheimerJoshua RosenkranzThomas ParnellSahil SunejaPavithra RanganathanR. GantiM. Srivatsa • @arXiv • 29 April 2024

TLDR: The design and training of novel speculative decoding draft models, for accelerating the inference speeds of large language models in a production environment by conditioning draft predictions on both context vectors and sampled tokens, are described.

Citations: 0
Abstract: This technical report describes the design and training of novel speculative decoding draft models, for accelerating the inference speeds of large language models in a production environment. By conditioning draft predictions on both context vectors and sampled tokens, we can train our speculators to efficiently predict high-quality n-grams, which the base model then accepts or rejects. This allows us to effectively predict multiple tokens per inference forward pass, accelerating wall-clock inference speeds of highly optimized base model implementations by a factor of 2-3x. We explore these initial results and describe next steps for further improvements.

Related Fields of Study

loading

Citations

Sort by
Previous
Next

Showing results 1 to 0 of 0

Previous
Next

References

Sort by
Previous
Next

Showing results 1 to 0 of 0

Previous
Next