Installation Layout
Recommended local Windows layout
CUDA root:
- standard NVIDIA Toolkit install under
%ProgramFiles%\NVIDIA GPU Computing Toolkit\CUDA
Example CUDA folders validated in this repository:
v11.6v11.8v12.1v12.9v13.2
TensorRT root:
<repo-root>\third_party\nvidia
Example TensorRT package folders:
TensorRT-10.11.0.33-cuda 11.8TensorRT-10.11.0.33-cuda 12.9TensorRT-8.6.1.6-cuda 11.8TensorRT-8.6.1.6-cuda 12.0
Matching rules
TensorRT-10.11.0.33-cuda 11.8matches CUDA11.0to11.8TensorRT-10.11.0.33-cuda 12.9matches CUDA12.0to12.9TensorRT-8.6.1.6-cuda 11.8matches CUDA11.0to11.8TensorRT-8.6.1.6-cuda 12.0matches CUDA12.0to12.1
Important limitation
When multiple CUDA and TensorRT versions exist on the same machine, build and packaging steps must explicitly select the intended combination. Do not rely on implicit discovery alone.
Machine-specific Windows roots should be stored in:
pack/runtime/runtime-packages.local.json
This file is ignored by Git. Use pack/runtime/runtime-packages.local.example.json as the starting point. The public runtime-packages.manifest.json must not contain machine-specific local drive roots.
Managed runtime loading is production-first:
- normal probing checks the application base directory and
runtimes/<rid>/native - explicit native bridge loading uses
JYPPX_NATIVE_BRIDGE_PATH - explicit vendor roots use
JYPPX_TENSORRT_ROOTandJYPPX_CUDA_ROOT - local development scanning of
build-outandthird_partyrequiresJYPPX_ENABLE_DEVELOPMENT_PROBING=1
CMake presets now refresh selected CUDA toolkit cache variables when a CUDA root is resolved, so stale CUDAToolkit_NVCC_EXECUTABLE values from another CUDA line should not survive reconfiguration.
Validated combinations
- TensorRT package:
TensorRT-10.11.0.33-cuda 11.8 - CUDA root:
%CUDA_PATH_V11_8% - CMake preset:
win-x64-trt10-cuda11-release
Additional Windows combinations validated in this repository:
TensorRT-10.11.0.33-cuda 12.9+CUDA v12.9TensorRT-8.6.1.6-cuda 11.8+CUDA v11.8TensorRT-8.6.1.6-cuda 12.0+CUDA v12.1TensorRT-11.0.0.114-cuda 12.9+CUDA v12.9
TensorRT 11 status
TensorRT 11 is now part of the Windows build and runtime matrix. The trt11.0-cuda12.9-cudnn9.22 path has native adapter, runtime package, package consumer, and smoke validation. The trt11.0-cuda13.2-cudnn9.22 path compiles, but runtime smoke remains pending until a CUDA 13-capable driver/runtime environment is available.
Linux expectation
The repository assumes Linux runtime packaging will be driven from explicit roots on self-hosted Linux x64 runners rather than auto-discovery from a Windows development machine.