Skip to content

Commit 914d609

Browse files
authored
remove parallel_executor and execution_strategy (#6694)
1 parent 42c8fad commit 914d609

15 files changed

+2
-400
lines changed

docs/api_guides/index_cn.rst

-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ API 功能分类
1717
low_level/inference.rst
1818
low_level/memory_optimize.rst
1919
low_level/executor.rst
20-
low_level/parallel_executor.rst
2120
low_level/compiled_program.rst
2221
low_level/parameter.rst
2322
low_level/distributed/index.rst

docs/api_guides/index_en.rst

-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ This section introduces the Fluid API structure and usage, to help you quickly g
1717
low_level/inference_en.rst
1818
low_level/memory_optimize_en.rst
1919
low_level/executor_en.rst
20-
low_level/parallel_executor_en.rst
2120
low_level/compiled_program_en.rst
2221
low_level/parameter_en.rst
2322
low_level/distributed/index_en.rst

docs/api_guides/low_level/executor.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
执行引擎
55
##########
66

7-
:code:`Executor` 实现了一个简易的执行器,所有的操作在其中顺序执行。你可以在 Python 脚本中运行 :code:`Executor` 。PaddlePaddle Fluid 中有两种执行器。一种是 :code:`Executor` 默认的单线程执行器,另一种是并行计算执行器,在 :ref:`api_guide_parallel_executor` 中进行了解释。``Executor`` 和 :ref:`api_guide_parallel_executor` 的配置不同,这可能会给部分用户带来困惑。为使执行器更加灵活,我们引入了 :ref:`api_guide_compiled_program` , :ref:`api_guide_compiled_program` 用于把一个程序转换为不同的优化组合,可以通过 :code:`Executor` 运行。
7+
:code:`Executor` 实现了一个简易的执行器,所有的操作在其中顺序执行。你可以在 Python 脚本中运行 :code:`Executor` 。
88

99
:code:`Executor` 的逻辑非常简单。建议在调试阶段用 :code:`Executor` 在一台计算机上完整地运行模型,然后转向多设备或多台计算机计算。
1010

docs/api_guides/low_level/executor_en.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
Executor
55
################
66

7-
:code:`Executor` realizes a simple executor in which all operators will be executed in order. You can run :code:`Executor` in a Python script. There are two kinds of executors in PaddlePaddle Fluid. One is single-thread executor which is the default option for :code:`Executor` and the other is the parallel executor which is illustrated in :ref:`api_guide_parallel_executor_en` . The config of `Executor` and :ref:`api_guide_parallel_executor_en` is different, it may be a bit confusing for some users. To make the executor more facility, we introduce :ref:`api_guide_compiled_program_en` , :ref:`api_guide_compiled_program_en` is used to transform a program for various optimizations, and it can be run by :code:`Executor`.
7+
:code:`Executor` realizes a simple executor in which all operators will be executed in order. You can run :code:`Executor` in a Python script.
88

99
The logic of :code:`Executor` is very simple. It is suggested to thoroughly run the model with :code:`Executor` in debugging phase on one computer and then switch to mode of multiple devices or multiple computers to compute.
1010

docs/api_guides/low_level/layers/data_in_out_en.rst

-3
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,3 @@ Fluid supports obtaining data for the current batch in the training/inference ph
2525

2626
The user can fetch expected variables from :code:`executor.run(fetch_list=[...], return_numpy=...)` . User can determine whether to convert the output data to numpy array by setting the :code:`return_numpy` parameter.
2727
If :code:`return_numpy` is :code:`False` , data of type :code:`LoDTensor` will be returned.
28-
29-
For specific usage, please refer to the relevant API documentation :ref:`api_fluid_executor_Executor` and
30-
:ref:`api_fluid_ParallelExecutor`.

docs/api_guides/low_level/parallel_executor.rst

-66
This file was deleted.

docs/api_guides/low_level/parallel_executor_en.rst

-76
This file was deleted.

docs/design/concepts/images/parallel_executor_overview.dot

-83
This file was deleted.
Binary file not shown.

docs/design/concepts/index_cn.rst

-1
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,3 @@
1616
block.md
1717
scope.md
1818
executor.md
19-
parallel_executor.md

docs/design/concepts/index_en.rst

-1
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,3 @@ Core Concepts
1616
block.md
1717
scope.md
1818
executor.md
19-
parallel_executor.md

0 commit comments

Comments
 (0)