mirror of
https://github.com/NVIDIA/TensorRT-LLM.git
synced 2026-01-28 14:44:24 +08:00
9 lines
308 B
ReStructuredText
9 lines
308 B
ReStructuredText
Speculative Decoding
|
|
====================
|
|
Source https://github.com/NVIDIA/TensorRT-LLM/blob/9ba14263db0045ed3fa0860f949b5ce320107eb3/examples/llm-api/llm_speculative_decoding.py.
|
|
|
|
.. literalinclude:: ../../../examples/llm-api/llm_speculative_decoding.py
|
|
:lines: 4-95
|
|
:language: python
|
|
:linenos:
|