未验证 提交 a12b6bb9 编写于 作者: T tianshuo78520a 提交者: GitHub

add readme in whl package (#30726)

上级 5b59499e
--------------------------------------------------------------------------------
[![Build Status](https://travis-ci.org/PaddlePaddle/Paddle.svg?branch=develop)](https://travis-ci.org/PaddlePaddle/Paddle)
[![Documentation Status](https://img.shields.io/badge/docs-latest-brightgreen.svg?style=flat)](http://www.paddlepaddle.org.cn/documentation/docs/en/1.8/beginners_guide/index_en.html)
[![Documentation Status](https://img.shields.io/badge/中文文档-最新-brightgreen.svg)](http://www.paddlepaddle.org.cn/documentation/docs/zh/1.8/beginners_guide/index_cn.html)
[![Release](https://img.shields.io/github/release/PaddlePaddle/Paddle.svg)](https://github.com/PaddlePaddle/Paddle/releases)
[![License](https://img.shields.io/badge/license-Apache%202-blue.svg)](LICENSE)
Welcome to the PaddlePaddle GitHub.
PaddlePaddle, as the only independent R&D deep learning platform in China, has been officially open-sourced to professional communities since 2016. It is an industrial platform with advanced technologies and rich features that cover core deep learning frameworks, basic model libraries, end-to-end development kits, tools & components as well as service platforms.
PaddlePaddle is originated from industrial practices with dedication and commitments to industrialization. It has been widely adopted by a wide range of sectors including manufacturing, agriculture, enterprise service, and so on while serving more than 2.3 million developers. With such advantages, PaddlePaddle has helped an increasing number of partners commercialize AI.
## Installation
We provide users with four installation methods ,which are pip, conda, docker and install with source code.
### PIP Installation
#### <a id="PREQUISITES">PREQUISTIES</a>
##### On Windows:
- **Windows 7/8/10 Pro/Enterprise (64bit)**
- **GPU version support CUDA 9.0/9.1/9.2/10.0/10.1,only supports single card**
- **Python version 2.7.15+/3.5.1+/3.6/3.7/3.8 (64 bit)**
- **pip version 9.0.1+ (64 bit)**
##### On Linux:
- **Linux Version (64 bit)**
- **CentOS 6 (GPU Version Supports CUDA 9.0/9.1/9.2/10.0/10.1, only supports single card**)**
- **CentOS 7 (GPUVersion Supports CUDA 9.0/9.1/9.2/10.0/10.1, CUDA 9.1 only supports single card**)**
- **Ubuntu 14.04 (GPUVersion Supports CUDA 10.0/10.1)**
- **Ubuntu 16.04 (GPUVersion Supports CUDA 9.0/9.1/9.2/10.0/10.1)**
- **Ubuntu 18.04 (GPUVersion Supports CUDA 10.0/10.1)**
- **Python Version: 2.7.15+/3.5.1+/3.6/3.7/3.8 (64 bit)**
- **pip or pip3 Version 20.2.2+ (64 bit)**
##### On MacOS:
- **MacOS version 10.11/10.12/10.13/10.14 (64 bit) (not support GPU version yet)**
- **Python version 2.7.15+/3.5.1+/3.6/3.7/3.8 (64 bit)**
- **pip or pip3 version 9.0.1+ (64 bit)**
#### <a id="Commands to install">Commands to install</a>
###### cpu:
python2:
```python -m pip install paddlepaddle```
python3:
```python3 -m pip install paddlepaddle```
###### gpu-cuda10.2:
python2:
```python -m pip install paddlepaddle-gpu```
python3:
```python3 -m pip install paddlepaddle-gpu```
###### gpu-cuda9、10.0、10.1、11:
We only release paddlepaddle-gpu cuda10.2 on pypi.
If you want to install paddlepaddle-gpu with cuda version of 9.0 ,10.0 ,10.1 ,or 11.0, commands to install are on our website: [Installation Document](https://www.paddlepaddle.org.cn/)
#### <a id="Verify installation">Verify installation </a>
After the installation is complete, you can use `python` or `python3` to enter the Python interpreter and then use `import paddle.fluid` and `fluid.install_check.run_check()`
If `Your Paddle Fluid is installed succesfully!` appears, to verify that the installation was successful.
### Other installation methods
If you want to install witch conda or docker or pip,please see commands to install on our website: [Installation Document](https://www.paddlepaddle.org.cn/)
## FOUR LEADING TECHNOLOGIES
- **Agile Framework for Industrial Development of Deep Neural Networks**
The PaddlePaddle deep learning framework facilitates the development while lowering the technical burden, through leveraging a programmable scheme to architect the neural networks. It supports both declarative programming and imperative programming with both development flexibility and high runtime performance preserved. The neural architectures could be automatically designed by algorithms with better performance than the ones designed by human experts.
- **Support Ultra-Large-Scale Training of Deep Neural Networks**
PaddlePaddle has made breakthroughs in ultra-large-scale deep neural networks training. It launched the world's first large-scale open-source training platform that supports the training of deep networks with 100 billions of features and trillions of parameters using data sources distributed over hundreds of nodes. PaddlePaddle overcomes the online deep learning challenges for ultra-large-scale deep learning models, and further achieved the real-time model updating with more than 1 trillion parameters.
[Click here to learn more](https://github.com/PaddlePaddle/Fleet)
- **Accelerated High-Performance Inference over Ubiquitous Deployments**
PaddlePaddle is not only compatible with other open-source frameworks for models training, but also works well on the ubiquitous developments, varying from platforms to devices. More specifically, PaddlePaddle accelerates the inference procedure with the fastest speed-up. Note that, a recent breakthrough of inference speed has been made by PaddlePaddle on Huawei's Kirin NPU, through the hardware/software co-optimization.
[Click here to learn more](https://github.com/PaddlePaddle/Paddle-Lite)
- **Industry-Oriented Models and Libraries with Open Source Repositories**
PaddlePaddle includes and maintains more than 100 mainstream models that have been practiced and polished for a long time in the industry. Some of these models have won major prizes from key international competitions. In the meanwhile, PaddlePaddle has further more than 200 pre-training models (some of them with source codes) to facilitate the rapid development of industrial applications.
[Click here to learn more](https://github.com/PaddlePaddle/models)
## Documentation
We provide [English](http://www.paddlepaddle.org.cn/documentation/docs/en/1.8/beginners_guide/index_en.html) and
[Chinese](http://www.paddlepaddle.org.cn/documentation/docs/zh/1.8/beginners_guide/index_cn.html) documentation.
- [Basic Deep Learning Models](https://www.paddlepaddle.org.cn/documentation/docs/en/beginners_guide/index_en.html)
You might want to start from how to implement deep learning basics with PaddlePaddle.
- [User Guides](https://www.paddlepaddle.org.cn/documentation/docs/en/user_guides/index_en.html)
You might have got the hang of Beginner’s Guide, and wish to model practical problems and build your original networks.
- [Advanced User Guides](https://www.paddlepaddle.org.cn/documentation/docs/en/advanced_guide/index_en.html)
So far you have already been familiar with Fluid. And the next step should be building a more efficient model or inventing your original Operator.
- [API Reference](https://www.paddlepaddle.org.cn/documentation/docs/en/api/index_en.html)
Our new API enables much shorter programs.
- [How to Contribute](https://www.paddlepaddle.org.cn/documentation/docs/en/advanced_guide/addon_development/contribute_code/index_en.html)
We appreciate your contributions!
## Communication
- [Github Issues](https://github.com/PaddlePaddle/Paddle/issues): bug reports, feature requests, install issues, usage issues, etc.
- QQ discussion group: 796771754 (PaddlePaddle).
- [Forums](http://ai.baidu.com/forum/topic/list/168?pageNo=1): discuss implementations, research, etc.
## Copyright and License
PaddlePaddle is provided under the [Apache-2.0 license](LICENSE).
...@@ -495,12 +495,30 @@ else: ...@@ -495,12 +495,30 @@ else:
def redirect_stdout(): def redirect_stdout():
yield yield
# Log for PYPI
if sys.version_info > (3,0):
with open("@PADDLE_BINARY_DIR@/python/paddle/README.md", "r", encoding='UTF-8') as f:
long_description = f.read()
else:
with open("@PADDLE_BINARY_DIR@/python/paddle/README.md", "r")as f:
long_description = unicode(f.read(), 'UTF-8')
with redirect_stdout(): with redirect_stdout():
setup(name='${PACKAGE_NAME}', setup(name='${PACKAGE_NAME}',
version='${PADDLE_VERSION}', version='${PADDLE_VERSION}',
description='Parallel Distributed Deep Learning', description='Parallel Distributed Deep Learning',
install_requires=setup_requires, long_description=long_description,
long_description_content_type="text/markdown",
author_email="Paddle-better@baidu.com",
maintainer="PaddlePaddle",
maintainer_email="Paddle-better@baidu.com",
project_urls = {
'Homepage': 'https://www.paddlepaddle.org.cn/',
'Downloads': 'https://github.com/paddlepaddle/paddle'
},
license='Apache Software License',
packages=packages, packages=packages,
install_requires=setup_requires,
ext_modules=ext_modules, ext_modules=ext_modules,
package_data=package_data, package_data=package_data,
package_dir=package_dir, package_dir=package_dir,
...@@ -515,7 +533,21 @@ with redirect_stdout(): ...@@ -515,7 +533,21 @@ with redirect_stdout():
'console_scripts': [ 'console_scripts': [
'fleetrun = paddle.distributed.fleet.launch:launch' 'fleetrun = paddle.distributed.fleet.launch:launch'
] ]
} },
classifiers=[
'Development Status :: 5 - Production/Stable',
'Operating System :: OS Independent',
'Intended Audience :: Developers',
'Intended Audience :: Education',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: C++',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
],
) )
# As there are a lot of files in purelib which causes many logs, # As there are a lot of files in purelib which causes many logs,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册