chunk_id large_stringlengths 36 36 | doc_type large_stringclasses 2
values | category large_stringclasses 17
values | document large_stringclasses 50
values | version_raw large_stringclasses 590
values | chunk_index int64 0 262 | text large_stringlengths 11 5.69k | file_path large_stringclasses 882
values |
|---|---|---|---|---|---|---|---|
8e7a9dd2-07d1-5c4b-bca7-6d5fa607673d | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_quick-start-guide | 110rc5 | 1 | 1. Expose a port (e.g., 8000) to allow external access to the server from outside the container.
2. Open a new terminal and use the following command to directly attach to the running container:
```None
docker exec -it <container_id> bash
```
After the server has started, you can access well-known OpenAI endpoints su... | large_dataset/raw/docs/nvidia_tensorrt-llm/quick-start-guide/quick-start-guide_110rc5.md |
b29cf7fb-1b69-54ad-9b9b-1c774509b981 | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_quick-start-guide | 110rc5 | 2 | "object": "chat.completion",
"created": 1741966075,
"model": "TinyLlama/TinyLlama-1.1B-Chat-v1.0",
"choices": [
{
"index": 0,
"message": {
"role": "assistant",
"content": "New York is a city in the northeastern United States, located on the eastern coast of the state of New York.... | large_dataset/raw/docs/nvidia_tensorrt-llm/quick-start-guide/quick-start-guide_110rc5.md |
261f16c0-b1b5-5112-8aca-28ce0cbd1872 | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_quick-start-guide | 110rc5 | 3 | The LLM API is a Python API designed to facilitate setup and inference with TensorRT LLM directly within Python. It enables model optimization by simply specifying a HuggingFace repository name or a model checkpoint. The LLM API streamlines the process by managing model loading, optimization, and inference, all through... | large_dataset/raw/docs/nvidia_tensorrt-llm/quick-start-guide/quick-start-guide_110rc5.md |
2298051d-9960-5dab-9dce-f88b5b409813 | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_quick-start-guide | 110rc5 | 4 | 20 for output in llm.generate(prompts, sampling_params):
21 print(
22 f"Prompt: {output.prompt!r}, Generated text: {output.outputs[0].text!r}"
23 )
24
25 # Got output like
26 # Prompt: 'Hello, my name is', Generated text: '\n\nJane Smith. I am a student pursuing my degree in Computer S... | large_dataset/raw/docs/nvidia_tensorrt-llm/quick-start-guide/quick-start-guide_110rc5.md |
e6da0ae5-634a-521e-b380-c5d1326f955f | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_quick-start-guide | 110rc5 | 5 | You can also directly load pre-quantized models [quantized checkpoints on Hugging Face](https://huggingface.co/collections/nvidia/model-optimizer-66aa84f7966b3150262481a4) in the LLM constructor.
To learn more about the LLM API, check out the [LLM API Introduction](llm-api/index.html) and [LLM Examples](examples/llm_ap... | large_dataset/raw/docs/nvidia_tensorrt-llm/quick-start-guide/quick-start-guide_110rc5.md |
4f1116b5-5cfe-5fd1-95a0-005744dbe2c9 | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_quick-start-guide | 110rc5 | 6 | * **CLI Reference** - Explore TensorRT LLM command-line tools:
+ [`trtllm-serve`](commands/trtllm-serve/trtllm-serve.html) - Deploy models for online serving
+ [`trtllm-bench`](commands/trtllm-bench.html) - Benchmark model performance
+ [`trtllm-eval`](commands/trtllm-eval.html) - Evaluate model accuracy
| large_dataset/raw/docs/nvidia_tensorrt-llm/quick-start-guide/quick-start-guide_110rc5.md |
9eed50ed-247b-517d-8b94-89bccacfd90d | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_quick-start-guide | 120rc0 | 0 | # Quick Start Guide#
Source: https://nvidia.github.io/TensorRT-LLM/1.2.0rc0/quick-start-guide.html
Version: 1.2.0rc0
This is the starting point to try out TensorRT LLM. Specifically, this Quick Start Guide enables you to quickly get set up and send HTTP requests using TensorRT LLM.
## Launch Docker on a node with NV... | large_dataset/raw/docs/nvidia_tensorrt-llm/quick-start-guide/quick-start-guide_120rc0.md |
f1ecb1d3-1166-5308-952e-730b9d6435d7 | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_quick-start-guide | 120rc0 | 1 | If you are running trtllm-server inside a Docker container, you have two options for sending API requests:
1. Expose a port (e.g., 8000) to allow external access to the server from outside the container.
2. Open a new terminal and use the following command to directly attach to the running container:
```None
docker e... | large_dataset/raw/docs/nvidia_tensorrt-llm/quick-start-guide/quick-start-guide_120rc0.md |
5dd02428-67f4-51e8-9281-c5d85d9a016c | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_quick-start-guide | 120rc0 | 2 | *Example Output*
```None
{
"id": "chatcmpl-ef648e7489c040679d87ed12db5d3214",
"object": "chat.completion",
"created": 1741966075,
"model": "TinyLlama/TinyLlama-1.1B-Chat-v1.0",
"choices": [
{
"index": 0,
"message": {
"role": "assistant",
"content": "New York is a city in the n... | large_dataset/raw/docs/nvidia_tensorrt-llm/quick-start-guide/quick-start-guide_120rc0.md |
27da963e-9697-5866-9cc3-c3f1fd4a2bcb | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_quick-start-guide | 120rc0 | 3 | The LLM API is a Python API designed to facilitate setup and inference with TensorRT LLM directly within Python. It enables model optimization by simply specifying a HuggingFace repository name or a model checkpoint. The LLM API streamlines the process by managing model loading, optimization, and inference, all through... | large_dataset/raw/docs/nvidia_tensorrt-llm/quick-start-guide/quick-start-guide_120rc0.md |
8d907c55-2c7d-5741-b04c-7918539977cb | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_quick-start-guide | 120rc0 | 4 | 20 for output in llm.generate(prompts, sampling_params):
21 print(
22 f"Prompt: {output.prompt!r}, Generated text: {output.outputs[0].text!r}"
23 )
24
25 # Got output like
26 # Prompt: 'Hello, my name is', Generated text: '\n\nJane Smith. I am a student pursuing my degree in Computer S... | large_dataset/raw/docs/nvidia_tensorrt-llm/quick-start-guide/quick-start-guide_120rc0.md |
77fed9f8-06b4-5e40-bcb5-57d6b7b36114 | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_quick-start-guide | 120rc0 | 5 | You can also directly load pre-quantized models [quantized checkpoints on Hugging Face](https://huggingface.co/collections/nvidia/model-optimizer-66aa84f7966b3150262481a4) in the LLM constructor.
To learn more about the LLM API, check out the [LLM API Introduction](llm-api/index.html) and [LLM Examples](examples/llm_ap... | large_dataset/raw/docs/nvidia_tensorrt-llm/quick-start-guide/quick-start-guide_120rc0.md |
534b3b05-b4d6-58e4-a46c-83d5e2fe94c2 | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_quick-start-guide | 120rc0 | 6 | * **CLI Reference** - Explore TensorRT LLM command-line tools:
+ [`trtllm-serve`](commands/trtllm-serve/trtllm-serve.html) - Deploy models for online serving
+ [`trtllm-bench`](commands/trtllm-bench.html) - Benchmark model performance
+ [`trtllm-eval`](commands/trtllm-eval.html) - Evaluate model accuracy
| large_dataset/raw/docs/nvidia_tensorrt-llm/quick-start-guide/quick-start-guide_120rc0.md |
9cd3388d-1248-57d5-a52e-7b67f484b9b3 | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_quick-start-guide | 120rc1 | 0 | # Quick Start Guide#
Source: https://nvidia.github.io/TensorRT-LLM/1.2.0rc1/quick-start-guide.html
Version: 1.2.0rc1
This is the starting point to try out TensorRT LLM. Specifically, this Quick Start Guide enables you to quickly get set up and send HTTP requests using TensorRT LLM.
## Launch Docker on a node with NV... | large_dataset/raw/docs/nvidia_tensorrt-llm/quick-start-guide/quick-start-guide_120rc1.md |
713c0e20-461f-53b6-9259-448a44da6f44 | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_quick-start-guide | 120rc1 | 1 | If you are running trtllm-server inside a Docker container, you have two options for sending API requests:
1. Expose a port (e.g., 8000) to allow external access to the server from outside the container.
2. Open a new terminal and use the following command to directly attach to the running container:
```None
docker e... | large_dataset/raw/docs/nvidia_tensorrt-llm/quick-start-guide/quick-start-guide_120rc1.md |
38903029-49bf-5950-acfe-07a701a39f5f | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_quick-start-guide | 120rc1 | 2 | *Example Output*
```None
{
"id": "chatcmpl-ef648e7489c040679d87ed12db5d3214",
"object": "chat.completion",
"created": 1741966075,
"model": "TinyLlama/TinyLlama-1.1B-Chat-v1.0",
"choices": [
{
"index": 0,
"message": {
"role": "assistant",
"content": "New York is a city in the n... | large_dataset/raw/docs/nvidia_tensorrt-llm/quick-start-guide/quick-start-guide_120rc1.md |
ca5c6ae1-71e4-5d9d-bbcd-bc19283bde94 | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_quick-start-guide | 120rc1 | 3 | The LLM API is a Python API designed to facilitate setup and inference with TensorRT LLM directly within Python. It enables model optimization by simply specifying a HuggingFace repository name or a model checkpoint. The LLM API streamlines the process by managing model loading, optimization, and inference, all through... | large_dataset/raw/docs/nvidia_tensorrt-llm/quick-start-guide/quick-start-guide_120rc1.md |
b1ab8c68-46b0-54a6-85ae-f30c3b9f645f | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_quick-start-guide | 120rc1 | 4 | 20 for output in llm.generate(prompts, sampling_params):
21 print(
22 f"Prompt: {output.prompt!r}, Generated text: {output.outputs[0].text!r}"
23 )
24
25 # Got output like
26 # Prompt: 'Hello, my name is', Generated text: '\n\nJane Smith. I am a student pursuing my degree in Computer S... | large_dataset/raw/docs/nvidia_tensorrt-llm/quick-start-guide/quick-start-guide_120rc1.md |
6b76febe-eb90-5102-a7a8-bcba1f1dfd42 | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_quick-start-guide | 120rc1 | 5 | You can also directly load pre-quantized models [quantized checkpoints on Hugging Face](https://huggingface.co/collections/nvidia/model-optimizer-66aa84f7966b3150262481a4) in the LLM constructor.
To learn more about the LLM API, check out the [LLM API Introduction](llm-api/index.html) and [LLM Examples](examples/llm_ap... | large_dataset/raw/docs/nvidia_tensorrt-llm/quick-start-guide/quick-start-guide_120rc1.md |
d6aa780e-95a0-570f-9516-bbf496bf9693 | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_quick-start-guide | 120rc1 | 6 | * **CLI Reference** - Explore TensorRT LLM command-line tools:
+ [`trtllm-serve`](commands/trtllm-serve/trtllm-serve.html) - Deploy models for online serving
+ [`trtllm-bench`](commands/trtllm-bench.html) - Benchmark model performance
+ [`trtllm-eval`](commands/trtllm-eval.html) - Evaluate model accuracy
| large_dataset/raw/docs/nvidia_tensorrt-llm/quick-start-guide/quick-start-guide_120rc1.md |
451c316b-0336-562f-8d61-cabb04639c6d | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_quick-start-guide | 120rc2 | 0 | # Quick Start Guide#
Source: https://nvidia.github.io/TensorRT-LLM/1.2.0rc2/quick-start-guide.html
Version: 1.2.0rc2
This is the starting point to try out TensorRT LLM. Specifically, this Quick Start Guide enables you to quickly get set up and send HTTP requests using TensorRT LLM.
## Launch Docker Container[#](#lau... | large_dataset/raw/docs/nvidia_tensorrt-llm/quick-start-guide/quick-start-guide_120rc2.md |
374c2825-1816-5239-9d74-023811f32f50 | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_quick-start-guide | 120rc2 | 1 | To start the server, you can run a command like the following example inside a Docker container:
```None
trtllm-serve "TinyLlama/TinyLlama-1.1B-Chat-v1.0"
```
Note
If you are running `trtllm-serve` inside a Docker container, you have two options for sending API requests:
1. Expose a port (e.g., 8000) to allow exter... | large_dataset/raw/docs/nvidia_tensorrt-llm/quick-start-guide/quick-start-guide_120rc2.md |
5f510864-5179-5029-aae4-81bb291803e5 | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_quick-start-guide | 120rc2 | 2 | {"role": "user", "content": "Where is New York? Tell me in a single sentence."}],
"max_tokens": 32,
"temperature": 0
}'
```
*Example Output*
```None
{
"id": "chatcmpl-ef648e7489c040679d87ed12db5d3214",
"object": "chat.completion",
"created": 1741966075,
"model": "TinyLl... | large_dataset/raw/docs/nvidia_tensorrt-llm/quick-start-guide/quick-start-guide_120rc2.md |
7c9d980a-995e-509f-b15f-0a04c997c913 | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_quick-start-guide | 120rc2 | 3 | Pre-configured settings for deploying popular models with `trtllm-serve` can be found in our [deployment guides](deployment-guide/index.html).
## Run Offline Inference with LLM API[#](#run-offline-inference-with-llm-api "Link to this heading")
The LLM API is a Python API designed to facilitate setup and inference wit... | large_dataset/raw/docs/nvidia_tensorrt-llm/quick-start-guide/quick-start-guide_120rc2.md |
fe20e84b-561f-5232-b727-e5ad6b3357a1 | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_quick-start-guide | 120rc2 | 4 | 12 "Hello, my name is",
13 "The capital of France is",
14 "The future of AI is",
15 ]
16
17 # Create a sampling params.
18 sampling_params = SamplingParams(temperature=0.8, top_p=0.95)
19
20 for output in llm.generate(prompts, sampling_params):
21 print(
22 f"Prompt: {... | large_dataset/raw/docs/nvidia_tensorrt-llm/quick-start-guide/quick-start-guide_120rc2.md |
a11c763a-0baa-5ece-86d4-d8c7e045fa73 | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_quick-start-guide | 120rc2 | 5 | 29 # Prompt: 'The future of AI is', Generated text: 'an exciting time for us. We are constantly researching, developing, and improving our platform to create the most advanced and efficient model available. We are'
30
31
32if __name__ == '__main__':
33 main()
```
You can also directly load pre-quantized models [... | large_dataset/raw/docs/nvidia_tensorrt-llm/quick-start-guide/quick-start-guide_120rc2.md |
cb2ada74-7813-5a9a-9e70-07af608654d8 | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_quick-start-guide | 120rc2 | 6 | * **[Model-Specific Deployment Guides](deployment-guide/index.html)** - Instructions for serving specific models with TensorRT LLM
* **[Deployment Guide](examples/llm_api_examples.html)** - Comprehensive examples for deploying LLM inference in various scenarios
* **[Model Support](models/supported-models.html)** - Chec... | large_dataset/raw/docs/nvidia_tensorrt-llm/quick-start-guide/quick-start-guide_120rc2.md |
86b75fc2-07ac-5337-9e94-bbd3ea665647 | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_quick-start-guide | 120rc3 | 0 | # Quick Start Guide#
Source: https://nvidia.github.io/TensorRT-LLM/1.2.0rc3/quick-start-guide.html
Version: 1.2.0rc3
This is the starting point to try out TensorRT LLM. Specifically, this Quick Start Guide enables you to quickly get set up and send HTTP requests using TensorRT LLM.
## Launch Docker Container[#](#lau... | large_dataset/raw/docs/nvidia_tensorrt-llm/quick-start-guide/quick-start-guide_120rc3.md |
fec81e4a-7c36-5a9e-87f4-98580a030228 | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_quick-start-guide | 120rc3 | 1 | To start the server, you can run a command like the following example inside a Docker container:
```None
trtllm-serve "TinyLlama/TinyLlama-1.1B-Chat-v1.0"
```
Note
If you are running `trtllm-serve` inside a Docker container, you have two options for sending API requests:
1. Expose a port (e.g., 8000) to allow exter... | large_dataset/raw/docs/nvidia_tensorrt-llm/quick-start-guide/quick-start-guide_120rc3.md |
04fff97f-e364-5b04-9c82-80cd39a8d4a5 | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_quick-start-guide | 120rc3 | 2 | {"role": "user", "content": "Where is New York? Tell me in a single sentence."}],
"max_tokens": 32,
"temperature": 0
}'
```
*Example Output*
```None
{
"id": "chatcmpl-ef648e7489c040679d87ed12db5d3214",
"object": "chat.completion",
"created": 1741966075,
"model": "TinyLl... | large_dataset/raw/docs/nvidia_tensorrt-llm/quick-start-guide/quick-start-guide_120rc3.md |
14ded981-fc61-537f-83bc-1475627b4d95 | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_quick-start-guide | 120rc3 | 3 | Pre-configured settings for deploying popular models with `trtllm-serve` can be found in our [deployment guides](deployment-guide/index.html).
## Run Offline Inference with LLM API[#](#run-offline-inference-with-llm-api "Link to this heading")
The LLM API is a Python API designed to facilitate setup and inference wit... | large_dataset/raw/docs/nvidia_tensorrt-llm/quick-start-guide/quick-start-guide_120rc3.md |
39182196-2f96-5b9d-89a0-4b02cbd9c288 | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_quick-start-guide | 120rc3 | 4 | 12 "Hello, my name is",
13 "The capital of France is",
14 "The future of AI is",
15 ]
16
17 # Create a sampling params.
18 sampling_params = SamplingParams(temperature=0.8, top_p=0.95)
19
20 for output in llm.generate(prompts, sampling_params):
21 print(
22 f"Prompt: {... | large_dataset/raw/docs/nvidia_tensorrt-llm/quick-start-guide/quick-start-guide_120rc3.md |
bf1925ea-4c84-56e3-bfe2-dc431bd03d62 | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_quick-start-guide | 120rc3 | 5 | 29 # Prompt: 'The future of AI is', Generated text: 'an exciting time for us. We are constantly researching, developing, and improving our platform to create the most advanced and efficient model available. We are'
30
31
32if __name__ == '__main__':
33 main()
```
You can also directly load pre-quantized models [... | large_dataset/raw/docs/nvidia_tensorrt-llm/quick-start-guide/quick-start-guide_120rc3.md |
ae13ae19-f5c1-51ee-81b3-0407f33aa3b4 | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_quick-start-guide | 120rc3 | 6 | * **[Model-Specific Deployment Guides](deployment-guide/index.html)** - Instructions for serving specific models with TensorRT LLM
* **[Deployment Guide](examples/llm_api_examples.html)** - Comprehensive examples for deploying LLM inference in various scenarios
* **[Model Support](models/supported-models.html)** - Chec... | large_dataset/raw/docs/nvidia_tensorrt-llm/quick-start-guide/quick-start-guide_120rc3.md |
dcf552be-5000-5bd5-97df-d4bb6c7ed2d6 | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_quick-start-guide | 120rc4 | 0 | # Quick Start Guide#
Source: https://nvidia.github.io/TensorRT-LLM/1.2.0rc4/quick-start-guide.html
Version: 1.2.0rc4
This is the starting point to try out TensorRT LLM. Specifically, this Quick Start Guide enables you to quickly get set up and send HTTP requests using TensorRT LLM.
## Launch Docker Container[#](#lau... | large_dataset/raw/docs/nvidia_tensorrt-llm/quick-start-guide/quick-start-guide_120rc4.md |
b6bc3fa9-9b42-548d-8eb4-8aa0cbca0110 | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_quick-start-guide | 120rc4 | 1 | To start the server, you can run a command like the following example inside a Docker container:
```None
trtllm-serve "TinyLlama/TinyLlama-1.1B-Chat-v1.0"
```
Note
If you are running `trtllm-serve` inside a Docker container, you have two options for sending API requests:
1. Expose a port (e.g., 8000) to allow exter... | large_dataset/raw/docs/nvidia_tensorrt-llm/quick-start-guide/quick-start-guide_120rc4.md |
6e213d53-119e-5121-9e55-4d90421b15b9 | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_quick-start-guide | 120rc4 | 2 | {"role": "user", "content": "Where is New York? Tell me in a single sentence."}],
"max_tokens": 32,
"temperature": 0
}'
```
*Example Output*
```None
{
"id": "chatcmpl-ef648e7489c040679d87ed12db5d3214",
"object": "chat.completion",
"created": 1741966075,
"model": "TinyLl... | large_dataset/raw/docs/nvidia_tensorrt-llm/quick-start-guide/quick-start-guide_120rc4.md |
deacd68d-9c85-5173-8cb0-7720044ac31a | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_quick-start-guide | 120rc4 | 3 | Pre-configured settings for deploying popular models with `trtllm-serve` can be found in our [deployment guides](deployment-guide/index.html).
## Run Offline Inference with LLM API[#](#run-offline-inference-with-llm-api "Link to this heading")
The LLM API is a Python API designed to facilitate setup and inference wit... | large_dataset/raw/docs/nvidia_tensorrt-llm/quick-start-guide/quick-start-guide_120rc4.md |
aa32268a-25d0-57de-a198-12ca669a7636 | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_quick-start-guide | 120rc4 | 4 | 12 "Hello, my name is",
13 "The capital of France is",
14 "The future of AI is",
15 ]
16
17 # Create a sampling params.
18 sampling_params = SamplingParams(temperature=0.8, top_p=0.95)
19
20 for output in llm.generate(prompts, sampling_params):
21 print(
22 f"Prompt: {... | large_dataset/raw/docs/nvidia_tensorrt-llm/quick-start-guide/quick-start-guide_120rc4.md |
769004e2-f382-502b-b303-2367ca3d08cd | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_quick-start-guide | 120rc4 | 5 | 29 # Prompt: 'The future of AI is', Generated text: 'an exciting time for us. We are constantly researching, developing, and improving our platform to create the most advanced and efficient model available. We are'
30
31
32if __name__ == '__main__':
33 main()
```
You can also directly load pre-quantized models [... | large_dataset/raw/docs/nvidia_tensorrt-llm/quick-start-guide/quick-start-guide_120rc4.md |
54f6e3af-c0f9-5fb2-a2f4-fdcbaba49fc4 | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_quick-start-guide | 120rc4 | 6 | * **[Model-Specific Deployment Guides](deployment-guide/index.html)** - Instructions for serving specific models with TensorRT LLM
* **[Deployment Guide](examples/llm_api_examples.html)** - Comprehensive examples for deploying LLM inference in various scenarios
* **[Model Support](models/supported-models.html)** - Chec... | large_dataset/raw/docs/nvidia_tensorrt-llm/quick-start-guide/quick-start-guide_120rc4.md |
3cd71b0e-da3e-5eea-85a2-d92ab91ab032 | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_quick-start-guide | 120rc5 | 0 | # Quick Start Guide#
Source: https://nvidia.github.io/TensorRT-LLM/1.2.0rc5/quick-start-guide.html
Version: 1.2.0rc5
This is the starting point to try out TensorRT LLM. Specifically, this Quick Start Guide enables you to quickly get set up and send HTTP requests using TensorRT LLM.
## Launch Docker Container[#](#lau... | large_dataset/raw/docs/nvidia_tensorrt-llm/quick-start-guide/quick-start-guide_120rc5.md |
3f6d7460-3049-5711-b43e-0e8d692797c0 | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_quick-start-guide | 120rc5 | 1 | To start the server, you can run a command like the following example inside a Docker container:
```None
trtllm-serve "TinyLlama/TinyLlama-1.1B-Chat-v1.0"
```
You may also deploy pre-quantized models to improve performance.
Ensure your GPU supports FP8 quantization before running the following:
```None
trtllm-serve ... | large_dataset/raw/docs/nvidia_tensorrt-llm/quick-start-guide/quick-start-guide_120rc5.md |
73e3fb64-56a9-5ef2-99d6-472f139905c6 | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_quick-start-guide | 120rc5 | 2 | After the server has started, you can access well-known OpenAI endpoints such as `v1/chat/completions`.
Inference can then be performed using examples similar to the one provided below, from a separate terminal.
```None
curl -X POST http://localhost:8000/v1/chat/completions \
-H "Content-Type: application/json" \
... | large_dataset/raw/docs/nvidia_tensorrt-llm/quick-start-guide/quick-start-guide_120rc5.md |
68c8fd39-8a1b-5d70-abbb-bd8c5e046227 | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_quick-start-guide | 120rc5 | 3 | "content": "New York is a city in the northeastern United States, located on the eastern coast of the state of New York.",
"tool_calls": []
},
"logprobs": null,
"finish_reason": "stop",
"stop_reason": null
}
],
"usage": {
"prompt_tokens": 43,
"total_tokens": 69,
... | large_dataset/raw/docs/nvidia_tensorrt-llm/quick-start-guide/quick-start-guide_120rc5.md |
7968ff9c-0a6d-565a-895a-2f51d3c0558c | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_quick-start-guide | 120rc5 | 4 | The LLM API is a Python API designed to facilitate setup and inference with TensorRT LLM directly within Python. It enables model optimization by simply specifying a HuggingFace repository name or a model checkpoint. The LLM API streamlines the process by managing model loading, optimization, and inference, all through... | large_dataset/raw/docs/nvidia_tensorrt-llm/quick-start-guide/quick-start-guide_120rc5.md |
5a9d2ffd-af59-58d1-9164-d6d798b31563 | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_quick-start-guide | 120rc5 | 5 | 20 for output in llm.generate(prompts, sampling_params):
21 print(
22 f"Prompt: {output.prompt!r}, Generated text: {output.outputs[0].text!r}"
23 )
24
25 # Got output like
26 # Prompt: 'Hello, my name is', Generated text: '\n\nJane Smith. I am a student pursuing my degree in Computer S... | large_dataset/raw/docs/nvidia_tensorrt-llm/quick-start-guide/quick-start-guide_120rc5.md |
c8e279b1-fccb-5cd8-918b-49e29af9b4ee | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_quick-start-guide | 120rc5 | 6 | You can also directly load pre-quantized models [quantized checkpoints on Hugging Face](https://huggingface.co/collections/nvidia/model-optimizer-66aa84f7966b3150262481a4) in the LLM constructor.
To learn more about the LLM API, check out the [LLM API Introduction](llm-api/index.html) and [LLM Examples](examples/llm_ap... | large_dataset/raw/docs/nvidia_tensorrt-llm/quick-start-guide/quick-start-guide_120rc5.md |
0c2fe209-9943-5461-a58f-a32f23c99e69 | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_quick-start-guide | 120rc5 | 7 | * **[Model Support](models/supported-models.html)** - Check which models are supported and how to add new ones
* **CLI Reference** - Explore TensorRT LLM command-line tools:
+ [`trtllm-serve`](commands/trtllm-serve/trtllm-serve.html) - Deploy models for online serving
+ [`trtllm-bench`](commands/trtllm-bench.html)... | large_dataset/raw/docs/nvidia_tensorrt-llm/quick-start-guide/quick-start-guide_120rc5.md |
7cc3e966-ae1e-5561-af70-1e01b8984eb6 | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_quick-start-guide | 120rc6 | 0 | # Quick Start Guide#
Source: https://nvidia.github.io/TensorRT-LLM/1.2.0rc6/quick-start-guide.html
Version: 1.2.0rc6
This is the starting point to try out TensorRT LLM. Specifically, this Quick Start Guide enables you to quickly get set up and send HTTP requests using TensorRT LLM.
## Launch Docker Container[#](#lau... | large_dataset/raw/docs/nvidia_tensorrt-llm/quick-start-guide/quick-start-guide_120rc6.md |
64ffc5c9-9ee1-5824-a01d-26e540bee0a4 | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_quick-start-guide | 120rc6 | 1 | To start the server, you can run a command like the following example inside a Docker container:
```None
trtllm-serve "TinyLlama/TinyLlama-1.1B-Chat-v1.0"
```
You may also deploy pre-quantized models to improve performance.
Ensure your GPU supports FP8 quantization before running the following:
```None
trtllm-serve ... | large_dataset/raw/docs/nvidia_tensorrt-llm/quick-start-guide/quick-start-guide_120rc6.md |
ff402310-91dc-5dab-a857-7827564a5321 | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_quick-start-guide | 120rc6 | 2 | After the server has started, you can access well-known OpenAI endpoints such as `v1/chat/completions`.
Inference can then be performed using examples similar to the one provided below, from a separate terminal.
```None
curl -X POST http://localhost:8000/v1/chat/completions \
-H "Content-Type: application/json" \
... | large_dataset/raw/docs/nvidia_tensorrt-llm/quick-start-guide/quick-start-guide_120rc6.md |
c447bd0b-0764-57ec-8fa7-4c2e1e5816ca | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_quick-start-guide | 120rc6 | 3 | "content": "New York is a city in the northeastern United States, located on the eastern coast of the state of New York.",
"tool_calls": []
},
"logprobs": null,
"finish_reason": "stop",
"stop_reason": null
}
],
"usage": {
"prompt_tokens": 43,
"total_tokens": 69,
... | large_dataset/raw/docs/nvidia_tensorrt-llm/quick-start-guide/quick-start-guide_120rc6.md |
fc437598-f119-58b2-9fd5-b5782fd9717b | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_quick-start-guide | 120rc6 | 4 | The LLM API is a Python API designed to facilitate setup and inference with TensorRT LLM directly within Python. It enables model optimization by simply specifying a HuggingFace repository name or a model checkpoint. The LLM API streamlines the process by managing model loading, optimization, and inference, all through... | large_dataset/raw/docs/nvidia_tensorrt-llm/quick-start-guide/quick-start-guide_120rc6.md |
9de6097b-7e5b-54fa-bef8-045e93609580 | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_quick-start-guide | 120rc6 | 5 | 20 for output in llm.generate(prompts, sampling_params):
21 print(
22 f"Prompt: {output.prompt!r}, Generated text: {output.outputs[0].text!r}"
23 )
24
25 # Got output like
26 # Prompt: 'Hello, my name is', Generated text: '\n\nJane Smith. I am a student pursuing my degree in Computer S... | large_dataset/raw/docs/nvidia_tensorrt-llm/quick-start-guide/quick-start-guide_120rc6.md |
f3baeb38-2cd4-594d-9134-bcbd3921004c | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_quick-start-guide | 120rc6 | 6 | You can also directly load pre-quantized models [quantized checkpoints on Hugging Face](https://huggingface.co/collections/nvidia/model-optimizer-66aa84f7966b3150262481a4) in the LLM constructor.
To learn more about the LLM API, check out the [LLM API Introduction](llm-api/index.html) and [LLM Examples](examples/llm_ap... | large_dataset/raw/docs/nvidia_tensorrt-llm/quick-start-guide/quick-start-guide_120rc6.md |
af0a6f4b-5720-5569-9de2-e2a2fbbb8e9b | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_quick-start-guide | 120rc6 | 7 | * **[Model Support](models/supported-models.html)** - Check which models are supported and how to add new ones
* **CLI Reference** - Explore TensorRT LLM command-line tools:
+ [`trtllm-serve`](commands/trtllm-serve/trtllm-serve.html) - Deploy models for online serving
+ [`trtllm-bench`](commands/trtllm-bench.html)... | large_dataset/raw/docs/nvidia_tensorrt-llm/quick-start-guide/quick-start-guide_120rc6.md |
d0187d17-cd27-5c93-8050-ab81cf679ab7 | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_quick-start-guide | 120rc7 | 0 | # Quick Start Guide#
Source: https://nvidia.github.io/TensorRT-LLM/1.2.0rc7/quick-start-guide.html
Version: 1.2.0rc7
This is the starting point to try out TensorRT LLM. Specifically, this Quick Start Guide enables you to quickly get set up and send HTTP requests using TensorRT LLM.
## Launch Docker Container[#](#lau... | large_dataset/raw/docs/nvidia_tensorrt-llm/quick-start-guide/quick-start-guide_120rc7.md |
54b2e847-bbaa-5164-b095-14cd63c60f54 | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_quick-start-guide | 120rc7 | 1 | To start the server, you can run a command like the following example inside a Docker container:
```None
trtllm-serve "TinyLlama/TinyLlama-1.1B-Chat-v1.0"
```
You may also deploy pre-quantized models to improve performance.
Ensure your GPU supports FP8 quantization before running the following:
```None
trtllm-serve ... | large_dataset/raw/docs/nvidia_tensorrt-llm/quick-start-guide/quick-start-guide_120rc7.md |
24d733cf-8a6c-54df-9b46-e8e2feac9286 | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_quick-start-guide | 120rc7 | 2 | After the server has started, you can access well-known OpenAI endpoints such as `v1/chat/completions`.
Inference can then be performed using examples similar to the one provided below, from a separate terminal.
```None
curl -X POST http://localhost:8000/v1/chat/completions \
-H "Content-Type: application/json" \
... | large_dataset/raw/docs/nvidia_tensorrt-llm/quick-start-guide/quick-start-guide_120rc7.md |
64b5b6cd-cb8c-556f-96a6-9ff41a0abdcb | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_quick-start-guide | 120rc7 | 3 | "content": "New York is a city in the northeastern United States, located on the eastern coast of the state of New York.",
"tool_calls": []
},
"logprobs": null,
"finish_reason": "stop",
"stop_reason": null
}
],
"usage": {
"prompt_tokens": 43,
"total_tokens": 69,
... | large_dataset/raw/docs/nvidia_tensorrt-llm/quick-start-guide/quick-start-guide_120rc7.md |
beb549c5-1515-5511-b9a9-2fd8faf04a44 | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_quick-start-guide | 120rc7 | 4 | The LLM API is a Python API designed to facilitate setup and inference with TensorRT LLM directly within Python. It enables model optimization by simply specifying a HuggingFace repository name or a model checkpoint. The LLM API streamlines the process by managing model loading, optimization, and inference, all through... | large_dataset/raw/docs/nvidia_tensorrt-llm/quick-start-guide/quick-start-guide_120rc7.md |
6ccb9c37-644e-5219-94b3-4394974e2545 | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_quick-start-guide | 120rc7 | 5 | 20 for output in llm.generate(prompts, sampling_params):
21 print(
22 f"Prompt: {output.prompt!r}, Generated text: {output.outputs[0].text!r}"
23 )
24
25 # Got output like
26 # Prompt: 'Hello, my name is', Generated text: '\n\nJane Smith. I am a student pursuing my degree in Computer S... | large_dataset/raw/docs/nvidia_tensorrt-llm/quick-start-guide/quick-start-guide_120rc7.md |
632f53c9-87f7-5819-a40a-5fa87dff022e | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_quick-start-guide | 120rc7 | 6 | You can also directly load pre-quantized models [quantized checkpoints on Hugging Face](https://huggingface.co/collections/nvidia/model-optimizer-66aa84f7966b3150262481a4) in the LLM constructor.
To learn more about the LLM API, check out the [LLM API Introduction](llm-api/index.html) and [LLM Examples](examples/llm_ap... | large_dataset/raw/docs/nvidia_tensorrt-llm/quick-start-guide/quick-start-guide_120rc7.md |
282d2bfa-3d49-51df-a59b-d78a5daffb0a | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_quick-start-guide | 120rc7 | 7 | * **[Model Support](models/supported-models.html)** - Check which models are supported and how to add new ones
* **CLI Reference** - Explore TensorRT LLM command-line tools:
+ [`trtllm-serve`](commands/trtllm-serve/trtllm-serve.html) - Deploy models for online serving
+ [`trtllm-bench`](commands/trtllm-bench.html)... | large_dataset/raw/docs/nvidia_tensorrt-llm/quick-start-guide/quick-start-guide_120rc7.md |
1ed2eb2c-368f-5ef2-a328-7b1963bcbe20 | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_quick-start-guide | 120rc8 | 0 | # Quick Start Guide#
Source: https://nvidia.github.io/TensorRT-LLM/1.2.0rc8/quick-start-guide.html
Version: 1.2.0rc8
This is the starting point to try out TensorRT LLM. Specifically, this Quick Start Guide enables you to quickly get set up and send HTTP requests using TensorRT LLM.
## Launch Docker Container[#](#lau... | large_dataset/raw/docs/nvidia_tensorrt-llm/quick-start-guide/quick-start-guide_120rc8.md |
8904223e-7a0a-5018-9db9-0fbca7e6006a | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_quick-start-guide | 120rc8 | 1 | To start the server, you can run a command like the following example inside a Docker container:
```None
trtllm-serve "TinyLlama/TinyLlama-1.1B-Chat-v1.0"
```
You may also deploy pre-quantized models to improve performance.
Ensure your GPU supports FP8 quantization before running the following:
```None
trtllm-serve ... | large_dataset/raw/docs/nvidia_tensorrt-llm/quick-start-guide/quick-start-guide_120rc8.md |
c5109c90-8336-5f4f-9220-93937f1fe168 | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_quick-start-guide | 120rc8 | 2 | After the server has started, you can access well-known OpenAI endpoints such as `v1/chat/completions`.
Inference can then be performed using examples similar to the one provided below, from a separate terminal.
```None
curl -X POST http://localhost:8000/v1/chat/completions \
-H "Content-Type: application/json" \
... | large_dataset/raw/docs/nvidia_tensorrt-llm/quick-start-guide/quick-start-guide_120rc8.md |
bcdacaa8-177a-5e36-aa86-31782634f837 | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_quick-start-guide | 120rc8 | 3 | "content": "New York is a city in the northeastern United States, located on the eastern coast of the state of New York.",
"tool_calls": []
},
"logprobs": null,
"finish_reason": "stop",
"stop_reason": null
}
],
"usage": {
"prompt_tokens": 43,
"total_tokens": 69,
... | large_dataset/raw/docs/nvidia_tensorrt-llm/quick-start-guide/quick-start-guide_120rc8.md |
4bc67c7d-f5e4-5f9f-9dfa-c0be1d218324 | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_quick-start-guide | 120rc8 | 4 | The LLM API is a Python API designed to facilitate setup and inference with TensorRT LLM directly within Python. It enables model optimization by simply specifying a HuggingFace repository name or a model checkpoint. The LLM API streamlines the process by managing model loading, optimization, and inference, all through... | large_dataset/raw/docs/nvidia_tensorrt-llm/quick-start-guide/quick-start-guide_120rc8.md |
c4814632-9659-515f-8d03-959305914dac | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_quick-start-guide | 120rc8 | 5 | 20 for output in llm.generate(prompts, sampling_params):
21 print(
22 f"Prompt: {output.prompt!r}, Generated text: {output.outputs[0].text!r}"
23 )
24
25 # Got output like
26 # Prompt: 'Hello, my name is', Generated text: '\n\nJane Smith. I am a student pursuing my degree in Computer S... | large_dataset/raw/docs/nvidia_tensorrt-llm/quick-start-guide/quick-start-guide_120rc8.md |
626d0002-e31d-5277-81c3-6725bacaf0fe | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_quick-start-guide | 120rc8 | 6 | You can also directly load pre-quantized models [quantized checkpoints on Hugging Face](https://huggingface.co/collections/nvidia/model-optimizer-66aa84f7966b3150262481a4) in the LLM constructor.
To learn more about the LLM API, check out the [LLM API Introduction](llm-api/index.html) and [LLM Examples](examples/llm_ap... | large_dataset/raw/docs/nvidia_tensorrt-llm/quick-start-guide/quick-start-guide_120rc8.md |
cacb830a-24b6-5352-b467-cf62393abb9e | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_quick-start-guide | 120rc8 | 7 | * **[Model Support](models/supported-models.html)** - Check which models are supported and how to add new ones
* **CLI Reference** - Explore TensorRT LLM command-line tools:
+ [`trtllm-serve`](commands/trtllm-serve/trtllm-serve.html) - Deploy models for online serving
+ [`trtllm-bench`](commands/trtllm-bench.html)... | large_dataset/raw/docs/nvidia_tensorrt-llm/quick-start-guide/quick-start-guide_120rc8.md |
7ad3430a-e1f6-503d-ac4e-370ab53d3d48 | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_quick-start-guide | 130rc0 | 0 | # Quick Start Guide#
Source: https://nvidia.github.io/TensorRT-LLM/1.3.0rc0/quick-start-guide.html
Version: 1.3.0rc0
This is the starting point to try out TensorRT LLM. Specifically, this Quick Start Guide enables you to quickly get set up and send HTTP requests using TensorRT LLM.
## Launch Docker Container[#](#lau... | large_dataset/raw/docs/nvidia_tensorrt-llm/quick-start-guide/quick-start-guide_130rc0.md |
7bdddd8c-e925-5708-82a2-6e6324c1dd67 | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_quick-start-guide | 130rc0 | 1 | To start the server, you can run a command like the following example inside a Docker container:
```None
trtllm-serve "TinyLlama/TinyLlama-1.1B-Chat-v1.0"
```
You may also deploy pre-quantized models to improve performance.
Ensure your GPU supports FP8 quantization before running the following:
```None
trtllm-serve ... | large_dataset/raw/docs/nvidia_tensorrt-llm/quick-start-guide/quick-start-guide_130rc0.md |
87c3ce71-e9b6-5f15-9ab5-a3eebd15bf4f | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_quick-start-guide | 130rc0 | 2 | After the server has started, you can access well-known OpenAI endpoints such as `v1/chat/completions`.
Inference can then be performed using examples similar to the one provided below, from a separate terminal.
```None
curl -X POST http://localhost:8000/v1/chat/completions \
-H "Content-Type: application/json" \
... | large_dataset/raw/docs/nvidia_tensorrt-llm/quick-start-guide/quick-start-guide_130rc0.md |
bd19f85f-a1cc-597a-ac2d-ab379f8138b9 | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_quick-start-guide | 130rc0 | 3 | "content": "New York is a city in the northeastern United States, located on the eastern coast of the state of New York.",
"tool_calls": []
},
"logprobs": null,
"finish_reason": "stop",
"stop_reason": null
}
],
"usage": {
"prompt_tokens": 43,
"total_tokens": 69,
... | large_dataset/raw/docs/nvidia_tensorrt-llm/quick-start-guide/quick-start-guide_130rc0.md |
60bc5a1f-27a8-5161-8d4b-987a96a33676 | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_quick-start-guide | 130rc0 | 4 | The LLM API is a Python API designed to facilitate setup and inference with TensorRT LLM directly within Python. It enables model optimization by simply specifying a HuggingFace repository name or a model checkpoint. The LLM API streamlines the process by managing model loading, optimization, and inference, all through... | large_dataset/raw/docs/nvidia_tensorrt-llm/quick-start-guide/quick-start-guide_130rc0.md |
1cc17e6d-b6a0-5198-bf30-315c54f6ed95 | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_quick-start-guide | 130rc0 | 5 | 20 for output in llm.generate(prompts, sampling_params):
21 print(
22 f"Prompt: {output.prompt!r}, Generated text: {output.outputs[0].text!r}"
23 )
24
25 # Got output like
26 # Prompt: 'Hello, my name is', Generated text: '\n\nJane Smith. I am a student pursuing my degree in Computer S... | large_dataset/raw/docs/nvidia_tensorrt-llm/quick-start-guide/quick-start-guide_130rc0.md |
f3048cb3-df31-5555-be05-0e9cff1153fc | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_quick-start-guide | 130rc0 | 6 | You can also directly load pre-quantized models [quantized checkpoints on Hugging Face](https://huggingface.co/collections/nvidia/model-optimizer-66aa84f7966b3150262481a4) in the LLM constructor.
To learn more about the LLM API, check out the [LLM API Introduction](llm-api/index.html) and [LLM Examples](examples/llm_ap... | large_dataset/raw/docs/nvidia_tensorrt-llm/quick-start-guide/quick-start-guide_130rc0.md |
c79ab696-6ab2-57b5-9c59-ddd4b16c9fae | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_quick-start-guide | 130rc0 | 7 | * **[Model Support](models/supported-models.html)** - Check which models are supported and how to add new ones
* **CLI Reference** - Explore TensorRT LLM command-line tools:
+ [`trtllm-serve`](commands/trtllm-serve/trtllm-serve.html) - Deploy models for online serving
+ [`trtllm-bench`](commands/trtllm-bench.html)... | large_dataset/raw/docs/nvidia_tensorrt-llm/quick-start-guide/quick-start-guide_130rc0.md |
fe5961ec-d8de-54c6-8b43-0c0d9318db4d | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_quick-start-guide | 130rc1 | 0 | # Quick Start Guide#
Source: https://nvidia.github.io/TensorRT-LLM/1.3.0rc1/quick-start-guide.html
Version: 1.3.0rc1
This is the starting point to try out TensorRT LLM. Specifically, this Quick Start Guide enables you to quickly get set up and send HTTP requests using TensorRT LLM.
## Launch Docker Container[#](#lau... | large_dataset/raw/docs/nvidia_tensorrt-llm/quick-start-guide/quick-start-guide_130rc1.md |
3bdd9233-b2e7-5f1c-b8ba-ffaba2542312 | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_quick-start-guide | 130rc1 | 1 | To start the server, you can run a command like the following example inside a Docker container:
```None
trtllm-serve "TinyLlama/TinyLlama-1.1B-Chat-v1.0"
```
You may also deploy pre-quantized models to improve performance.
Ensure your GPU supports FP8 quantization before running the following:
```None
trtllm-serve ... | large_dataset/raw/docs/nvidia_tensorrt-llm/quick-start-guide/quick-start-guide_130rc1.md |
c3069321-44ee-5111-8700-fb57d07b611b | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_quick-start-guide | 130rc1 | 2 | After the server has started, you can access well-known OpenAI endpoints such as `v1/chat/completions`.
Inference can then be performed using examples similar to the one provided below, from a separate terminal.
```None
curl -X POST http://localhost:8000/v1/chat/completions \
-H "Content-Type: application/json" \
... | large_dataset/raw/docs/nvidia_tensorrt-llm/quick-start-guide/quick-start-guide_130rc1.md |
f0994395-2db1-559c-94fa-66259b395cac | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_quick-start-guide | 130rc1 | 3 | "content": "New York is a city in the northeastern United States, located on the eastern coast of the state of New York.",
"tool_calls": []
},
"logprobs": null,
"finish_reason": "stop",
"stop_reason": null
}
],
"usage": {
"prompt_tokens": 43,
"total_tokens": 69,
... | large_dataset/raw/docs/nvidia_tensorrt-llm/quick-start-guide/quick-start-guide_130rc1.md |
2a8458be-715b-5180-9f07-050d1acfb8e8 | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_quick-start-guide | 130rc1 | 4 | The LLM API is a Python API designed to facilitate setup and inference with TensorRT LLM directly within Python. It enables model optimization by simply specifying a HuggingFace repository name or a model checkpoint. The LLM API streamlines the process by managing model loading, optimization, and inference, all through... | large_dataset/raw/docs/nvidia_tensorrt-llm/quick-start-guide/quick-start-guide_130rc1.md |
1b54266a-e7a1-5269-93e3-2467d215949b | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_quick-start-guide | 130rc1 | 5 | 20 for output in llm.generate(prompts, sampling_params):
21 print(
22 f"Prompt: {output.prompt!r}, Generated text: {output.outputs[0].text!r}"
23 )
24
25 # Got output like
26 # Prompt: 'Hello, my name is', Generated text: '\n\nJane Smith. I am a student pursuing my degree in Computer S... | large_dataset/raw/docs/nvidia_tensorrt-llm/quick-start-guide/quick-start-guide_130rc1.md |
f5c1af4b-d53e-5115-90ff-f4362984ed80 | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_quick-start-guide | 130rc1 | 6 | You can also directly load pre-quantized models [quantized checkpoints on Hugging Face](https://huggingface.co/collections/nvidia/model-optimizer-66aa84f7966b3150262481a4) in the LLM constructor.
To learn more about the LLM API, check out the [LLM API Introduction](llm-api/index.html) and [LLM Examples](examples/llm_ap... | large_dataset/raw/docs/nvidia_tensorrt-llm/quick-start-guide/quick-start-guide_130rc1.md |
dfe1e07c-a532-5dcf-9b22-486e57315026 | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_quick-start-guide | 130rc1 | 7 | * **[Model Support](models/supported-models.html)** - Check which models are supported and how to add new ones
* **CLI Reference** - Explore TensorRT LLM command-line tools:
+ [`trtllm-serve`](commands/trtllm-serve/trtllm-serve.html) - Deploy models for online serving
+ [`trtllm-bench`](commands/trtllm-bench.html)... | large_dataset/raw/docs/nvidia_tensorrt-llm/quick-start-guide/quick-start-guide_130rc1.md |
978a55e2-9f28-509b-998c-448b933e1fe4 | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_quick-start-guide | 130rc2 | 0 | # Quick Start Guide#
Source: https://nvidia.github.io/TensorRT-LLM/1.3.0rc2/quick-start-guide.html
Version: 1.3.0rc2
This is the starting point to try out TensorRT LLM. Specifically, this Quick Start Guide enables you to quickly get set up and send HTTP requests using TensorRT LLM.
## Launch Docker Container[#](#lau... | large_dataset/raw/docs/nvidia_tensorrt-llm/quick-start-guide/quick-start-guide_130rc2.md |
f826e4db-8c17-5769-99cb-36f1776fa3a2 | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_quick-start-guide | 130rc2 | 1 | To start the server, you can run a command like the following example inside a Docker container:
```None
trtllm-serve "TinyLlama/TinyLlama-1.1B-Chat-v1.0"
```
You may also deploy pre-quantized models to improve performance.
Ensure your GPU supports FP8 quantization before running the following:
```None
trtllm-serve ... | large_dataset/raw/docs/nvidia_tensorrt-llm/quick-start-guide/quick-start-guide_130rc2.md |
b2713e0b-d70e-52d4-90ba-794b0b8ac9bd | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_quick-start-guide | 130rc2 | 2 | After the server has started, you can access well-known OpenAI endpoints such as `v1/chat/completions`.
Inference can then be performed using examples similar to the one provided below, from a separate terminal.
```None
curl -X POST http://localhost:8000/v1/chat/completions \
-H "Content-Type: application/json" \
... | large_dataset/raw/docs/nvidia_tensorrt-llm/quick-start-guide/quick-start-guide_130rc2.md |
02c9782a-9fcd-573f-8b2b-c6d2bf7d9bdf | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_quick-start-guide | 130rc2 | 3 | "content": "New York is a city in the northeastern United States, located on the eastern coast of the state of New York.",
"tool_calls": []
},
"logprobs": null,
"finish_reason": "stop",
"stop_reason": null
}
],
"usage": {
"prompt_tokens": 43,
"total_tokens": 69,
... | large_dataset/raw/docs/nvidia_tensorrt-llm/quick-start-guide/quick-start-guide_130rc2.md |
1933d07d-fb82-5349-ba7a-949d88d58922 | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_quick-start-guide | 130rc2 | 4 | The LLM API is a Python API designed to facilitate setup and inference with TensorRT LLM directly within Python. It enables model optimization by simply specifying a HuggingFace repository name or a model checkpoint. The LLM API streamlines the process by managing model loading, optimization, and inference, all through... | large_dataset/raw/docs/nvidia_tensorrt-llm/quick-start-guide/quick-start-guide_130rc2.md |
c733bc3d-5a10-5323-87fa-9046e5d4e656 | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_quick-start-guide | 130rc2 | 5 | 20 for output in llm.generate(prompts, sampling_params):
21 print(
22 f"Prompt: {output.prompt!r}, Generated text: {output.outputs[0].text!r}"
23 )
24
25 # Got output like
26 # Prompt: 'Hello, my name is', Generated text: '\n\nJane Smith. I am a student pursuing my degree in Computer S... | large_dataset/raw/docs/nvidia_tensorrt-llm/quick-start-guide/quick-start-guide_130rc2.md |
66fc5c17-c2bf-5a81-8402-64b6842977f7 | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_quick-start-guide | 130rc2 | 6 | You can also directly load pre-quantized models [quantized checkpoints on Hugging Face](https://huggingface.co/collections/nvidia/model-optimizer-66aa84f7966b3150262481a4) in the LLM constructor.
To learn more about the LLM API, check out the [LLM API Introduction](llm-api/index.html) and [LLM Examples](examples/llm_ap... | large_dataset/raw/docs/nvidia_tensorrt-llm/quick-start-guide/quick-start-guide_130rc2.md |
a3d1dd68-9e5e-532f-a592-202a1009b75e | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_quick-start-guide | 130rc2 | 7 | * **[Model Support](models/supported-models.html)** - Check which models are supported and how to add new ones
* **CLI Reference** - Explore TensorRT LLM command-line tools:
+ [`trtllm-serve`](commands/trtllm-serve/trtllm-serve.html) - Deploy models for online serving
+ [`trtllm-bench`](commands/trtllm-bench.html)... | large_dataset/raw/docs/nvidia_tensorrt-llm/quick-start-guide/quick-start-guide_130rc2.md |
2a162d86-2e39-5ee7-9fa6-e813e967177e | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_trtllm-bench | 100 | 0 | # trtllm-bench#
Source: https://nvidia.github.io/TensorRT-LLM/1.0.0/commands/trtllm-bench.html
Version: 1.0.0
trtllm-bench is a comprehensive benchmarking tool for TensorRT LLM engines. It provides three main subcommands for different benchmarking scenarios:
**Common Options for All Commands:**
**Usage:**
## trtll... | large_dataset/raw/docs/nvidia_tensorrt-llm/trtllm-bench/trtllm-bench_100.md |
100b2460-30d8-57fd-9fc2-92acf373a0b8 | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_trtllm-bench | 100 | 1 | : internal\_error | error | warning | info | verbose | debug | trace
### throughput[#](#trtllm-bench-throughput "Link to this heading")
Run a throughput test on a TRT-LLM engine.
```None
trtllm-bench throughput [OPTIONS]
```
Options
--engine\_dir <engine\_dir>[#](#cmdoption-trtllm-bench-throughput-engine_dir... | large_dataset/raw/docs/nvidia_tensorrt-llm/trtllm-bench/trtllm-bench_100.md |
da3f71a6-17a5-5d19-bab1-0201cf353c0f | docs | nvidia_tensorrt-llm | nvidia_tensorrt-llm_trtllm-bench | 100 | 2 | --max\_num\_tokens <max\_num\_tokens>[#](#cmdoption-trtllm-bench-throughput-max_num_tokens "Link to this definition")
: Maximum runtime tokens that an engine can accept.
--max\_seq\_len <max\_seq\_len>[#](#cmdoption-trtllm-bench-throughput-max_seq_len "Link to this definition")
: Maximum sequence length.
--beam\_... | large_dataset/raw/docs/nvidia_tensorrt-llm/trtllm-bench/trtllm-bench_100.md |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.