You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+64-1Lines changed: 64 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,7 +38,7 @@ Server.
38
38
39
39
## Table of Contents
40
40
41
-
|[Pre-requisites](#pre-requisites)|[Installation](#installation)|[Quickstart](#quickstart)|[Serving LLM Models](#serving-llm-models)|[Serving a vLLM Model](#serving-a-vllm-model)|[Serving a TRT-LLM Model](#serving-a-trt-llm-model)|[Additional Dependencies for Custom Environments](#additional-dependencies-for-custom-environments)|[Known Limitations](#known-limitations)|
41
+
|[Pre-requisites](#pre-requisites)|[Installation](#installation)|[Quickstart](#quickstart)|[Serving LLM Models](#serving-llm-models)|[Serving a vLLM Model](#serving-a-vllm-model)|[Serving a TRT-LLM Model](#serving-a-trt-llm-model)|[Serving a LLM model with OpenAI API](#serving-a-llm-model-with-openai-api)|[Additional Dependencies for Custom Environments](#additional-dependencies-for-custom-environments)|[Known Limitations](#known-limitations)|
Triton CLI could also start the triton server with a [OpenAI RESTful API Frontend](https://github.com/triton-inference-server/server/tree/main/python/openai).
301
+
302
+
Triton Server's OpenAI Frontend supports the following API endpoints:
help="Maximum number of seconds to wait for server startup. (Default: 300)",
158
159
)
160
+
subcommand.add_argument(
161
+
"--frontend",
162
+
choices=SUPPORTED_FRONTEND,
163
+
type=str,
164
+
required=False,
165
+
default="kserve",
166
+
help=f"The inference API frontend to use when starting the triton server. Default is the KServe api frontend. Choices: '{SUPPORTED_FRONTEND}'.",
167
+
)
168
+
subcommand.add_argument(
169
+
"--openai-chat-template-tokenizer",
170
+
type=str,
171
+
required=False,
172
+
# TODO: Should probably set a default tokenizer, like 'hf-internal-testing/llama-tokenizer', since not all tokenizers have a chat template
173
+
default=None,
174
+
help="HuggingFace ID or local folder path of the tokenizer to use for chat templates with the OpenAI API frontend. If no tokenizer is specified, it searches for and selects an LLM model's tokenizer from the model repository.",
0 commit comments