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
failed to build #355
Comments
@Stephenfang51 , hi! Try it: cd onnx-tensorrt
cmake . -DCUDA_INCLUDE_DIRS=/usr/local/cuda/include -DTENSORRT_ROOT=/usr/src/tensorrt -DCMAKE_CUDA_COMPILER=/usr/local/cuda/bin/nvcc
sudo make install |
@Semihal Dear Sir I have tried your command and it shows
|
Please print the result: |
Well, it printed nothing .... I can import tensorrt in my python shell which means tensorRT installed correctly right? here is my bashrc
I can give you some clues, I installed tensorRT in conda env, maybe that's the reason can't find the TensorRT library ?? |
Oh, sorry, I didn't work with anaconda. |
That's okay, Thanks anyway |
@Stephenfang51 Hi, have you solved the problem? I met the same error. Expect for your reply. |
@Stephenfang51 Hi, I've figured it out. This problem is caused by unmatched TRT version. I uninstalled the original TRT6.0 and installed TRT7.0. The problem is solved. |
Wow it doesn't make sense.... |
Hi @Stephenfang51, The fact that it's looking for this Similarly, I believe only TRT7 supports ONNX 1.6: I haven't tried building this myself, but you'll likely need to either install TRT7 to build master / 7.0 branch, or keep TRT6 and build from 6.0 / 6.0-full-dims branch: https://github.com/onnx/onnx-tensorrt/tree/6.0-full-dims |
@1LOVESJohnny @rmccorm4 Yes, problem solved. Thank you guys so much ! |
I solved this problem by remove this line find_library(TENSORRT_LIBRARY_MYELIN myelin |
After i check out the path of TRT_RELEASE carefully, the problem is solved. |
您好,邮件我已收到!
|
My command is
cmake .. DTENSORRT_ROOT=/input/TensorRT-6.0.1.5 -DGPU_ARCHS="61"
Any solution for this problem ?
Thanks
The text was updated successfully, but these errors were encountered: