Abstract:Autoregressive decoding is bottlenecked by its sequential nature. Speculative decoding has become a standard way to accelerate inference by using a fast draft model to predict upcoming tokens from a slower target model, and then verifying them in parallel with a single target model forward pass. However, speculative decoding itself relies on a sequential dependence between speculation and verification. We introduce speculative speculative decoding (SSD) to parallelize these operations. While a verification is ongoing, the draft model predicts likely verification outcomes and prepares speculations pre-emptively for them. If the actual verification outcome is then in the predicted set, a speculation can be returned immediately, eliminating drafting overhead entirely. We identify three key challenges presented by speculative speculative decoding, and suggest principled methods to solve each. The result is Saguaro, an optimized SSD algorithm. Our implementation is up to 2x faster than optimized speculative decoding baselines and up to 5x faster than autoregressive decoding with open source inference engines.
Уролог развеял миф о сексе и раке простаты
,详情可参考PDF资料
Конфликт США с Ираном назвали ударом для Украины14:58
如今,拥有吉利坐镇,印奇暂时解决了悬在头顶的达摩克利斯之剑,但与此同时,如何跳出甜蜜的枷锁,在梦想和现实之间找到一个良性的平衡点,将成为其未来一个巨大的挑战。