-
Notifications
You must be signed in to change notification settings - Fork 611
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
Jetson AGX/TX2/Nano - Build release from pip3 install #1982
Comments
The main issue Is that we need tensorflow/build#9 |
I tried to build from src the |
Currently we don't release/build |
Thanks @bhack : Can you confirm w/o tensorflow/build#9 there is no way to build |
What I mean is that as in So if you want to go ahead with Nvidia packages I suggest you to post in https://forums.developer.nvidia.com/c/agx-autonomous-machines/jetson-embedded-systems/70 cause they know their packages receipts and probably they could add one prepared package also for |
Ok make total sense. |
@MI-LA01 If you have solved on your local setup you can talk with @bzhaoopenstack to see if you could add a |
Sure, pls note my version of Jetpack was 4.3 so I was only able to compile the tag <= |
hi I have built Bazel from src successfully, and now I am truing to build tfa from source with GPU support. Here is my external/local_config_cuda/crosstool/BUILD file, I do not see what I did not do correctly, please help me:
Error msg I still have:
thanks for your help |
Ok so I misread you initial post and did not edit the BUILD file at the right place. Modified part of BUILD.tpl:
Thanks or your solution on this, brilliant! |
Hi @MI-LA01 I am trying to build tensorflow-addons-0.7.1 on Jetson nano but in vain. When I run ./config.sh, it shows Configuring TensorFlow Addons to be built from source... > TensorFlow Addons will link to the framework in a pre-installed TF pacakge... Configuring GPU setup... Build configurations successfully written to .bazelrc How do you solve these problems? |
Hi. In your error msg it says "ImportError |
In fact, I have installed tensorflow-gpu-2.1.0 on Jetson nano with JetPack-4.4 according to the link provided by @bhack. I also re-installed pip3 but still got the error message “ ImportError: No module named pip._internal.req”. Should I down-grade to JetPack-4.3? I didn’t use virtual environment. |
I think you have problem with pip. Try to force reinstall pip. |
Hi @bhack , I have force reinstalled pip by using the command: curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py The version of pip3 is up-to-date, however, I still got the error message. |
Can you try in python:
|
Hi @bhack This is the result. The parse_requirements module is imported successfully. Do you have any comment? joseph@jetson-nano:~/Download/addons-0.7.1$ python3 |
What Is the error now? |
There is not any error massage. |
I guess, what is the error msg when you try to build tf addons with ./config.sh ? |
The error messages remain the same. |
“ ImportError: No module named pip._internal.req” |
When I import parse_requirements from pip._internal.req in python3 environment, there is not any error message. |
Can you configure in the same python3 env? |
Hi @bhack , Thanks a lot. I have found the problem. The configure.sh of tensorflow-addons uses python-2.7 instead of python-3.6. Thus, I got the error messages. joseph@jetson-nano:~/Download/addons-0.7.1$ python What should I do to solve this problem? Remove python-2.7? How should I uninstall python-2.7? |
Hi @bhack , I use the command to solve this problem. Then I met new problems. When the configure process successfully done, I run the following command: joseph@jetson-nano:~/Download/addons-0.7.1$ bazel build --enable_runfiles build_pip_pkg INFO: Repository rules_java instantiated at: ERROR: Analysis of target '//:build_pip_pkg' failed; build aborted: Analysis failed |
What does TF_NEED_CUDA="1" mean? |
Yes the problem seems that It cannot find Cudnn files in your system |
Hi @MI-LA01 , Do you have any suggestion? |
No, I don't really have suggestions. Cudnn is required which make obviously sense. Good luck! As a side note :
|
Hi @MI-LA01 , Thanks a lot for you help. I have built and installed tensorflow-addons successfully. However, when I import tensorflow-addons, I got the following error message. Do you have any idea about what's wrong? joseph@Jetson-Nano:~/Downloads/addons$ python |
No. I just understand the |
You could require to use https://github.com/tensorflow/addons/blob/master/tools/install_so_files.sh Check #1909 /cc @seanpmorgan |
Hi @bhack , Thanks a lot. I have installed tensorflow-addons on Jetson nano successfully. |
Describe the feature and the current behavior/state.
Doing a
pip3 install tensorflow-addons
from an Nvidia TX2 produceNo matching distribution found for tensorflow-addons.
My current TensorFlow is 2.1.0 from Jetpack 4.3.The text was updated successfully, but these errors were encountered: