Skip to content
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

Cannot build docker for v05/closed/NVIDIA #43

Open
Nitinmlp opened this issue Nov 20, 2020 · 3 comments
Open

Cannot build docker for v05/closed/NVIDIA #43

Nitinmlp opened this issue Nov 20, 2020 · 3 comments

Comments

@Nitinmlp
Copy link

Have references to Python2 and python2.7 which runs into multiple issues.

Once I resolve that, I ran into famous issue of cannot find cublas_v2.h file although the file exists in 4 different locations on my system. Even giving absolute path does not work and build_docker is failing.

I modified INCPATH, CUDAPATH etc.. and it did not work. I even gave absolute path of the file in the concerned header file and still it does not work. any ideas what could be causing such issue?

and why this particular file. I f google, I see many in dev community complaining about this issue in different compilation contexts.
$find /usr/local -name "cublas.h"
/usr/local/cuda-8.0/include/cublas.h
/usr/local/cuda-10.0/include/cublas.h
/usr/local/cuda-10.1/targets/x86_64-linux/include/cublas.h

$find /usr/include -name "cublas.h"
/usr/include/cublas.h

In /plugin/decoderPlugin.h

#ifndef GNMT_DECODER_PLUGIN_H
#define GNMT_DECODER_PLUGIN_H

#include <NvInfer.h>
#include "NvInferPlugin.h"
#Compilation failing use absolute path for cublas_v2.h and it still fails
#include "/usr/include/cublas_v2.h"
#include <cublasLt.h>

Failure Log:
In file included from plugin/decoderPlugin.cu:19:0:
plugin/decoderPlugin.h:22:36: fatal error: /usr/include/cublas_v2.h: No such file or directory
compilation terminated.
Makefile:137: recipe for target '../../../../build/bin/GNMT/chobj/plugin/decoderPlugin.o' failed
make[2]: *** [../../../../build/bin/GNMT/chobj/plugin/decoderPlugin.o] Error 1
make[2]: *** Waiting for unfinished jobs....

@nvpohanh
Copy link

@Nitinmlp Which docker image did you use? Did you use this Dockerfile? https://github.com/mlperf/inference_results_v0.5/blob/master/closed/NVIDIA/docker/Dockerfile

@Nitinmlp
Copy link
Author

Nitinmlp commented Nov 23, 2020 via email

@nvpohanh
Copy link

@Nitinmlp Could you comment-out this line: https://github.com/mlperf/inference_results_v0.5/blob/master/closed/NVIDIA/docker/Dockerfile#L223 and try make build_docker again?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants