NVIDIA / NVIDIA/TensorRT-Edge-LLM
Support static CUDA runtime linking
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 563
- Forks
- 135
- Avg merge
- 14h 13m
- Merged PRs (30d)
- 1
Description
Detailed description of the requested feature
Add a CMake option (e.g. CUDART_STATIC) to support static linking of the CUDA Runtime library (cudart_static).
Currently, the project defaults to dynamic linking. There is a set(CUDA_USE_STATIC_CUDA_RUNTIME OFF), which is effectively a 'no-op' since the project uses a manual find_library call.
This feature is aligned with the H1 2026 Developer Roadmap, under "Platform Support and Ease of Use".
Timeline
Within a day, once maintainers agree to this request.
Target hardware/use case
All current target hardwares (Edge deployments and 'self-contained' C++ applications).
Benefits aligned with the developer roadmap:
- Portability: Eliminates
LD_LIBRARY_PATHissues and version mismatches on edge devices. - Operational Efficiency: Reduces the complexity of Dockerfiles by reducing runtime library dependencies management.
- Footprint: Bundles core dependencies into a predictable binary.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Locate the manual find_library call for the CUDA Runtime and the existing CUDA_USE_STATIC_CUDA_RUNTIME setting in the CMake configuration. Add the requested CUDART_STATIC option and verify configuration and builds for both static and dynamic runtime linking.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cmake
- Domain
- build-system
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100