Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
机器未来
Paddle
提交
6f7550e4
P
Paddle
项目概览
机器未来
/
Paddle
与 Fork 源项目一致
Fork自
PaddlePaddle / Paddle
通知
1
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
Paddle
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1
Issue
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
未验证
提交
6f7550e4
编写于
7月 15, 2022
作者:
L
Leo Chen
提交者:
GitHub
7月 16, 2022
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Not rename pb file to avoid re-compile (#44370)
上级
4a4a0369
变更
27
隐藏空白更改
内联
并排
Showing
27 changed file
with
26 addition
and
31 deletion
+26
-31
paddle/fluid/distributed/CMakeLists.txt
paddle/fluid/distributed/CMakeLists.txt
+0
-5
paddle/fluid/distributed/common/afs_warpper.h
paddle/fluid/distributed/common/afs_warpper.h
+1
-1
paddle/fluid/distributed/ps/service/ps_client.h
paddle/fluid/distributed/ps/service/ps_client.h
+1
-1
paddle/fluid/distributed/ps/service/ps_service/graph_py_service.h
...luid/distributed/ps/service/ps_service/graph_py_service.h
+1
-1
paddle/fluid/distributed/ps/service/ps_service/service.h
paddle/fluid/distributed/ps/service/ps_service/service.h
+1
-1
paddle/fluid/distributed/ps/service/server.h
paddle/fluid/distributed/ps/service/server.h
+1
-1
paddle/fluid/distributed/ps/table/accessor.h
paddle/fluid/distributed/ps/table/accessor.h
+1
-1
paddle/fluid/distributed/ps/table/ctr_accessor.h
paddle/fluid/distributed/ps/table/ctr_accessor.h
+1
-1
paddle/fluid/distributed/ps/table/ctr_double_accessor.h
paddle/fluid/distributed/ps/table/ctr_double_accessor.h
+1
-1
paddle/fluid/distributed/ps/table/ctr_dymf_accessor.h
paddle/fluid/distributed/ps/table/ctr_dymf_accessor.h
+1
-1
paddle/fluid/distributed/ps/table/sparse_accessor.h
paddle/fluid/distributed/ps/table/sparse_accessor.h
+1
-1
paddle/fluid/distributed/ps/table/sparse_sgd_rule.h
paddle/fluid/distributed/ps/table/sparse_sgd_rule.h
+1
-1
paddle/fluid/distributed/ps/table/tensor_accessor.h
paddle/fluid/distributed/ps/table/tensor_accessor.h
+1
-1
paddle/fluid/distributed/test/barrier_table_test.cc
paddle/fluid/distributed/test/barrier_table_test.cc
+1
-1
paddle/fluid/distributed/test/brpc_service_sparse_sgd_test.cc
...le/fluid/distributed/test/brpc_service_sparse_sgd_test.cc
+1
-1
paddle/fluid/distributed/test/ctr_accessor_test.cc
paddle/fluid/distributed/test/ctr_accessor_test.cc
+1
-1
paddle/fluid/distributed/test/ctr_dymf_accessor_test.cc
paddle/fluid/distributed/test/ctr_dymf_accessor_test.cc
+1
-1
paddle/fluid/distributed/test/dense_table_test.cc
paddle/fluid/distributed/test/dense_table_test.cc
+1
-1
paddle/fluid/distributed/test/graph_node_split_test.cc
paddle/fluid/distributed/test/graph_node_split_test.cc
+1
-1
paddle/fluid/distributed/test/graph_node_test.cc
paddle/fluid/distributed/test/graph_node_test.cc
+1
-1
paddle/fluid/distributed/test/graph_table_sample_test.cc
paddle/fluid/distributed/test/graph_table_sample_test.cc
+1
-1
paddle/fluid/distributed/test/memory_geo_table_test.cc
paddle/fluid/distributed/test/memory_geo_table_test.cc
+1
-1
paddle/fluid/distributed/test/memory_sparse_table_test.cc
paddle/fluid/distributed/test/memory_sparse_table_test.cc
+1
-1
paddle/fluid/distributed/test/sparse_sgd_rule_test.cc
paddle/fluid/distributed/test/sparse_sgd_rule_test.cc
+1
-1
paddle/fluid/distributed/test/table_test.cc
paddle/fluid/distributed/test/table_test.cc
+1
-1
paddle/fluid/framework/fleet/heter_ps/test_sample_rate.cu
paddle/fluid/framework/fleet/heter_ps/test_sample_rate.cu
+1
-1
paddle/fluid/framework/trainer.h
paddle/fluid/framework/trainer.h
+1
-1
未找到文件。
paddle/fluid/distributed/CMakeLists.txt
浏览文件 @
6f7550e4
...
...
@@ -33,11 +33,6 @@ if(NOT WITH_PSCORE)
endif
()
proto_library
(
ps_framework_proto SRCS the_one_ps.proto
)
add_custom_command
(
TARGET ps_framework_proto
POST_BUILD
COMMAND mv the_one_ps.pb.h ps.pb.h
COMMAND mv the_one_ps.pb.cc ps.pb.cc
)
set
(
DISTRIBUTE_COMPILE_FLAGS
"-Wno-error=unused-value -Wno-non-virtual-dtor -Wno-error=non-virtual-dtor -Wno-error=delete-non-virtual-dtor -Wno-error=sign-compare -Wno-error=unused-variable -Wno-error=return-type -Wno-error=unused-but-set-variable -Wno-error=unknown-pragmas -Wno-error=parentheses -Wno-error=unused-result"
...
...
paddle/fluid/distributed/common/afs_warpper.h
浏览文件 @
6f7550e4
...
...
@@ -20,7 +20,7 @@
#include <string>
#include <vector>
#include "paddle/fluid/distributed/ps.pb.h"
#include "paddle/fluid/distributed/
the_one_
ps.pb.h"
#include "paddle/fluid/string/string_helper.h"
namespace
paddle
{
...
...
paddle/fluid/distributed/ps/service/ps_client.h
浏览文件 @
6f7550e4
...
...
@@ -22,11 +22,11 @@
#include <vector>
#include "paddle/fluid/distributed/common/cost_timer.h"
#include "paddle/fluid/distributed/ps.pb.h"
#include "paddle/fluid/distributed/ps/service/env.h"
#include "paddle/fluid/distributed/ps/service/sendrecv.pb.h"
#include "paddle/fluid/distributed/ps/table/accessor.h"
#include "paddle/fluid/distributed/ps/table/graph/graph_node.h"
#include "paddle/fluid/distributed/the_one_ps.pb.h"
#include "paddle/fluid/platform/timer.h"
namespace
paddle
{
...
...
paddle/fluid/distributed/ps/service/ps_service/graph_py_service.h
浏览文件 @
6f7550e4
...
...
@@ -27,12 +27,12 @@
#include "google/protobuf/text_format.h"
#include "gtest/gtest.h"
#include "paddle/fluid/distributed/ps.pb.h"
#include "paddle/fluid/distributed/ps/service/env.h"
#include "paddle/fluid/distributed/ps/service/graph_brpc_client.h"
#include "paddle/fluid/distributed/ps/service/graph_brpc_server.h"
#include "paddle/fluid/distributed/ps/service/ps_service/service.h"
#include "paddle/fluid/distributed/ps/service/sendrecv.pb.h"
#include "paddle/fluid/distributed/the_one_ps.pb.h"
#include "paddle/fluid/framework/lod_tensor.h"
#include "paddle/fluid/framework/program_desc.h"
#include "paddle/fluid/framework/scope.h"
...
...
paddle/fluid/distributed/ps/service/ps_service/service.h
浏览文件 @
6f7550e4
...
...
@@ -19,10 +19,10 @@ limitations under the License. */
#include <string>
#include <vector>
#include "paddle/fluid/distributed/ps.pb.h"
#include "paddle/fluid/distributed/ps/service/ps_client.h"
#include "paddle/fluid/distributed/ps/service/sendrecv.pb.h"
#include "paddle/fluid/distributed/ps/service/server.h"
#include "paddle/fluid/distributed/the_one_ps.pb.h"
namespace
paddle
{
namespace
distributed
{
...
...
paddle/fluid/distributed/ps/service/server.h
浏览文件 @
6f7550e4
...
...
@@ -24,9 +24,9 @@
#include "butil/endpoint.h"
#include "google/protobuf/service.h"
#include "paddle/fluid/distributed/common/registerer.h"
#include "paddle/fluid/distributed/ps.pb.h"
#include "paddle/fluid/distributed/ps/service/env.h"
#include "paddle/fluid/distributed/ps/service/sendrecv.pb.h"
#include "paddle/fluid/distributed/the_one_ps.pb.h"
#include "paddle/fluid/framework/channel.h"
#include "paddle/fluid/framework/scope.h"
#include "paddle/fluid/platform/device_context.h"
...
...
paddle/fluid/distributed/ps/table/accessor.h
浏览文件 @
6f7550e4
...
...
@@ -21,7 +21,7 @@
#include "paddle/fluid/distributed/common/afs_warpper.h"
#include "paddle/fluid/distributed/common/registerer.h"
#include "paddle/fluid/distributed/ps.pb.h"
#include "paddle/fluid/distributed/
the_one_
ps.pb.h"
namespace
paddle
{
namespace
distributed
{
...
...
paddle/fluid/distributed/ps/table/ctr_accessor.h
浏览文件 @
6f7550e4
...
...
@@ -19,9 +19,9 @@
#include <vector>
#include "paddle/fluid/distributed/common/registerer.h"
#include "paddle/fluid/distributed/ps.pb.h"
#include "paddle/fluid/distributed/ps/table/accessor.h"
#include "paddle/fluid/distributed/ps/table/sparse_sgd_rule.h"
#include "paddle/fluid/distributed/the_one_ps.pb.h"
namespace
paddle
{
namespace
distributed
{
...
...
paddle/fluid/distributed/ps/table/ctr_double_accessor.h
浏览文件 @
6f7550e4
...
...
@@ -19,9 +19,9 @@
#include <vector>
#include "paddle/fluid/distributed/common/registerer.h"
#include "paddle/fluid/distributed/ps.pb.h"
#include "paddle/fluid/distributed/ps/table/accessor.h"
#include "paddle/fluid/distributed/ps/table/sparse_sgd_rule.h"
#include "paddle/fluid/distributed/the_one_ps.pb.h"
namespace
paddle
{
namespace
distributed
{
...
...
paddle/fluid/distributed/ps/table/ctr_dymf_accessor.h
浏览文件 @
6f7550e4
...
...
@@ -19,9 +19,9 @@
#include <vector>
#include "paddle/fluid/distributed/common/registerer.h"
#include "paddle/fluid/distributed/ps.pb.h"
#include "paddle/fluid/distributed/ps/table/accessor.h"
#include "paddle/fluid/distributed/ps/table/sparse_sgd_rule.h"
#include "paddle/fluid/distributed/the_one_ps.pb.h"
namespace
paddle
{
namespace
distributed
{
...
...
paddle/fluid/distributed/ps/table/sparse_accessor.h
浏览文件 @
6f7550e4
...
...
@@ -19,9 +19,9 @@
#include <vector>
#include "paddle/fluid/distributed/common/registerer.h"
#include "paddle/fluid/distributed/ps.pb.h"
#include "paddle/fluid/distributed/ps/table/accessor.h"
#include "paddle/fluid/distributed/ps/table/sparse_sgd_rule.h"
#include "paddle/fluid/distributed/the_one_ps.pb.h"
namespace
paddle
{
namespace
distributed
{
...
...
paddle/fluid/distributed/ps/table/sparse_sgd_rule.h
浏览文件 @
6f7550e4
...
...
@@ -21,7 +21,7 @@
#include "glog/logging.h" // for CHECK
#include "paddle/fluid/distributed/common/local_random.h" // for local_uniform_real_distribution
#include "paddle/fluid/distributed/common/registerer.h"
#include "paddle/fluid/distributed/ps.pb.h"
#include "paddle/fluid/distributed/
the_one_
ps.pb.h"
namespace
paddle
{
namespace
distributed
{
...
...
paddle/fluid/distributed/ps/table/tensor_accessor.h
浏览文件 @
6f7550e4
...
...
@@ -20,8 +20,8 @@
#include <vector>
#include "paddle/fluid/distributed/common/registerer.h"
#include "paddle/fluid/distributed/ps.pb.h"
#include "paddle/fluid/distributed/ps/table/accessor.h"
#include "paddle/fluid/distributed/the_one_ps.pb.h"
namespace
paddle
{
namespace
distributed
{
...
...
paddle/fluid/distributed/test/barrier_table_test.cc
浏览文件 @
6f7550e4
...
...
@@ -18,9 +18,9 @@ limitations under the License. */
#include <vector>
#include "gtest/gtest.h"
#include "paddle/fluid/distributed/ps.pb.h"
#include "paddle/fluid/distributed/ps/table/common_table.h"
#include "paddle/fluid/distributed/ps/table/table.h"
#include "paddle/fluid/distributed/the_one_ps.pb.h"
namespace
paddle
{
namespace
distributed
{
...
...
paddle/fluid/distributed/test/brpc_service_sparse_sgd_test.cc
浏览文件 @
6f7550e4
...
...
@@ -18,10 +18,10 @@ limitations under the License. */
#include <thread> // NOLINT
#include "gtest/gtest.h"
#include "paddle/fluid/distributed/ps.pb.h"
#include "paddle/fluid/distributed/ps/service/brpc_ps_client.h"
#include "paddle/fluid/distributed/ps/service/brpc_ps_server.h"
#include "paddle/fluid/distributed/ps/service/env.h"
#include "paddle/fluid/distributed/the_one_ps.pb.h"
#include "paddle/fluid/framework/program_desc.h"
#include "paddle/fluid/platform/place.h"
#include "paddle/phi/kernels/funcs/math_function.h"
...
...
paddle/fluid/distributed/test/ctr_accessor_test.cc
浏览文件 @
6f7550e4
...
...
@@ -19,8 +19,8 @@ limitations under the License. */
#include "gtest/gtest.h"
#include "paddle/fluid/distributed/common/registerer.h"
#include "paddle/fluid/distributed/ps.pb.h"
#include "paddle/fluid/distributed/ps/table/sparse_sgd_rule.h"
#include "paddle/fluid/distributed/the_one_ps.pb.h"
namespace
paddle
{
namespace
distributed
{
...
...
paddle/fluid/distributed/test/ctr_dymf_accessor_test.cc
浏览文件 @
6f7550e4
...
...
@@ -19,8 +19,8 @@ limitations under the License. */
#include "gtest/gtest.h"
#include "paddle/fluid/distributed/common/registerer.h"
#include "paddle/fluid/distributed/ps.pb.h"
#include "paddle/fluid/distributed/ps/table/sparse_sgd_rule.h"
#include "paddle/fluid/distributed/the_one_ps.pb.h"
namespace
paddle
{
namespace
distributed
{
...
...
paddle/fluid/distributed/test/dense_table_test.cc
浏览文件 @
6f7550e4
...
...
@@ -17,8 +17,8 @@ limitations under the License. */
#include <vector>
#include "gtest/gtest.h"
#include "paddle/fluid/distributed/ps.pb.h"
#include "paddle/fluid/distributed/ps/table/memory_dense_table.h"
#include "paddle/fluid/distributed/the_one_ps.pb.h"
namespace
paddle
{
namespace
distributed
{
...
...
paddle/fluid/distributed/test/graph_node_split_test.cc
浏览文件 @
6f7550e4
...
...
@@ -21,7 +21,6 @@ limitations under the License. */
#include "google/protobuf/text_format.h"
#include "gtest/gtest.h"
#include "paddle/fluid/distributed/ps.pb.h"
#include "paddle/fluid/distributed/ps/service/brpc_ps_client.h"
#include "paddle/fluid/distributed/ps/service/brpc_ps_server.h"
#include "paddle/fluid/distributed/ps/service/env.h"
...
...
@@ -32,6 +31,7 @@ limitations under the License. */
#include "paddle/fluid/distributed/ps/service/ps_service/service.h"
#include "paddle/fluid/distributed/ps/service/sendrecv.pb.h"
#include "paddle/fluid/distributed/ps/table/graph/graph_node.h"
#include "paddle/fluid/distributed/the_one_ps.pb.h"
#include "paddle/fluid/framework/lod_tensor.h"
#include "paddle/fluid/framework/program_desc.h"
#include "paddle/fluid/framework/scope.h"
...
...
paddle/fluid/distributed/test/graph_node_test.cc
浏览文件 @
6f7550e4
...
...
@@ -23,7 +23,6 @@ limitations under the License. */
#include "google/protobuf/text_format.h"
#include "gtest/gtest.h"
#include "paddle/fluid/distributed/ps.pb.h"
#include "paddle/fluid/distributed/ps/service/brpc_ps_client.h"
#include "paddle/fluid/distributed/ps/service/brpc_ps_server.h"
#include "paddle/fluid/distributed/ps/service/env.h"
...
...
@@ -33,6 +32,7 @@ limitations under the License. */
#include "paddle/fluid/distributed/ps/service/ps_service/graph_py_service.h"
#include "paddle/fluid/distributed/ps/service/ps_service/service.h"
#include "paddle/fluid/distributed/ps/service/sendrecv.pb.h"
#include "paddle/fluid/distributed/the_one_ps.pb.h"
#include "paddle/fluid/framework/lod_tensor.h"
#include "paddle/fluid/framework/program_desc.h"
#include "paddle/fluid/framework/scope.h"
...
...
paddle/fluid/distributed/test/graph_table_sample_test.cc
浏览文件 @
6f7550e4
...
...
@@ -25,8 +25,8 @@
#include "google/protobuf/text_format.h"
#include "gtest/gtest.h"
#include "paddle/fluid/distributed/ps.pb.h"
#include "paddle/fluid/distributed/ps/table/common_graph_table.h"
#include "paddle/fluid/distributed/the_one_ps.pb.h"
namespace
framework
=
paddle
::
framework
;
namespace
platform
=
paddle
::
platform
;
namespace
operators
=
paddle
::
operators
;
...
...
paddle/fluid/distributed/test/memory_geo_table_test.cc
浏览文件 @
6f7550e4
...
...
@@ -20,10 +20,10 @@ limitations under the License. */
#include "google/protobuf/text_format.h"
#include "gtest/gtest.h"
#include "paddle/fluid/distributed/ps.pb.h"
#include "paddle/fluid/distributed/ps/table/depends/sparse_utils.h"
#include "paddle/fluid/distributed/ps/table/memory_sparse_geo_table.h"
#include "paddle/fluid/distributed/ps/table/table.h"
#include "paddle/fluid/distributed/the_one_ps.pb.h"
namespace
paddle
{
namespace
distributed
{
...
...
paddle/fluid/distributed/test/memory_sparse_table_test.cc
浏览文件 @
6f7550e4
...
...
@@ -22,8 +22,8 @@ limitations under the License. */
#include "google/protobuf/text_format.h"
#include "gtest/gtest.h"
#include "paddle/fluid/distributed/ps.pb.h"
#include "paddle/fluid/distributed/ps/table/table.h"
#include "paddle/fluid/distributed/the_one_ps.pb.h"
namespace
paddle
{
namespace
distributed
{
...
...
paddle/fluid/distributed/test/sparse_sgd_rule_test.cc
浏览文件 @
6f7550e4
...
...
@@ -18,7 +18,7 @@ limitations under the License. */
#include <iostream>
#include "gtest/gtest.h"
#include "paddle/fluid/distributed/ps.pb.h"
#include "paddle/fluid/distributed/
the_one_
ps.pb.h"
namespace
paddle
{
namespace
distributed
{
...
...
paddle/fluid/distributed/test/table_test.cc
浏览文件 @
6f7550e4
...
...
@@ -13,8 +13,8 @@ See the License for the specific language governing permissions and
limitations under the License. */
#include "gtest/gtest.h"
#include "paddle/fluid/distributed/ps.pb.h"
#include "paddle/fluid/distributed/ps/table/memory_dense_table.h"
#include "paddle/fluid/distributed/the_one_ps.pb.h"
//#include "paddle/fluid/distributed/ps/table/sparse_geo_table.h"
namespace
paddle
{
...
...
paddle/fluid/framework/fleet/heter_ps/test_sample_rate.cu
浏览文件 @
6f7550e4
...
...
@@ -25,11 +25,11 @@
#include "google/protobuf/text_format.h"
#include "gtest/gtest.h"
#include "paddle/fluid/distributed/ps.pb.h"
#include "paddle/fluid/distributed/ps/service/env.h"
#include "paddle/fluid/distributed/ps/service/sendrecv.pb.h"
#include "paddle/fluid/distributed/ps/table/common_graph_table.h"
#include "paddle/fluid/distributed/ps/table/graph/graph_node.h"
#include "paddle/fluid/distributed/the_one_ps.pb.h"
#include "paddle/fluid/framework/fleet/heter_ps/feature_value.h"
#include "paddle/fluid/framework/fleet/heter_ps/graph_gpu_ps_table.h"
#include "paddle/fluid/framework/fleet/heter_ps/graph_sampler.h"
...
...
paddle/fluid/framework/trainer.h
浏览文件 @
6f7550e4
...
...
@@ -37,7 +37,7 @@ limitations under the License. */
#include "paddle/phi/backends/dynload/port.h"
#ifdef PADDLE_WITH_PSLIB
#include "proto/ps.pb.h"
#include "proto/
the_one_
ps.pb.h"
#endif
namespace
paddle
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录