TensorRT-LLMs/_sources/examples/llm_speculative_decoding.rst.txt
2025-11-07 02:24:02 +00:00

9 lines
308 B
ReStructuredText

Speculative Decoding
====================
Source https://github.com/NVIDIA/TensorRT-LLM/blob/31116825b39f4e6a6a1e127001f5204b73d1dc32/examples/llm-api/llm_speculative_decoding.py.
.. literalinclude:: ../../../examples/llm-api/llm_speculative_decoding.py
:lines: 4-95
:language: python
:linenos: