Generate text ============= Source https://github.com/NVIDIA/TensorRT-LLM/tree/main/examples/llm-api/llm_inference.py. .. literalinclude:: ../../../examples/llm-api/llm_inference.py :language: python :linenos: