Skip to content

Commit fd3ea64

Browse files
authored
Merge pull request #1 from PaddlePaddle/release/1.1
Release/1.1
2 parents ee0b995 + 0f31e62 commit fd3ea64

File tree

843 files changed

+49903
-1708
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

843 files changed

+49903
-1708
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

.gitmodules

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
1-
[submodule "paddle"]
2-
path = paddle
3-
url = https://github.com/PaddlePaddle/Paddle.git
4-
[submodule "book"]
5-
path = book
6-
url = https://github.com/PaddlePaddle/book.git
1+
[submodule "external/Paddle"]
2+
path = external/Paddle
3+
url = https://github.com/PaddlePaddle/Paddle
4+
[submodule "external/book"]
5+
path = external/book
6+
url = https://github.com/PaddlePaddle/book
7+
[submodule "external/Anakin"]
8+
path = external/Anakin
9+
url = https://github.com/PaddlePaddle/Anakin
10+
[submodule "external/paddle-mobile"]
11+
path = external/paddle-mobile
12+
url = https://github.com/PaddlePaddle/paddle-mobile
13+
[submodule "external/models"]
14+
path = external/models
15+
url = https://github.com/PaddlePaddle/models

.travis.yml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
language: cpp
2+
cache:
3+
bundler: true
4+
directories:
5+
- $HOME/.ccache
6+
- $HOME/.cache/pip
7+
- $HOME/docker
8+
- $TRAVIS_BUILD_DIR/external/Paddle/build/third_party
9+
10+
sudo: required
11+
dist: trusty
12+
services:
13+
- docker
14+
os:
15+
- linux
16+
17+
addons:
18+
apt:
19+
packages:
20+
- git
21+
- python
22+
- python-pip
23+
- python2.7-dev
24+
ssh_known_hosts: 13.229.163.131
25+
before_install:
26+
- sudo pip install pylint pytest astroid isort
27+
28+
before_install:
29+
- sudo pip install pylint pytest astroid isort
30+
# Force the script to be timed out after certain duration
31+
- function timeout() { perl -e 'alarm shift; exec @ARGV' "$@"; }
32+
33+
jobs:
34+
include:
35+
# Force the deploy_docs.sh to time out after 40 minutes.
36+
# Travis CI will terminate the build completely after 50 minutes and won't allow caching to happen.
37+
# Time out the build preemptively to cache built libraries.
38+
- script: timeout 2400 scripts/deploy_docs.sh full
39+
name: Generate Docs
40+
41+
notifications:
42+
email:
43+
on_success: change
44+
on_failure: always

Makefile

Lines changed: 0 additions & 192 deletions
This file was deleted.

README.md

Lines changed: 18 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -1,57 +1,25 @@
1-
# Fluid Documentation Skeleton
1+
# Introduction
2+
Fluiddoc consolidates all the documentations related to Paddle. It supplies the contents to PaddlePaddle.org via CI.
23

3-
## Build
4+
# Architecture
5+
FluidDoc submodules Paddle, Book, Models, Mobile and Anakin under `external` folder. All submodules should be put under `external` as standard practice.
46

5-
To build documentation, you need have a linux machine and have python2, virtualenv, gmake installed.
7+
Fluiddoc then uses them as references to load up the documents. The FluidDoc constructs the whole doc-tree under the `FluidDoc/doc/fluid` folder. The entry point is `FluidDoc/doc/fluid/index_cn.rst` and `FluidDoc/doc/fluid/index_en.rst`
68

7-
### Preparation
9+
When a release branch is pushed to Github, Travis-CI will start automatically to compile documents and deploy documents to the server.
810

9-
You need to create a `virtualenv` instead of polute the global python library path
11+
## Note:
12+
FluidDoc needs Paddle python module to compile API documents. Unfortunately, compiling Paddle python module takes longer time Travis CI permits. Usually Travis CI will fail due because of timeout. That's why there three jobs on Travis, two of them are to build libraries. Once the libraries are cached on the Travis, next build will be a lot faster.
1013

11-
```bash
12-
virtualenv .env
13-
```
14+
## Preview with PPO
15+
To preview documents constructured by FluidDoc. Please follow the [regular preview step](https://github.com/PaddlePaddle/PaddlePaddle.org/blob/develop/README.md), but replace the path to paddle with the path to FluidDoc
16+
`./runserver --paddle <path_to_FluidDoc_dir>`
1417

15-
You can enter virtualenv by
18+
# Publish New release
19+
1. Checkout a new release branch. The branch name should follow `release/<version>`
20+
1. Update the documentations on the submodules or within FluidDoc
21+
1. Make sure all the submodules are ready for release. Paddle, book, model, mobile and Anakin should all have stable commits. Note: Paddle repo should update the API RST files accordinly if Paddle changes the included module/classes.
22+
1. Update the submodules under `external` folder and commit the changes.
23+
1. Git push the branch to Github, Travis CI will start several builds to publish the documents to the PaddlePaddle.org server
24+
1. Please notify the PaddlePaddle.org team that the release content is ready. PaddlePaddl.org team should enable the version and update the default version to the latest one. PaddlePaddle.org should also update the search index accordingly (Until the search server is up)
1625

17-
```bash
18-
source .env/bin/activate
19-
```
20-
21-
You can exit virtualenv by
22-
23-
```bash
24-
deactivate
25-
```
26-
27-
### Install dependencies
28-
29-
```bash
30-
# enter virtualenv
31-
source .env/bin/activate
32-
# install dependencies
33-
pip install -r requirements.txt
34-
```
35-
36-
### Make HTML
37-
38-
```bash
39-
# make clean # make clean to regenerate toctree. Just `make html` may have a cache.
40-
make html
41-
```
42-
and the html files will be generated to `build/html`. You can open `build/html/index.html` with your browser to see the documentation.
43-
44-
## Edit
45-
46-
### Edit documentation
47-
48-
It is suggested to use `reStructuredText` because it is the only official markup language supportted by our documentation generating system, sphinx. `markdown` can also be used. However, since the `markdown` has so many dialects, there is no guarantee that the `markdown` source file can be rendered well.
49-
50-
The `reStructuredText` cheatsheet is [here](http://docutils.sourceforge.net/docs/user/rst/quickref.html).
51-
52-
53-
### Edit structure
54-
55-
The `sphinx` (our documentation generating system) uses `toctree` to organize documentation. `toctree` means `table of content tree`.
56-
57-
Please see the [sphinx documentation](http://www.sphinx-doc.org/en/master/), especially [`toctree` directives](http://www.sphinx-doc.org/en/master/usage/restructuredtext/directives.html)

book

Lines changed: 0 additions & 1 deletion
This file was deleted.

build/.gitignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

doc/about/about_us.rst

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
=========
2+
关于我们
3+
=========
4+
5+
什么是PaddlePaddle
6+
--------------------
7+
8+
- PaddlePaddle是百度自主研发并开源的深度学习框架,它能够让开发者和企业安全、快速地实现自己的AI想法
9+
10+
- 项目团队汇聚了全球顶级的深度学习科学家,致力于为开发者和企业提供最好的深度学习研发体验
11+
12+
- 框架具有易学、易用、安全、高效四大特性,是最适合中国开发者和企业的深度学习工具
13+
14+
PaddlePaddle的技术特色
15+
-------------------------
16+
17+
- 新一代深度学习框架: PaddlePaddle是基于“深度学习编程语言”的新一代深度学习框架,在保证性能的同时,极大的提升了框架对模型的表达能力,能够描述任意潜在可能出现的模型
18+
19+
- 对大规模计算更加友好:经过百度内多种大规模计算业务的打磨,PaddlePaddle在分布式计算上表现优异,基于EDL技术能够节约大量计算资源,同时也能支持大规模稀疏模型的训练
20+
21+
- 提供可视化的深度学习:通过Visual DL可以帮助开发者方便的观测训练整体趋势、数据样本质量和中间结果、参数分布和变化趋势、以及模型的结构,帮助开发者更便捷的完成编程过程
22+
23+
提供基于PaddlePaddle的教育体系
24+
--------------------------------
25+
26+
- 深度学习课程:百度与中国市场顶级的教育、培训机构共同开发了深度学习精品课程以及学习教材,帮助开发者从零掌握深度学习
27+
28+
- 深度学习实训:对于目的是科研和学习的用户,PaddlePaddle提供了无需安装、线上运行的开发环境,并提供算法、算力、数据支持
29+
30+
- 线下培训:提供丰富、高质量的线下教育活动,如青年教师培训、线下实战营、沙龙等多种形式的培训和交流
31+
32+
33+
提供基于PaddlePaddle的AI服务
34+
------------------------------
35+
36+
- EadyDL:可以帮助零算法基础的企业快速完成一个深度学习任务,只需少量的数据即可得到优质的模型
37+
38+
- AI市场:提供标准化的AI 能力、产品的交易机制,帮助企业快速找到所需,有效开展AI业务
39+
40+
- 深度学习竞赛: PaddlePaddle汇聚顶尖深度学习开发者,企业可以发布自己的商业问题,通过竞赛方式快速找到最优的解决方案
41+
42+
你对PaddlePaddle有任何的问题都可以通过以下方式联系到我们
43+
-----------------------------------------------------------
44+
45+
- 学习/使用问题:可以在 `PaddlePaddle开源社区 <https://github.com/PaddlePaddle/Paddle/issues>`_,以及 `PaddlePaddle中文社区 <http://ai.baidu.com/forum/topic/list/168>`_ 向我们反馈
46+
47+
- 对PaddlePaddle框架发展的建议:可发送邮件至[email protected]
48+
49+
我们期待与你一起打造世界顶级深度学习框架,共同推动AI技术的进步
50+
51+
52+
53+
PaddlePaddle团队

0 commit comments

Comments
 (0)