Skip to content

🐛 [Bug] The version for CUDA 11 depends on CUDA 12 libraries #3102

Closed
@bryant1410

Description

@bryant1410

Bug Description

The version of this package for CUDA 11.8 depends on CUDA 12 libraries:

TensorRT/pyproject.toml

Lines 46 to 47 in 4aa6e79

"tensorrt-cu12_bindings==10.1.0",
"tensorrt-cu12_libs==10.1.0",

This can cause issues on a system that doesn't support CUDA 12, because this or another library can pick up on them.

To Reproduce

You can download, for example, https://download.pytorch.org/whl/cu118/torch_tensorrt-2.4.0%2Bcu118-cp310-cp310-linux_x86_64.whl and inspect its dependencies.

Expected behavior

I guess the expected behavior would be to depend on the exact same dependencies but for CUDA 11.

Environment

Build information about Torch-TensorRT can be found by turning on debug messages

  • Torch-TensorRT Version (e.g. 1.0.0): 2.4.0
  • PyTorch Version (e.g. 1.0): 2.4.0
  • CPU Architecture: Intel
  • OS (e.g., Linux): Linux
  • How you installed PyTorch (conda, pip, libtorch, source): pip
  • Build command you used (if compiling from source):
  • Are you using local sources or building from archives:
  • Python version: 3.10
  • CUDA version: 11.8
  • GPU models and configuration: A10
  • Any other relevant information:

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions