Skip to content

Commit da88e08

Browse files
authored
Update README.md (#8133)
1 parent 29c2dd6 commit da88e08

File tree

1 file changed

+227
-3
lines changed

1 file changed

+227
-3
lines changed

README.md

Lines changed: 227 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,230 @@
2828

2929
# Triton Inference Server
3030

31-
> [!NOTE]
32-
> You are currently on the r25.03 branch which tracks stabilization
33-
> towards the next release. This branch is not usable during stabilization.
31+
Triton Inference Server is an open source inference serving software that
32+
streamlines AI inferencing. Triton enables teams to deploy any AI model from
33+
multiple deep learning and machine learning frameworks, including TensorRT,
34+
TensorFlow, PyTorch, ONNX, OpenVINO, Python, RAPIDS FIL, and more. Triton
35+
Inference Server supports inference across cloud, data center, edge and embedded
36+
devices on NVIDIA GPUs, x86 and ARM CPU, or AWS Inferentia. Triton Inference
37+
Server delivers optimized performance for many query types, including real time,
38+
batched, ensembles and audio/video streaming. Triton inference Server is part of
39+
[NVIDIA AI Enterprise](https://www.nvidia.com/en-us/data-center/products/ai-enterprise/),
40+
a software platform that accelerates the data science pipeline and streamlines
41+
the development and deployment of production AI.
42+
43+
Major features include:
44+
45+
- [Supports multiple deep learning
46+
frameworks](https://github.com/triton-inference-server/backend#where-can-i-find-all-the-backends-that-are-available-for-triton)
47+
- [Supports multiple machine learning
48+
frameworks](https://github.com/triton-inference-server/fil_backend)
49+
- [Concurrent model
50+
execution](docs/user_guide/architecture.md#concurrent-model-execution)
51+
- [Dynamic batching](docs/user_guide/model_configuration.md#dynamic-batcher)
52+
- [Sequence batching](docs/user_guide/model_configuration.md#sequence-batcher) and
53+
[implicit state management](docs/user_guide/architecture.md#implicit-state-management)
54+
for stateful models
55+
- Provides [Backend API](https://github.com/triton-inference-server/backend) that
56+
allows adding custom backends and pre/post processing operations
57+
- Supports writing custom backends in python, a.k.a.
58+
[Python-based backends.](https://github.com/triton-inference-server/backend/blob/r25.03/docs/python_based_backends.md#python-based-backends)
59+
- Model pipelines using
60+
[Ensembling](docs/user_guide/architecture.md#ensemble-models) or [Business
61+
Logic Scripting
62+
(BLS)](https://github.com/triton-inference-server/python_backend#business-logic-scripting)
63+
- [HTTP/REST and GRPC inference
64+
protocols](docs/customization_guide/inference_protocols.md) based on the community
65+
developed [KServe
66+
protocol](https://github.com/kserve/kserve/tree/master/docs/predict-api/v2)
67+
- A [C API](docs/customization_guide/inference_protocols.md#in-process-triton-server-api) and
68+
[Java API](docs/customization_guide/inference_protocols.md#java-bindings-for-in-process-triton-server-api)
69+
allow Triton to link directly into your application for edge and other in-process use cases
70+
- [Metrics](docs/user_guide/metrics.md) indicating GPU utilization, server
71+
throughput, server latency, and more
72+
73+
**New to Triton Inference Server?** Make use of
74+
[these tutorials](https://github.com/triton-inference-server/tutorials)
75+
to begin your Triton journey!
76+
77+
Join the [Triton and TensorRT community](https://www.nvidia.com/en-us/deep-learning-ai/triton-tensorrt-newsletter/) and
78+
stay current on the latest product updates, bug fixes, content, best practices,
79+
and more. Need enterprise support? NVIDIA global support is available for Triton
80+
Inference Server with the
81+
[NVIDIA AI Enterprise software suite](https://www.nvidia.com/en-us/data-center/products/ai-enterprise/).
82+
83+
## Serve a Model in 3 Easy Steps
84+
85+
```bash
86+
# Step 1: Create the example model repository
87+
git clone -b r25.03 https://github.com/triton-inference-server/server.git
88+
cd server/docs/examples
89+
./fetch_models.sh
90+
91+
# Step 2: Launch triton from the NGC Triton container
92+
docker run --gpus=1 --rm --net=host -v ${PWD}/model_repository:/models nvcr.io/nvidia/tritonserver:25.03-py3 tritonserver --model-repository=/models --model-control-mode explicit --load-model densenet_onnx
93+
94+
# Step 3: Sending an Inference Request
95+
# In a separate console, launch the image_client example from the NGC Triton SDK container
96+
docker run -it --rm --net=host nvcr.io/nvidia/tritonserver:25.03-py3-sdk /workspace/install/bin/image_client -m densenet_onnx -c 3 -s INCEPTION /workspace/images/mug.jpg
97+
98+
# Inference should return the following
99+
Image '/workspace/images/mug.jpg':
100+
15.346230 (504) = COFFEE MUG
101+
13.224326 (968) = CUP
102+
10.422965 (505) = COFFEEPOT
103+
```
104+
Please read the [QuickStart](docs/getting_started/quickstart.md) guide for additional information
105+
regarding this example. The quickstart guide also contains an example of how to launch Triton on [CPU-only systems](docs/getting_started/quickstart.md#run-on-cpu-only-system). New to Triton and wondering where to get started? Watch the [Getting Started video](https://youtu.be/NQDtfSi5QF4).
106+
107+
## Examples and Tutorials
108+
109+
Check out [NVIDIA LaunchPad](https://www.nvidia.com/en-us/data-center/products/ai-enterprise-suite/trial/)
110+
for free access to a set of hands-on labs with Triton Inference Server hosted on
111+
NVIDIA infrastructure.
112+
113+
Specific end-to-end examples for popular models, such as ResNet, BERT, and DLRM
114+
are located in the
115+
[NVIDIA Deep Learning Examples](https://github.com/NVIDIA/DeepLearningExamples)
116+
page on GitHub. The
117+
[NVIDIA Developer Zone](https://developer.nvidia.com/nvidia-triton-inference-server)
118+
contains additional documentation, presentations, and examples.
119+
120+
## Documentation
121+
122+
### Build and Deploy
123+
124+
The recommended way to build and use Triton Inference Server is with Docker
125+
images.
126+
127+
- [Install Triton Inference Server with Docker containers](docs/customization_guide/build.md#building-with-docker) (*Recommended*)
128+
- [Install Triton Inference Server without Docker containers](docs/customization_guide/build.md#building-without-docker)
129+
- [Build a custom Triton Inference Server Docker container](docs/customization_guide/compose.md)
130+
- [Build Triton Inference Server from source](docs/customization_guide/build.md#building-on-unsupported-platforms)
131+
- [Build Triton Inference Server for Windows 10](docs/customization_guide/build.md#building-for-windows-10)
132+
- Examples for deploying Triton Inference Server with Kubernetes and Helm on [GCP](deploy/gcp/README.md),
133+
[AWS](deploy/aws/README.md), and [NVIDIA FleetCommand](deploy/fleetcommand/README.md)
134+
- [Secure Deployment Considerations](docs/customization_guide/deploy.md)
135+
136+
### Using Triton
137+
138+
#### Preparing Models for Triton Inference Server
139+
140+
The first step in using Triton to serve your models is to place one or
141+
more models into a [model repository](docs/user_guide/model_repository.md). Depending on
142+
the type of the model and on what Triton capabilities you want to enable for
143+
the model, you may need to create a [model
144+
configuration](docs/user_guide/model_configuration.md) for the model.
145+
146+
- [Add custom operations to Triton if needed by your model](docs/user_guide/custom_operations.md)
147+
- Enable model pipelining with [Model Ensemble](docs/user_guide/architecture.md#ensemble-models)
148+
and [Business Logic Scripting (BLS)](https://github.com/triton-inference-server/python_backend#business-logic-scripting)
149+
- Optimize your models setting [scheduling and batching](docs/user_guide/architecture.md#models-and-schedulers)
150+
parameters and [model instances](docs/user_guide/model_configuration.md#instance-groups).
151+
- Use the [Model Analyzer tool](https://github.com/triton-inference-server/model_analyzer)
152+
to help optimize your model configuration with profiling
153+
- Learn how to [explicitly manage what models are available by loading and
154+
unloading models](docs/user_guide/model_management.md)
155+
156+
#### Configure and Use Triton Inference Server
157+
158+
- Read the [Quick Start Guide](docs/getting_started/quickstart.md) to run Triton Inference
159+
Server on both GPU and CPU
160+
- Triton supports multiple execution engines, called
161+
[backends](https://github.com/triton-inference-server/backend#where-can-i-find-all-the-backends-that-are-available-for-triton), including
162+
[TensorRT](https://github.com/triton-inference-server/tensorrt_backend),
163+
[TensorFlow](https://github.com/triton-inference-server/tensorflow_backend),
164+
[PyTorch](https://github.com/triton-inference-server/pytorch_backend),
165+
[ONNX](https://github.com/triton-inference-server/onnxruntime_backend),
166+
[OpenVINO](https://github.com/triton-inference-server/openvino_backend),
167+
[Python](https://github.com/triton-inference-server/python_backend), and more
168+
- Not all the above backends are supported on every platform supported by Triton.
169+
Look at the
170+
[Backend-Platform Support Matrix](https://github.com/triton-inference-server/backend/blob/r25.03/docs/backend_platform_support_matrix.md)
171+
to learn which backends are supported on your target platform.
172+
- Learn how to [optimize performance](docs/user_guide/optimization.md) using the
173+
[Performance Analyzer](https://github.com/triton-inference-server/perf_analyzer/blob/r25.03/README.md)
174+
and
175+
[Model Analyzer](https://github.com/triton-inference-server/model_analyzer)
176+
- Learn how to [manage loading and unloading models](docs/user_guide/model_management.md) in
177+
Triton
178+
- Send requests directly to Triton with the [HTTP/REST JSON-based
179+
or gRPC protocols](docs/customization_guide/inference_protocols.md#httprest-and-grpc-protocols)
180+
181+
#### Client Support and Examples
182+
183+
A Triton *client* application sends inference and other requests to Triton. The
184+
[Python and C++ client libraries](https://github.com/triton-inference-server/client)
185+
provide APIs to simplify this communication.
186+
187+
- Review client examples for [C++](https://github.com/triton-inference-server/client/blob/r25.03/src/c%2B%2B/examples),
188+
[Python](https://github.com/triton-inference-server/client/blob/r25.03/src/python/examples),
189+
and [Java](https://github.com/triton-inference-server/client/blob/r25.03/src/java/src/main/java/triton/client/examples)
190+
- Configure [HTTP](https://github.com/triton-inference-server/client#http-options)
191+
and [gRPC](https://github.com/triton-inference-server/client#grpc-options)
192+
client options
193+
- Send input data (e.g. a jpeg image) directly to Triton in the [body of an HTTP
194+
request without any additional metadata](https://github.com/triton-inference-server/server/blob/r25.03/docs/protocol/extension_binary_data.md#raw-binary-request)
195+
196+
### Extend Triton
197+
198+
[Triton Inference Server's architecture](docs/user_guide/architecture.md) is specifically
199+
designed for modularity and flexibility
200+
201+
- [Customize Triton Inference Server container](docs/customization_guide/compose.md) for your use case
202+
- [Create custom backends](https://github.com/triton-inference-server/backend)
203+
in either [C/C++](https://github.com/triton-inference-server/backend/blob/r25.03/README.md#triton-backend-api)
204+
or [Python](https://github.com/triton-inference-server/python_backend)
205+
- Create [decoupled backends and models](docs/user_guide/decoupled_models.md) that can send
206+
multiple responses for a request or not send any responses for a request
207+
- Use a [Triton repository agent](docs/customization_guide/repository_agents.md) to add functionality
208+
that operates when a model is loaded and unloaded, such as authentication,
209+
decryption, or conversion
210+
- Deploy Triton on [Jetson and JetPack](docs/user_guide/jetson.md)
211+
- [Use Triton on AWS
212+
Inferentia](https://github.com/triton-inference-server/python_backend/tree/main/inferentia)
213+
214+
### Additional Documentation
215+
216+
- [FAQ](docs/user_guide/faq.md)
217+
- [User Guide](docs/README.md#user-guide)
218+
- [Customization Guide](docs/README.md#customization-guide)
219+
- [Release Notes](https://docs.nvidia.com/deeplearning/triton-inference-server/release-notes/index.html)
220+
- [GPU, Driver, and CUDA Support
221+
Matrix](https://docs.nvidia.com/deeplearning/dgx/support-matrix/index.html)
222+
223+
## Contributing
224+
225+
Contributions to Triton Inference Server are more than welcome. To
226+
contribute please review the [contribution
227+
guidelines](CONTRIBUTING.md). If you have a backend, client,
228+
example or similar contribution that is not modifying the core of
229+
Triton, then you should file a PR in the [contrib
230+
repo](https://github.com/triton-inference-server/contrib).
231+
232+
## Reporting problems, asking questions
233+
234+
We appreciate any feedback, questions or bug reporting regarding this project.
235+
When posting [issues in GitHub](https://github.com/triton-inference-server/server/issues),
236+
follow the process outlined in the [Stack Overflow document](https://stackoverflow.com/help/mcve).
237+
Ensure posted examples are:
238+
- minimal – use as little code as possible that still produces the
239+
same problem
240+
- complete – provide all parts needed to reproduce the problem. Check
241+
if you can strip external dependencies and still show the problem. The
242+
less time we spend on reproducing problems the more time we have to
243+
fix it
244+
- verifiable – test the code you're about to provide to make sure it
245+
reproduces the problem. Remove all other problems that are not
246+
related to your request/question.
247+
248+
For issues, please use the provided bug report and feature request templates.
249+
250+
For questions, we recommend posting in our community
251+
[GitHub Discussions.](https://github.com/triton-inference-server/server/discussions)
252+
253+
## For more information
254+
255+
Please refer to the [NVIDIA Developer Triton page](https://developer.nvidia.com/nvidia-triton-inference-server)
256+
for more information.
257+

0 commit comments

Comments
 (0)