Skip to content

🐛 [Bug] Can't install TorchTensorRT through pip (it installs version 0.0.0) #859

Closed
@andreabonvini

Description

@andreabonvini

Bug Description

I installed all the dependencies correctly.
I'm using CUDA 11.5, CUDNN 8.3.1, TensorRT 8.2.3.0, PyTorch 1.10.2 with CUDA 11.3 support. However when I try to install TorchTensorRT through the following command:
pip3 install torch-tensorrt -f https://github.com/NVIDIA/Torch-TensorRT/releases
I get the following message:

# pip3 install torch-tensorrt -f https://github.com/NVIDIA/Torch-TensorRT/releases
Looking in links: https://github.com/NVIDIA/Torch-TensorRT/releases
Collecting torch-tensorrt
  Using cached torch_tensorrt-0.0.0.tar.gz (762 bytes)
  Preparing metadata (setup.py) ... done
Building wheels for collected packages: torch-tensorrt
  Building wheel for torch-tensorrt (setup.py) ... done
  Created wheel for torch-tensorrt: filename=torch_tensorrt-0.0.0-py3-none-any.whl size=1354 sha256=05a650bedd11cc2d3e883c66ed2ad56ec2410c4da2005c8b3222c596d5b6acc9
  Stored in directory: c:\users\novum\appdata\local\pip\cache\wheels\5e\38\da\78f7582f6cd9d87d0bfc2677516507fd8fd25a0f1701124aaf
Successfully built torch-tensorrt
Installing collected packages: torch-tensorrt
Successfully installed torch-tensorrt-0.0.0

Why is it installing version 0.0.0?
If I try to import torch_tensorrt in python this is what happens:

>>> import torch_tensorrt
TRTorch currently does nothing

Expected behavior

It should install version 1.0.0, I guess.

Environment

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

  • Torch-TensorRT Version (e.g. 1.0.0): ...
  • PyTorch Version (e.g. 1.0): 1.10.2+cu113
  • CPU Architecture: x64
  • OS (e.g., Linux): Windows 10
  • How you installed PyTorch (conda, pip, libtorch, source): pip
  • Python version: 3.9.10
  • CUDA version: 11.5
  • GPU models and configuration: RTX3080

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions