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.
Андрей Стрельцов (Редактор отдела «Спорт»)
。咪咕体育直播在线免费看对此有专业解读
另一件让我很欣慰的是,我家孩子的免疫力还可以,一个冬天除了经常咳嗽,没出现大问题,相比他们班的其他孩子来说,简直是超人体质。
Results are compared to previous-generation 16-inch MacBook Pro with Apple M4 Pro, 14-core CPU, 20-core GPU, 48GB of unified memory, and a 4TB SSD.
Subscribe to a streaming-friendly VPN (like ExpressVPN)