You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2017/10/22 16:37:19 UTC
[GitHub] KellenSunderland opened a new issue #8387: test_operator_gpu.test_cuda_rtc failure - Jetson TX2 (GPU/CUDA)
KellenSunderland opened a new issue #8387: test_operator_gpu.test_cuda_rtc failure - Jetson TX2 (GPU/CUDA)
URL: https://github.com/apache/incubator-mxnet/issues/8387
## Description
The test test_operator_gpu.test_cuda_rtc is consistently failing on a Jetson TX2.
## Environment info (Required)
Jetson TX2, aarch64, Ubuntu 16.04, Jetpack 3.1 full install.
```
What to do:
1. Flash your Jetson TX2 with Jetpack 3.1, full install.
2. Modify make/config.mk to indicate use of Openblas.
3. Compile MXNet locally and install.
4. Run nosetests --verbose test_operator_gpu:test_cuda_rtc
```
Package used (Python/R/Scala/Julia):
Python package, compiled from source.
## Build info (Required if built from source)
Compiler (gcc/clang/mingw/visual studio): gcc
MXNet commit hash:
050d30452eb7421045bacbc29d27622a96d8aff9
Build config:
Config diff:
```
-ADD_CFLAGS =
+ADD_CFLAGS = -DMSHADOW_OLD_CUDA=1
#---------------------------------------------
# matrix computation libraries for CPU/GPU
#---------------------------------------------
# whether use CUDA during compile
-USE_CUDA = 0
+USE_CUDA = 1
# add the path to CUDA library to link and compile flag
# if you have already add them to environment variable, leave it as NONE
-# USE_CUDA_PATH = /usr/local/cuda
-USE_CUDA_PATH = NONE
+USE_CUDA_PATH = /usr/local/cuda
+#USE_CUDA_PATH = NONE
# whether use CuDNN R3 library
-USE_CUDNN = 0
+USE_CUDNN = 1
# whether use opencv during compilation
# you can disable it, however, you will not able to use
@@ -92,11 +92,7 @@ USE_NNPACK = 0
# can be: mkl, blas, atlas, openblas
# in default use atlas for linux while apple for osx
UNAME_S := $(shell uname -s)
-ifeq ($(UNAME_S), Darwin)
-USE_BLAS = apple
-else
-USE_BLAS = atlas
-endif
+USE_BLAS = openblas
```
## Error Message:
(Paste the complete error message, including stack trace.)
```
======================================================================
ERROR: test_operator_gpu.test_cuda_rtc
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/nvidia/.local/lib/python3.5/site-packages/nose/case.py", line 198, in runTest
self.test(*self.arg)
File "/home/nvidia/incubator-mxnet-512/tests/python/gpu/test_operator_gpu.py", line 1408, in test_cuda_rtc
module = mx.rtc.CudaModule(source)
File "/home/nvidia/incubator-mxnet-512/python/mxnet/rtc.py", line 106, in __init__
ctypes.byref(self.handle)))
File "/home/nvidia/incubator-mxnet-512/python/mxnet/base.py", line 146, in check_call
raise MXNetError(py_str(_LIB.MXGetLastError()))
mxnet.base.MXNetError: [11:05:39] src/common/rtc.cc:55: nvrtc: error: failed to load builtins
Stack trace returned 6 entries:
[bt] (0) /home/nvidia/incubator-mxnet-512/python/mxnet/../../lib/libmxnet.so(_ZN4dmlc15LogMessageFatalD1Ev+0x44) [0x7f86bccb3c]
[bt] (1) /home/nvidia/incubator-mxnet-512/python/mxnet/../../lib/libmxnet.so(_ZN5mxnet3rtc10CudaModule5ChunkC2EPKcRKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaI
[bt] (2) /home/nvidia/incubator-mxnet-512/python/mxnet/../../lib/libmxnet.so(MXRtcCudaModuleCreate+0x4d4) [0x7f8857b524]
[bt] (3) /usr/lib/python3.5/lib-dynload/_ctypes.cpython-35m-aarch64-linux-gnu.so(ffi_call_SYSV+0x64) [0x7f8aee0980]
[bt] (4) /usr/lib/python3.5/lib-dynload/_ctypes.cpython-35m-aarch64-linux-gnu.so(ffi_call+0xc0) [0x7f8aee01e0]
[bt] (5) /usr/lib/python3.5/lib-dynload/_ctypes.cpython-35m-aarch64-linux-gnu.so(_ctypes_callproc+0x448) [0x7f8aed8f68]
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services