-
Notifications
You must be signed in to change notification settings - Fork 681
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to install tensorrt for pytorch in conda environment #429
Comments
Please follow the instructions given on the official website . Assuming you have installed
Please make sure to have updated versions of
You may see the following installation locations too:
|
I think it's because your cuda version doesnt match what TensorRT needed. Try update your cuda to 10.0 and run it. |
Thanks for the reply, |
I installed tensorrt with tar file in conda environment. |
Hi,
Can someone please guide how to install tensorrt properly in conda environment. I have install tensorrt though downloading .whl file from nvidia repo and it got installed by running this command in the conda activated env:
pip install /home/govindam/TensorRT-7.0.0.11/python/tensorrt-7.0.0.11-cp37-none-linux_x86_64.whl
But it also requires to install other dependencies like python3-libnvinfer-dev etc which I guess can be installed only via sudo, but will not work in the conda environment. I am getting error like this when trying to import torch2trt:
Can someone please help to install the package ? Thanks in advance.
The text was updated successfully, but these errors were encountered: