提交 6e036912 编写于 作者: W wangguibao

CTR prediction serving

上级 2799f4c8
...@@ -109,7 +109,7 @@ int CTRPredictionOp::inference() { ...@@ -109,7 +109,7 @@ int CTRPredictionOp::inference() {
if (kvinfo != NULL) { if (kvinfo != NULL) {
std::string table_name; std::string table_name;
if (kvinfo->sparse_param_service_type != configure::EngineDesc::NONE) { if (kvinfo->sparse_param_service_type != configure::EngineDesc::NONE) {
std::string table_name = kvinfo->sparse_param_service_table_name; table_name = kvinfo->sparse_param_service_table_name;
} }
if (kvinfo->sparse_param_service_type == configure::EngineDesc::LOCAL) { if (kvinfo->sparse_param_service_type == configure::EngineDesc::LOCAL) {
......
...@@ -66,6 +66,9 @@ class KVManager { ...@@ -66,6 +66,9 @@ class KVManager {
LOG(ERROR) << "Failed insert item: " << engine_name; LOG(ERROR) << "Failed insert item: " << engine_name;
return -1; return -1;
} }
LOG(WARNING) << engine_name << ": "
<< kvinfo->sparse_param_service_table_name;
LOG(WARNING) << "Succ proc initialize kvmanager for engine: " LOG(WARNING) << "Succ proc initialize kvmanager for engine: "
<< engine_name; << engine_name;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册