Skip to content

Release 2.45.0 corresponding to NGC container 24.04

Latest
Compare
Choose a tag to compare
@mc-nv mc-nv released this 30 Apr 17:47
bf430f8

Triton Inference Server

The Triton Inference Server provides a cloud inferencing solution optimized for both CPUs and GPUs. The server provides an inference service via an HTTP or GRPC endpoint, allowing remote clients to request inferencing for any model being managed by the server. For edge deployments, Triton Server is also available as a shared library with an API that allows the full functionality of the server to be included directly in an application.

New Features and Improvements

  • Beta support for AsyncIO in decoupled mode in Python backend.

  • Enhancements to server shutdown to take into account both HTTP live connections and inflight inferences.

  • Python backend shared memory region naming has been updated to use UUIDs. This allows multiple servers to run on the machine without requiring different shared memory region prefixes.

  • Support retrieving OpenTelemetry trace settings from the gRPC/HTTP endpoints.

  • Log file and trace file locations can no longer be updated using the gRPC/HTTP endpoints.

  • Added an iterative scheduling tutorial to demonstrate how to use iterative scheduling with a GPT2 model.

  • Trace settings API now returns trace_mode and trace_config information.

  • The TensorRT-LLM container now includes the tensorrt_llm Python package for creating engines.

  • Added Python Client API docs to the documentation website.

  • Added metric visualizations to GenAI-Perf.

  • Added support to Model Analyzer for profiling LLMs with GenAI-Perf

  • Added the ability to select an output token distribution in GenAI-Perf

  • Some arguments have been renamed in the latest version of GenAI-Perf.

Known Issues

  • The TensorRT-LLM container uses nvcr.io/nvidia/pytorch:24.02-py3 as the base image.

  • Perf Analyzer no longer supports --trace-file option.

  • The TensorRT-LLM backend provides limited support of Triton extensions and features.

  • The TensorRT-LLM backend may core dump on server shutdown. This impacts server teardown only and will not impact inferencing.

  • When using decoupled models, there is a possibility that response order as sent from the backend may not match with the order in which these responses are received by the streaming gRPC client. Note that this only applies to responses from different requests. Any responses corresponding to the same request will still be received in their expected order, relative to each other.

  • The Java CAPI is known to have intermittent segfaults we’re looking for a root cause.

  • Some systems which implement malloc() may not release memory back to the operating system right away causing a false memory leak. This can be mitigated by using a different malloc implementation. Tcmalloc and jemalloc are installed in the Triton container and can be used by specifying the library in LD_PRELOAD. We recommend experimenting with both tcmalloc and jemalloc to determine which one works better for your use case.

  • Auto-complete may cause an increase in server start time. To avoid a start time increase, users can provide the full model configuration and launch the server with --disable-auto-complete-config.

  • Auto-complete does not support PyTorch models due to lack of metadata in the model. It can only verify that the number of inputs and the input names matches what is specified in the model configuration. There is no model metadata about the number of outputs and datatypes. Related PyTorch bug: pytorch/pytorch#38273

  • Triton Client PIP wheels for ARM SBSA are not available from PyPI and pip will install an incorrect Jetson version of Triton Client library for Arm SBSA. The correct client wheel file can be pulled directly from the Arm SBSA SDK image and manually installed.

  • Traced models in PyTorch seem to create overflows when int8 tensor values are transformed to int32 on the GPU. Refer to pytorch/pytorch#66930 for more information.

  • Triton cannot retrieve GPU metrics with MIG-enabled GPU devices (A100 and A30).

  • Triton metrics might not work if the host machine is running a separate DCGM agent on bare-metal or in a container.

  • When cloud storage (AWS, GCS, AZURE) is used as a model repository and a model has multiple versions, Triton creates an extra local copy of the cloud model’s folder in the temporary directory, which is deleted upon server’s shutdown.

  • Python backend support for Windows is limited and does not currently support the following features:

    • GPU tensors
    • CPU and GPU-related metrics
    • Custom execution environments
    • The model load/unload APIs

Client Libraries and Examples

Ubuntu 22.04 builds of the client libraries and examples are included in this release in the attached v2.45.0_ubuntu22.04.clients.tar.gz file. The SDK is also available for as an Ubuntu 22.04 based NGC Container. The SDK container includes the client libraries and examples, Performance Analyzer and Model Analyzer. Some components are also available in the tritonclient pip package. See Getting the Client Libraries for more information on each of these options.

For Windows, the client libraries and some examples are available in the attached tritonserver2.45.0-sdk-win.zip file.

Windows Support

Note

There is no Windows release for 24.04, the latest release is 24.03.

Jetson iGPU Support

A release of Triton for IGX is provided in the attached tar file: tritonserver2.45.0-igpu.tgz.

  • This release supports TensorFlow 2.15.0, TensorRT 8.6.2.3, Onnx Runtime 1.17.3, PyTorch 2.3.0a0+6ddf5cf, Python 3.10 and as well as ensembles.
  • ONNX Runtime backend does not support the OpenVINO and TensorRT execution providers. The CUDA execution provider is in Beta.
  • System shared memory is supported on Jetson. CUDA shared memory is not supported.
  • GPU metrics, GCS storage, S3 storage and Azure storage are not supported.

The tar file contains the Triton server executable and shared libraries and also the C++ and Python client libraries and examples. For more information on how to install and use Triton on JetPack refer to jetson.md.

The wheel for the Python client library is present in the tar file and can be installed by running the following command:

python3 -m pip install --upgrade clients/python/tritonclient-2.45.0-py3-none-manylinux2014_aarch64.whl[all]