-
Notifications
You must be signed in to change notification settings - Fork 352
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
Bug about native compilation on NVIDIA Jetson AGX #132
Comments
After I modified the workspace content, comment out somethings and uncomment and I got the new error messages. Here is my WORKSPACE
Output:
|
Sorry about this, we are still in the process of writing the documentation on how to build on aarch64. You should use all local repository sources for dependencies. Right now you are trying to pull x86_64 libraries from pytorch.org. Comment out all |
Hi @narendasan , Thanks for your reply! First testAs I followed your advice to comment out all of
Error message:
Second testI remove the old repository and git clone again in order to confirm my repository which is the latest version. Commnad:
Output:
Obviously the actions are different with previously what I did but it still got wrong. |
I guess I wasnt specific enough, my bad, yes you do need to keep the rules_pkg source, I meant really comment out the http_archive sources for TensorRT, cuDNN and LibTorch and use the new_local_repository versions. Once you use that you do not need to use the distdir command |
Hi @narendasan , Thanks for your advice and reply! I have two tests. Test to install wheel filelocation: ./TRTorch/py Commnad:
Output:
There is no error message, but the thing is that I cannot find the name of
Test the command by
|
For error 1. there was a fix today that addresses that issue, the rpath was not getting added to the compile command for the Python bindings. I will investigate your second error and see if i can replicate it. |
Addresses issue #132 Signed-off-by: Naren Dasan <[email protected]> Signed-off-by: Naren Dasan <[email protected]>
Traced the 2nd issue to an API update that happened recently. Latest master should resolve this |
Hi @narendasan , I was just testing again that I removed previous repository and git clone again. Go to Output:
I go other place (Not in py folder)
What step did I do wrong? Thank you for your update.
However, the python3 issue is still existing. BR, |
I think the issue with the python build is an ABI incompatibility issue. Try using |
Hi @narendasan , Here is what I tested. Command:
Output:
Test in python3
If I tested by
But I think normally I don't use |
Make sure you have uninstalled all previous copies of trtorch before doing setup.py. I would do something like:
If that doesnt work try making a pip package and installing that.
|
Hi @narendasan , I have tested as followed below. First
Test in python3 (I tested on other place not in py folder.)
I usually saw the error which was relevant about Second
Finally it seems to work. (Not sure why the way of installing by wheel cannot work.) Thank you for your helping! BR, |
The issue can re-open at any time if there is any further discussion. |
🐛 Bug
After I installed the bazel from scratch on AGX device, I directly build it by bazel. However, I got the error like below.
If I used
python3 setup.py install
, I got the error below:Is there any idea about this?
To Reproduce
Steps to reproduce the behavior:
Environment
7.1.0.16
on JetPack 4.4Thank you
BR,
Chieh
The text was updated successfully, but these errors were encountered: