Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrading Paddle SWIG API to C-API #959

Closed
reyoung opened this issue Dec 20, 2016 · 0 comments
Closed

Upgrading Paddle SWIG API to C-API #959

reyoung opened this issue Dec 20, 2016 · 0 comments

Comments

@reyoung
Copy link
Collaborator

reyoung commented Dec 20, 2016

Here, we purpose several steps in developing Paddle API, make developing progress smooth and acceptable.

  1. Use SWIG-API to expose Paddle and decide Python API.
    from 2016-12-20 to 2016-12-27

    1. give an example how to train a model in Python currently. @reyoung [2016-12-20]
      1. MNIST demo and Quick Start Demo.
      2. local mode / cluster mode.
    2. make trainer_config & data_provider in a same file. [2016-12-21, 22, 23]
      1. make trainer_config in the same python file. @jacquesqiao
      2. make data can easily fit to paddle gradient machine
    3. extract user level API from demo [2016-12-24,25]
      1. Add some syntactic sugar in python, make users not to write some standard code.
    4. change other demos by using API trainer. [2016-12-26,27]
  2. Make Python-API stable, change it to C-API.

    1. We hope the Python-API is in alpha stage in 2016-12-27. So we can discuss API design base on this version. We will decide what Python API should be in early January.
    2. When the python API about Paddle is stable, we will remove SWIG and change it to C-API, let multiple language bindings could be possible.
      1. Clean Global variables/Remove log fatal.
      1. Expose C-API and make Python-API stable
  3. Releasing C-API and SDK for C/Cpp model inference.

zhhsplendid pushed a commit to zhhsplendid/Paddle that referenced this issue Sep 25, 2019
* test=develop, update install doc

* add setuptools dependency

* Update compile_Ubuntu.md

update cudnn version

* Update install_Ubuntu.md

update cudnn version

* Update install_CentOS.md

update cudnn version

* test=develop, refine ubuntu cuda support

* test=develop, refine ubuntu cuda support

* test=develop, refine python support on python3.5

* fix python2 in ubuntu16.04 need gcc 5.4

* add nccl related doc

* refine doc

* add gpu fast install doc

* refine command of pip

* add avx off for mac complie

* refine code

* refine doc

* fix python only support 64bit
wangxicoding pushed a commit to wangxicoding/Paddle that referenced this issue Dec 9, 2021
…le#959)

* feat: beamsearch v2 support dygraph to static graph

* docs: add some annotations
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

No branches or pull requests

6 participants