Skip to content

🐛 [Bug] Encountered bug when using Torch-TensorRT #3477

@gfringeli

Description

@gfringeli

Bug Description

Presence of BUILD file in released wheel does break use of package in Bazel with rules-python (bazel-contrib/rules_python#2780).

To Reproduce

Steps to reproduce the behavior:

Expected behavior

Import works without any issues.

Environment

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

  • Torch-TensorRT Version (e.g. 1.0.0): 2.6.0, CUDA 12.6
  • PyTorch Version (e.g. 1.0): 2.6.0
  • CPU Architecture: x86/64
  • OS (e.g., Linux): Ubuntu 24.04
  • How you installed PyTorch (conda, pip, libtorch, source): Bazel, rules-python
  • Build command you used (if compiling from source): -
  • Are you using local sources or building from archives: -
  • Python version: 3.11
  • CUDA version: 12.6
  • GPU models and configuration: Tesla T4
  • Any other relevant information: -

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingstory: Dynamo Frontend & Partitioningtorch.compile, torch.export, FX graph tracing, graph partitioner, graph breaks, and the Dynamo-to-TR

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions