forked from PaddlePaddle/Paddle
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add_api_cn (PaddlePaddle#437) * add gpu benchmark page (PaddlePaddle#436) * add gpu benchmark * fix comments * add chinese link in gen_doc.py (PaddlePaddle#439) * modified gen_doc.py * Update gen_doc.py * update gen_doc.py * Update mobile doc (PaddlePaddle#440) * update_en_structure * update_Paddle_commitid * delete_DS * update_mobile_doc * Update book commit (PaddlePaddle#438) * update_en_structure * update_Paddle_commitid * delete_DS * update_book_commit_id * update_api_rst * Adjust structure of advanced usage (PaddlePaddle#442) * adjust_structure_of_advanced_usage * Update paddle_gpu_benchmark.md * adjust_toctree_hidden * fix_api_guide * Update index.rst * fix deadlinkes (PaddlePaddle#443) * add_toctree (PaddlePaddle#445) * adjust_beginners_structure (PaddlePaddle#446) * adjust_beginners_structure * Update index.rst * update install_doc for python3 (PaddlePaddle#418) * update install_doc for python3 * update python3.5+ info,test=develop * fix review, test=develop * fix_pic (PaddlePaddle#447)
- Loading branch information
Showing
132 changed files
with
17,949 additions
and
393 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
######## | ||
预测部署 | ||
######## | ||
|
||
- `原生预测引擎 <inference/index_cn.html>`_ :介绍了支持模型部署上线的Fluid C++ API | ||
|
||
- `移动端部署 <mobile/index_cn.html>`_:介绍了 PaddlePaddle组织下的嵌入式平台深度学习框架Paddle-Mobile | ||
|
||
.. toctree:: | ||
:hidden: | ||
|
||
inference/index_cn.rst | ||
mobile/index_cn.rst |
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
5 changes: 3 additions & 2 deletions
5
...uid/user_guides/howto/inference/index.rst → ...anced_usage/deploy/inference/index_cn.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,14 @@ | ||
############ | ||
预测部署 | ||
原生预测引擎 | ||
############ | ||
|
||
PaddlePaddle Fluid 提供了 C++ API 来支持模型的部署上线 | ||
|
||
.. toctree:: | ||
:maxdepth: 2 | ||
:hidden: | ||
|
||
build_and_install_lib_cn.rst | ||
native_infer.md | ||
paddle_tensorrt_infer.md | ||
paddle_gpu_benchmark.md | ||
windows_cpp_inference.md |
2 changes: 1 addition & 1 deletion
2
...er_guides/howto/inference/native_infer.md → ...ed_usage/deploy/inference/native_infer.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# Paddle 预测 API | ||
# C++ 预测 API介绍 | ||
|
||
为了更简单方便的预测部署,Fluid 提供了一套高层 API 用来隐藏底层不同的优化实现。 | ||
|
||
|
48 changes: 48 additions & 0 deletions
48
doc/fluid/advanced_usage/deploy/inference/paddle_gpu_benchmark.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
# TensorRT库性能测试 | ||
|
||
## 测试环境 | ||
- CPU:Intel(R) Xeon(R) Gold 5117 CPU @ 2.00GHz GPU:Tesla P4 | ||
- TensorRT4.0, CUDA8.0, CUDNNV7 | ||
- 测试模型 ResNet50,MobileNet,ResNet101, Inception V3. | ||
|
||
## 测试对象 | ||
**PaddlePaddle, Pytorch, Tensorflow** | ||
|
||
- 在测试中,PaddlePaddle使用子图优化的方式集成了TensorRT, 模型[地址](https://github.com/PaddlePaddle/models/tree/develop/fluid/PaddleCV/image_classification/models)。 | ||
- Pytorch使用了原生的实现, 模型[地址1](https://github.com/pytorch/vision/tree/master/torchvision/models)、[地址2](https://github.com/marvis/pytorch-mobilenet)。 | ||
- 对TensorFlow测试包括了对TF的原生的测试,和对TF—TRT的测试,**对TF—TRT的测试并没有达到预期的效果,后期会对其进行补充**, 模型[地址](https://github.com/tensorflow/models)。 | ||
|
||
|
||
### ResNet50 | ||
|
||
|batch_size|PaddlePaddle(ms)|Pytorch(ms)|TensorFlow(ms)| | ||
|---|---|---|---| | ||
|1|4.64117 |16.3|10.878| | ||
|5|6.90622| 22.9 |20.62| | ||
|10|7.9758 |40.6|34.36| | ||
|
||
### MobileNet | ||
|batch_size|PaddlePaddle(ms)|Pytorch(ms)|TensorFlow(ms)| | ||
|---|---|---|---| | ||
|1| 1.7541 | 7.8 |2.72| | ||
|5| 3.04666 | 7.8 |3.19| | ||
|10|4.19478 | 14.47 |4.25| | ||
|
||
### ResNet101 | ||
|batch_size|PaddlePaddle(ms)|Pytorch(ms)|TensorFlow(ms)| | ||
|---|---|---|---| | ||
|1|8.95767| 22.48 |18.78| | ||
|5|12.9811 | 33.88 |34.84| | ||
|10|14.1463| 61.97 |57.94| | ||
|
||
|
||
### Inception v3 | ||
|batch_size|PaddlePaddle(ms)|Pytorch(ms)|TensorFlow(ms)| | ||
|---|---|---|---| | ||
|1|15.1613 | 24.2 |19.1| | ||
|5|18.5373 | 34.8 |27.2| | ||
|10|19.2781| 54.8 |36.7| | ||
|
||
|
||
|
||
|
2 changes: 1 addition & 1 deletion
2
.../howto/inference/paddle_tensorrt_infer.md → ...deploy/inference/paddle_tensorrt_infer.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
.../howto/inference/windows_cpp_inference.md → ...deploy/inference/windows_cpp_inference.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
Windows环境模型预测使用说明 | ||
Windows环境模型预测 | ||
=========================== | ||
|
||
环境部署 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
########## | ||
移动端部署 | ||
########## | ||
|
||
本模块介绍了 PaddlePaddle 组织下的嵌入式平台深度学习框架——Paddle-Mobile,包括: | ||
|
||
* `项目简介 <mobile_readme.html>`_:简要介绍了 Paddle-Mobile 的应用效果,特点以及使用说明 | ||
|
||
* `环境搭建 <mobile_build.html>`_:分别介绍如何在Docker和非Docker下搭建环境 | ||
|
||
.. toctree:: | ||
:hidden: | ||
|
||
mobile_readme.md | ||
mobile_build.md |
2 changes: 1 addition & 1 deletion
2
...uid/advanced_usage/deploy/mobile_build.md → ...anced_usage/deploy/mobile/mobile_build.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
File renamed without changes
6 changes: 3 additions & 3 deletions
6
doc/fluid/advanced_usage/development/contribute_to_paddle/index_cn.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
######## | ||
############ | ||
如何贡献代码 | ||
######## | ||
############ | ||
|
||
.. toctree:: | ||
:maxdepth: 2 | ||
:maxdepth: 1 | ||
|
||
local_dev_guide.md | ||
submit_pr_guide.md |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
############# | ||
新增operator | ||
############# | ||
|
||
- `如何写新的operator <../../../advanced_usage/development/new_op.html>`_ :介绍如何在 Fluid 中添加新的 Operator | ||
|
||
- `op相关的一些注意事项 <../../../advanced_usage/development/op_notes.html>`_ :介绍op相关的一些注意事项 | ||
|
||
.. toctree:: | ||
:hidden: | ||
|
||
new_op_cn.md | ||
op_notes.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../dev/new_op_cn.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
21 changes: 21 additions & 0 deletions
21
doc/fluid/advanced_usage/development/profiling/index_cn.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
########## | ||
性能调优 | ||
########## | ||
|
||
本模块介绍 Fluid 使用过程中的调优方法,包括: | ||
|
||
- `如何进行基准测试 <benchmark.html>`_:介绍如何选择基准模型,从而验证模型的精度和性能 | ||
- `CPU性能调优 <cpu_profiling_cn.html>`_:介绍如何使用 cProfile 包、yep库、Google perftools 进行性能分析与调优 | ||
- `GPU性能调优 <gpu_profiling_cn.html>`_:介绍如何使用 Fluid 内置的定时工具、nvprof 或 nvvp 进行性能分析和调优 | ||
- `堆内存分析和优化 <host_memory_profiling_cn.html>`_:介绍如何使用 gperftool 进行堆内存分析和优化,以解决内存泄漏的问题 | ||
- `Timeline工具简介 <timeline_cn.html>`_ :介绍如何使用 Timeline 工具进行性能分析和调优 | ||
|
||
|
||
.. toctree:: | ||
:hidden: | ||
|
||
benchmark.rst | ||
cpu_profiling_cn.md | ||
gpu_profiling_cn.rst | ||
host_memory_profiling_cn.md | ||
timeline_cn.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,3 +14,5 @@ WeightedAverage | |
:members: | ||
:noindex: | ||
|
||
Read Chinese Version: :ref:`cn_api_fluid_average_WeightedAverage` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.