mirror of
https://github.com/NVIDIA/TensorRT-LLM.git
synced 2026-02-18 16:55:08 +08:00
9 lines
308 B
ReStructuredText
9 lines
308 B
ReStructuredText
Speculative Decoding
|
|
====================
|
|
Source https://github.com/NVIDIA/TensorRT-LLM/blob/2128f73d58508a1a0b37119bd851edb19ab88635/examples/llm-api/llm_speculative_decoding.py.
|
|
|
|
.. literalinclude:: ../../../examples/llm-api/llm_speculative_decoding.py
|
|
:lines: 4-95
|
|
:language: python
|
|
:linenos:
|