TensorRT-LLMs/_sources/llm-api-examples/llm_lookahead_decoding.rst.txt
2024-12-25 13:44:02 +08:00

9 lines
288 B
ReStructuredText

Generate Text Using Lookahead Decoding
======================================
Source https://github.com/NVIDIA/TensorRT-LLM/tree/main/examples/llm-api/llm_lookahead_decoding.py.
.. literalinclude:: ../../../examples/llm-api/llm_lookahead_decoding.py
:language: python
:linenos: