Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions docs/source/commands/trtllm-serve/trtllm-serve.rst
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,9 @@ Then, start the server with the configuration file:
Multimodal Chat API
~~~~~~~~~~~~~~~~~~~

You can query Completions API with any http clients, a typical example is OpenAI Python client:
You can query the Chat API with any HTTP client, a typical example is OpenAI Python client:

.. literalinclude:: ../../../../examples/serve/openai_completion_client_for_multimodal.py
.. literalinclude:: ../../../../examples/serve/openai_chat_client_for_multimodal.py
:language: python
:linenos:

Expand Down Expand Up @@ -168,8 +168,8 @@ TRT-LLM multimodal supports the following modalities and data types (depending o

.. note::
To convert images to base64-encoded format, use the utility function
:func:`tensorrt_llm.utils.load_base64_image`. Refer to the
`load_base64_image utility <https://github.com/NVIDIA/TensorRT-LLM/blob/main/tensorrt_llm/utils/load_base64_image.py>`__
:func:`tensorrt_llm.inputs.encode_base64_image`. Refer to the
`encode_base64_image utility <https://github.com/NVIDIA/TensorRT-LLM/blob/main/tensorrt_llm/inputs/utils.py>`__
for implementation details.

**Image embeddings**
Expand Down Expand Up @@ -352,4 +352,4 @@ This syntax section lists all command line arguments for ``trtllm-serve``'s subc
:nested: full

Besides the above examples, `trtllm-serve` is also used as an entrypoint for performance benchmarking.
Please refer to `Performance Benchmarking with `trtllm-serve` <https://github.com/NVIDIA/TensorRT-LLM/blob/main/docs/source/commands/trtllm-serve/trtllm-serve-bench.md>` for more details.
Please refer to `Performance Benchmarking with trtllm-serve <https://github.com/NVIDIA/TensorRT-LLM/blob/main/docs/source/commands/trtllm-serve/run-benchmark-with-trtllm-serve.md>`__ for more details.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This drops the trailing newline at EOF. .pre-commit-config.yaml enables end-of-file-fixer with no .rst exclusion, so this will be modified by the hook (and fail the pre-commit CI check). Re-add the newline, or run pre-commit run --files docs/source/commands/trtllm-serve/trtllm-serve.rst and re-stage.