TensorRT-LLMs/docs/source/llm-api-examples/index.rst
Dan Blanaru 16d2467ea8 Update TensorRT-LLM (#2755)
* Update TensorRT-LLM

---------

Co-authored-by: Denis Kayshev <topenkoff@gmail.com>
Co-authored-by: akhoroshev <arthoroshev@gmail.com>
Co-authored-by: Patrick Reiter Horn <patrick.horn@gmail.com>

Update
2025-02-11 03:01:00 +00:00

23 lines
649 B
ReStructuredText

=======================================================
LLM Examples Introduction
=======================================================
Here is a simple example to show how to use the LLM with TinyLlama.
.. literalinclude:: ../../../examples/llm-api/quickstart_example.py
:language: python
:linenos:
The LLM API can be used for both offline or online usage. See more examples of the LLM API here:
.. toctree::
:maxdepth: 1
:caption: LLM API Examples
%EXAMPLE_DOCS%
For more details on how to fully utilize this API, check out:
* `Common customizations <customization.html>`_
* `LLM API Reference <../llm-api/index.html>`_