[GitHub] [incubator-mxnet] JustinhoCHN commented on issue #17923: can not install mxnet on jetson nano, jetpack 4.3, mxnet 1.4

2020-05-22 Thread GitBox


JustinhoCHN commented on issue #17923:
URL: 
https://github.com/apache/incubator-mxnet/issues/17923#issuecomment-632580832


   > Do you still have the image which you used on your Jetson Nano? Nvidia 
keeps on updating their images regularly and I ended up with CUDA 10.2 :/
   > 
   > Edit: This works?
   > 
![image](https://user-images.githubusercontent.com/19718818/81942443-bd25b280-9617-11ea-8695-a4bd842e5570.png)
   
   I changed the os to jetpack 4.4 DP, same issue as yours, I try to install 
cuda 10.0 in jetpack 4.4, but when I import mxnet, it'll just quit with 
"segmentation fault". I'm working on compile the cuda 10.2 python whl for 
jetson. I'll let you know if I make it.



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [incubator-mxnet] JustinhoCHN commented on issue #17923: can not install mxnet on jetson nano, jetpack 4.3, mxnet 1.4

2020-05-14 Thread GitBox


JustinhoCHN commented on issue #17923:
URL: 
https://github.com/apache/incubator-mxnet/issues/17923#issuecomment-628964002


   > Do you still have the image which you used on your Jetson Nano? Nvidia 
keeps on updating their images regularly and I ended up with CUDA 10.2 :/
   > 
   > Edit: This works?
   > 
![image](https://user-images.githubusercontent.com/19718818/81942443-bd25b280-9617-11ea-8695-a4bd842e5570.png)
   
   yes it is



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [incubator-mxnet] JustinhoCHN commented on issue #17923: can not install mxnet on jetson nano, jetpack 4.3, mxnet 1.4

2020-05-14 Thread GitBox


JustinhoCHN commented on issue #17923:
URL: 
https://github.com/apache/incubator-mxnet/issues/17923#issuecomment-628621084


   > @JustinhoCHN what was the CUDA version of your Jetson Nano image? It gives 
me the following error:
   > 
   > ```
   > >>> import mxnet
   > Traceback (most recent call last):
   >   File "", line 1, in 
   >   File "/usr/local/lib/python3.6/dist-packages/mxnet/__init__.py", line 
24, in 
   > from .context import Context, current_context, cpu, gpu, cpu_pinned
   >   File "/usr/local/lib/python3.6/dist-packages/mxnet/context.py", line 24, 
in 
   > from .base import classproperty, with_metaclass, 
_MXClassPropertyMetaClass
   >   File "/usr/local/lib/python3.6/dist-packages/mxnet/base.py", line 214, 
in 
   > _LIB = _load_lib()
   >   File "/usr/local/lib/python3.6/dist-packages/mxnet/base.py", line 205, 
in _load_lib
   > lib = ctypes.CDLL(lib_path[0], ctypes.RTLD_LOCAL)
   >   File "/usr/lib/python3.6/ctypes/__init__.py", line 348, in __init__
   > self._handle = _dlopen(self._name, mode)
   > OSError: libcudart.so.10.0: cannot open shared object file: No such file 
or directory
   > ```
   > 
   > My Jetson Nano image has CUDA 10.2
   
   mine is cuda 10.0, jetpack 4.3



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [incubator-mxnet] JustinhoCHN commented on issue #17923: can not install mxnet on jetson nano, jetpack 4.3, mxnet 1.4

2020-03-31 Thread GitBox
JustinhoCHN commented on issue #17923: can not install mxnet on jetson nano, 
jetpack 4.3, mxnet 1.4
URL: 
https://github.com/apache/incubator-mxnet/issues/17923#issuecomment-606444051
 
 
   Guys, I solve that problem, from nvidia jetson forums advice:
   
   1. Download the mxnet-1.6 whl for jetson: 
[link](https://drive.google.com/file/d/1acFgoFaw9arP1I6VZFR3Jjsm6TNkpR0v/view?usp=drive_open)
   
   2. 
   ```
   sudo pip3 install numpy==1.16
   sudo pip3 install mxnet-1.6.0-py3-none-any.whl
   ```
   
   3. switch to sudo account! that’s import for me:
   ```
   sudo su
   export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/mxnet
   ```
   ```
   root@jetbot:/home/jetbot# python3
   Python 3.6.9 (default, Nov  7 2019, 10:44:02) 
   [GCC 8.3.0] on linux
   Type "help", "copyright", "credits" or "license" for more information.
   >>> import mxnet as mx
   >>> mx.__version__
   '1.6.0'
   ```
   
   If I use python3 under jetbot account, will thorw segmentation fault error, 
seems I forgot change to sudo.


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [incubator-mxnet] JustinhoCHN commented on issue #17923: can not install mxnet on jetson nano, jetpack 4.3, mxnet 1.4

2020-03-29 Thread GitBox
JustinhoCHN commented on issue #17923: can not install mxnet on jetson nano, 
jetpack 4.3, mxnet 1.4
URL: 
https://github.com/apache/incubator-mxnet/issues/17923#issuecomment-605770728
 
 
   2020.03.30 update:
   I followed the docker cross-compille method, but failed, error log:
   ```
   aarch64-unknown-linux-gnueabi-g++: internal compiler error: Killed (program 
cc1plus)
   0x55a661ee7e24 execute
/dockcross/crosstool/toolchain/.build/src/gcc-4.9.4/gcc/gcc.c:2854
   0x55a661ee8174 do_spec_1
/dockcross/crosstool/toolchain/.build/src/gcc-4.9.4/gcc/gcc.c:4658
   0x55a661eeabc3 process_brace_body
/dockcross/crosstool/toolchain/.build/src/gcc-4.9.4/gcc/gcc.c:5941
   0x55a661eeabc3 handle_braces
/dockcross/crosstool/toolchain/.build/src/gcc-4.9.4/gcc/gcc.c:5855
   0x55a661ee88c9 do_spec_1
/dockcross/crosstool/toolchain/.build/src/gcc-4.9.4/gcc/gcc.c:5312
   0x55a661eeabc3 process_brace_body
/dockcross/crosstool/toolchain/.build/src/gcc-4.9.4/gcc/gcc.c:5941
   0x55a661eeabc3 handle_braces
/dockcross/crosstool/toolchain/.build/src/gcc-4.9.4/gcc/gcc.c:5855
   0x55a661ee88c9 do_spec_1
/dockcross/crosstool/toolchain/.build/src/gcc-4.9.4/gcc/gcc.c:5312
   0x55a661ee870b do_spec_1
/dockcross/crosstool/toolchain/.build/src/gcc-4.9.4/gcc/gcc.c:5427
   0x55a661eeabc3 process_brace_body
/dockcross/crosstool/toolchain/.build/src/gcc-4.9.4/gcc/gcc.c:5941
   0x55a661eeabc3 handle_braces
/dockcross/crosstool/toolchain/.build/src/gcc-4.9.4/gcc/gcc.c:5855
   0x55a661ee88c9 do_spec_1
/dockcross/crosstool/toolchain/.build/src/gcc-4.9.4/gcc/gcc.c:5312
   0x55a661eeabc3 process_brace_body
/dockcross/crosstool/toolchain/.build/src/gcc-4.9.4/gcc/gcc.c:5941
   0x55a661eeabc3 handle_braces
/dockcross/crosstool/toolchain/.build/src/gcc-4.9.4/gcc/gcc.c:5855
   0x55a661ee88c9 do_spec_1
/dockcross/crosstool/toolchain/.build/src/gcc-4.9.4/gcc/gcc.c:5312
   0x55a661eeabc3 process_brace_body
/dockcross/crosstool/toolchain/.build/src/gcc-4.9.4/gcc/gcc.c:5941
   0x55a661eeabc3 handle_braces
/dockcross/crosstool/toolchain/.build/src/gcc-4.9.4/gcc/gcc.c:5855
   0x55a661ee88c9 do_spec_1
/dockcross/crosstool/toolchain/.build/src/gcc-4.9.4/gcc/gcc.c:5312
   0x55a661eeabc3 process_brace_body
/dockcross/crosstool/toolchain/.build/src/gcc-4.9.4/gcc/gcc.c:5941
   0x55a661eeabc3 handle_braces
/dockcross/crosstool/toolchain/.build/src/gcc-4.9.4/gcc/gcc.c:5855
   Please submit a full bug report,
   with preprocessed source if appropriate.
   Please include the complete backtrace with any bug report.
   See  for instructions.
   make: *** [build/src/operator/numpy/np_percentile_op.o] Error 4
   make: *** Waiting for unfinished jobs
   Makefile:569: recipe for target 
'build/src/operator/numpy/np_percentile_op.o' failed
   2020-03-30 11:15:50,474 - root - INFO - Waiting for status of container 
7ee922ca33a2 for 600 s.
   2020-03-30 11:15:50,659 - root - INFO - Container exit status: {'Error': 
None, 'StatusCode': 2}
   2020-03-30 11:15:50,659 - root - ERROR - Container exited with an error 
   2020-03-30 11:15:50,659 - root - INFO - Executed command for reproduction:
   
   ci/build.py -p jetson
   
   2020-03-30 11:15:50,659 - root - INFO - Stopping container: 7ee922ca33a2
   2020-03-30 11:15:50,660 - root - INFO - Removing container: 7ee922ca33a2
   2020-03-30 11:15:50,723 - root - INFO - Other running containers: 
['e9ad8fc19642', '6acad0d82e1c', '5132086269ff', 'a6249b881f24', 
'f0ad24aeb876', '6bb047a698b7', '9e6f0d904a4b', '241f1bc44984', '19ff0cea2fa5', 
'868864fd7dd7']
   2020-03-30 11:15:50,723 - root - CRITICAL - Execution of 
['/work/mxnet/ci/docker/runtime_functions.sh', 'build_jetson'] failed with 
status: 2
   
   ```
   
   platform: x86 pc, i7-9700, rtx 2080ti


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services