-
DescriptionI tried to build mxnet with WARP_CTC enabled. What is the build parameter that best for this purpose? I tried to build using this make parameter
But I get error on docker on CPU machine during the import mxnet
If I build it using GPU docker with "nvidia default runtime" https://github.com/NVIDIA/nvidia-docker/wiki/Advanced-topics#default-runtime I get this error instead.
It only works if I RUN it inside Docker GPU mode regardless whether I build it with GPU or CPU Environment info (Required)
Package used (Python/R/Scala/Julia):
Build info (Required if built from source)Compiler (gcc/clang/mingw/visual studio):
MXNet commit hash:
Build config:
Minimum reproducible example(If you are using your own code, please provide a short script that reproduces the error. Otherwise, please provide link to the existing example.) Steps to reproduce(Paste the commands you ran that produced the error.)
|
Beta Was this translation helpful? Give feedback.
Replies: 9 comments 1 reply
-
Hey, this is the MXNet Label Bot. |
Beta Was this translation helpful? Give feedback.
-
@mxnet-label-bot add [Question] |
Beta Was this translation helpful? Give feedback.
-
I think you need to figure out the paths for runtime libraries, if you link with cuda you need cuda or a cuda stub on runtime. |
Beta Was this translation helpful? Give feedback.
-
Yes, I link it with cuda path. I am using nvidia docker image. During runtime in CPU, it has the cuda driver there inside /usr/local/cuda But it is still complaining about cudalib |
Beta Was this translation helpful? Give feedback.
-
I would recommend to try to use "ldd" and work on the LD library path environmental variables. |
Beta Was this translation helpful? Give feedback.
-
I cannot find the "libcuda.so.1" on my CPU machine. "/usr/lib/x86_64-linux-gnu" So my question is how to build mxnet that is compatible with GPU but also CPU. Is there any way to do this? |
Beta Was this translation helpful? Give feedback.
-
You can use https://github.com/apache/incubator-mxnet/blob/v1.x/tools/setup_gpu_build_tools.sh for setting up the stub for CUDA 10.1. |
Beta Was this translation helpful? Give feedback.
-
Build MXNet with GPU support but load on CPU machine is blocked by #17858 |
Beta Was this translation helpful? Give feedback.
-
I am trying to load it on cpu. Any possible ways to load mxnet on cpu. |
Beta Was this translation helpful? Give feedback.
You can use https://github.com/apache/incubator-mxnet/blob/v1.x/tools/setup_gpu_build_tools.sh for setting up the stub for CUDA 10.1.