You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OS Platform and Distribution (e.g., Linux Ubuntu 20.04):ubuntu 20.04.2
DeepRec version or commit id:deeprec2310
Python version:3.8
Bazel version (if compiling from source):0.26.1
GCC/Compiler version (if compiling from source):9.4.0
CUDA/cuDNN version:11.7
Describe the problem
按照sok的文档编译,发现编译报错,找不到tensorflow/core/kernels/gpu_device_array.h路径,去/tensorflow_core/include下看的确没有对应路径,但是源码中是存在该头文件,报错日志:
[ 87%] Building CUDA object experiment/CMakeFiles/sok_experiment.dir/variable/impl/variable_base.cu.o
[ 88%] Building CXX object experiment/CMakeFiles/sok_experiment.dir/gpu_train/DeepRec-deeprec2310/addons/sparse_operation_kit/core/adapter/lookup_adapter.cpp.o
In file included from /usr/local/lib/python3.8/dist-packages/tensorflow_core/include/tensorflow/core/framework/embedding/embedding_var.h:31,
from /gpu_train/DeepRec-deeprec2310/addons/sparse_operation_kit/core/adapter/lookup_adapter.hpp:31,
from /gpu_train/DeepRec-deeprec2310/addons/sparse_operation_kit/core/adapter/lookup_adapter.cpp:17:
/usr/local/lib/python3.8/dist-packages/tensorflow_core/include/tensorflow/core/framework/embedding/embedding_var_context.h:22: warning: "EIGEN_USE_GPU" redefined
22 | #define EIGEN_USE_GPU
|
<command-line>: note: this is the location of the previous definition
In file included from /usr/local/lib/python3.8/dist-packages/tensorflow_core/include/tensorflow/core/framework/embedding/embedding_var.h:31,
from /gpu_train/DeepRec-deeprec2310/addons/sparse_operation_kit/core/adapter/lookup_adapter.hpp:31,
from /gpu_train/DeepRec-deeprec2310/addons/sparse_operation_kit/core/adapter/lookup_adapter.cpp:17:
/usr/local/lib/python3.8/dist-packages/tensorflow_core/include/tensorflow/core/framework/embedding/embedding_var_context.h:23:10: fatal error: tensorflow/core/kernels/gpu_device_array.h: No such file or directory
23 | #include "tensorflow/core/kernels/gpu_device_array.h"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [experiment/CMakeFiles/sok_experiment.dir/build.make:398: experiment/CMakeFiles/sok_experiment.dir/gpu_train/DeepRec-deeprec2310/addons/sparse_operation_kit/core/adapter/lookup_adapter.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /usr/local/lib/python3.8/dist-packages/tensorflow_core/include/tensorflow/core/framework/embedding/embedding_var.h:31,
from /gpu_train/DeepRec-deeprec2310/addons/sparse_operation_kit/core/adapter/lookup_adapter.hpp:31,
from /tmp/external/hugectr/sparse_operation_kit/experiment/lookup/kernels/embedding_collection.cc:1042:
/usr/local/lib/python3.8/dist-packages/tensorflow_core/include/tensorflow/core/framework/embedding/embedding_var_context.h:22: warning: "EIGEN_USE_GPU" redefined
22 | #define EIGEN_USE_GPU
|
<command-line>: note: this is the location of the previous definition
In file included from /usr/local/lib/python3.8/dist-packages/tensorflow_core/include/tensorflow/core/framework/embedding/embedding_var.h:31,
from /gpu_train/DeepRec-deeprec2310/addons/sparse_operation_kit/core/adapter/lookup_adapter.hpp:31,
from /tmp/external/hugectr/sparse_operation_kit/experiment/lookup/kernels/embedding_collection.cc:1042:
/usr/local/lib/python3.8/dist-packages/tensorflow_core/include/tensorflow/core/framework/embedding/embedding_var_context.h:23:10: fatal error: tensorflow/core/kernels/gpu_device_array.h: No such file or directory
23 | #include "tensorflow/core/kernels/gpu_device_array.h"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [experiment/CMakeFiles/sok_experiment.dir/build.make:146: experiment/CMakeFiles/sok_experiment.dir/lookup/kernels/embedding_collection.cc.o] Error 1
/usr/local/lib/python3.8/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/util/DisableStupidWarnings.h(74): warning #20236-D: pragma "diag_suppress" is deprecated, use "nv_diag_suppress" instead
Provide the exact sequence of commands / steps that you executed before running into the problem
docker images:alideeprec/deeprec-release:deeprec2310-gpu-py38-cu116-ubuntu20.04
System information
Describe the problem
按照sok的文档编译,发现编译报错,找不到tensorflow/core/kernels/gpu_device_array.h路径,去/tensorflow_core/include下看的确没有对应路径,但是源码中是存在该头文件,报错日志:
Provide the exact sequence of commands / steps that you executed before running into the problem
docker images:alideeprec/deeprec-release:deeprec2310-gpu-py38-cu116-ubuntu20.04
Include any logs or source code that would be helpful to diagnose the problem.
The text was updated successfully, but these errors were encountered: