- 28 7月, 2021 1 次提交
-
-
由 jiangcheng 提交于
This PR added optional boolean is_parameter and stop_gradient in the VarDesc proto, and remove them during save_inference_model
-
- 09 4月, 2020 1 次提交
-
-
由 Chen Weihang 提交于
* polish api program error message, test=develop * fix condition error, test=develop * fix test prune error, test=develop * fix coverage problem, test=develop
-
- 14 1月, 2020 1 次提交
-
-
由 Chen Weihang 提交于
* add all_parameters for Program, test=develop * refine unittest, test=develop * add example print result, test=develop
-
- 19 9月, 2018 1 次提交
-
-
由 Xin Pan 提交于
In the future, we'd like to encourage user to save everything during training. This allows us to 1. Do more flexible optimization passes 2. Re-train and fune-tune
-
- 18 9月, 2018 1 次提交
-
-
由 Wu Yi 提交于
* hide program APIs * fix merge error * update
-
- 14 8月, 2018 1 次提交
-
-
由 Qiao Longfei 提交于
add export_for_deployment flag to save_inference_model
-
- 12 4月, 2018 1 次提交
-
-
由 Yang Yang(Tony) 提交于
-
- 24 2月, 2018 2 次提交
- 13 2月, 2018 1 次提交
-
-
由 Xin Pan 提交于
Currently, our tests run with 2 GPUs, the init time is absurdly long: about 4s for each process. Currently, we run each OP test on different processes. This PR: 1. create cmake function py_test_modules which will generate the Makefile that runs a list of Python unittest module in a single Python process. 2. move all "python unittest compatible" (e.g., used the unittest package, not just a regular python file). from fluid/tests to fluid/tests/unittests. 3. cmake now will run all OP tests in fluid/tests/unittests in a single process, except the time-consuming tests, they are separated into different processes to utilize parallelism. Please make sure to use the unittest package if you put the python test file in fluid/tests/unittests 4. remove all exit(0) from fluid/tests/unittests/*.py, exit(0) is used to disable unittest, we can not do it when running all tests in a single process since it will terminate the process without running the other tests. Instead, the test is disabled in fluid/tests/unittests/CMakeLists.txt. FIXME is added for each disabled item. Please disable the unittest from fluid/tests/unittests/CMakeLists.txt, instead of adding exit(0) to the Python file, for all Python file in fluid/tests/unittests/. 5. add an option WITH_FAST_BUNDLE_TEST. When OFF, will run the unit tests in separate process so that they can be tested individually.
-
- 12 2月, 2018 1 次提交
-
-
由 qingqing01 提交于
-
- 21 1月, 2018 1 次提交
-
-
由 dzhwinter 提交于
* "fix decode bug" * "follow commnet" * "fix error" * "fix hook bug" * fix based comment * fix copyright * fix based on comment
-
- 15 1月, 2018 1 次提交
-
-
由 dzhwinter 提交于
* add copyright hook * add copyright hook * refine copyright hook * "test copyright hook" * fix check style * fix ci
-
- 19 12月, 2017 2 次提交
-
-
由 qiaolongfei 提交于
-
由 Yu Yang 提交于
* Simplize system_allocator and fix GPU_INFO * Remove main_program/startup_program * Fix optimizer * Fix CI * Follow comments
-
- 28 11月, 2017 1 次提交
-
-
由 Yu Yang 提交于
* Unify fluid submodules to fluid module Change books just use `import fluid`, not submodules * Remove g_main_program/g_startup_program Use default_main_program/default_startup_program instead * Typo * Fix CI
-
- 27 11月, 2017 1 次提交
-
-
由 Yu Yang 提交于
* Restore the param infos in Program.clone() The Program.clone only clone the variables and ops in the program into a new program. However, the information of Parameter is not clone. So we need restore the information of Parameters. Fix #5871 * Follow comments * Fix CI * Fix CI * Fix CI
-
- 18 11月, 2017 1 次提交
-
-
由 Qiao Longfei 提交于
* enforce shape of backward target to be {1} * fix test_regularizer.py * rm unused code * fix backward_test * fix a type bug * fix test_program
-
- 14 11月, 2017 1 次提交
-
-
由 Qiao Longfei 提交于
* init commit * change some dir name
-
- 05 11月, 2017 1 次提交
-
-
由 Yu Yang 提交于
-
- 28 10月, 2017 1 次提交
-
-
由 fengjiayi 提交于
* Add `dump_to_file()` for ProgrameDescBind in pybind * Update * Add utility.py * typo * Fix bugs * Move add_feed/fetch_components to untility.py * Compelete dump * Follow comments * Change output of Prune() from inference to pointer * Expose Prune() to Python * Compelete save/load API of inference model * Fix errors * Debuging * Compelete unit tests * follow comments
-
- 27 10月, 2017 1 次提交
-
-
由 fengjiayi 提交于
* compelete restoring program_bind from program_desc * Fix bugs * fix compile errors * fix errors and add unit tests * rename some vars * Follow comments
-
- 19 10月, 2017 2 次提交
-
-
由 Qiao Longfei 提交于
* remove Program.instance * fix test_program.py
-
由 Yu Yang 提交于
* Implement FC layer with helper * Update LayerHelper * Add debug string for Python ProtoBuf and Rename `Sync` to `Flush` * Add check of ProtoBuf initialization * Layer wrapper for FC * Fix unittest * Fix CI * Add code generator * AttributeChecker Better error log and speicalize bool Since lots of types can be cast to bool * Complete mlp, fit_a_line * Implementation of simple conv_2d layer * Fix bugs * Change ProgramDesc not a global variable * Polish code style * Stash * Correct implement BlockDesc destructor * Correct implement BlockDesc destructor * Unify program as parameter name * Fix bugs * Add unittest * Fix unit test error * Remove unused functions * Add clone for Python Program * Compare OpDescBind directly
-
- 18 10月, 2017 1 次提交
-
-
由 Qiao Longfei 提交于
* init parameter base class * optimize the Comments of optimizer * basic implimentation of optimizer * add test_optimizer * add no_grad_set to interface * update optimizer.py * python code can run * fix some problem * add sync_with_cpp to Python Program and Block * sync vars and ops in block from cpp * optimize code and add some comment * add more check for sync * update optimizer with return value of Backward * rm unused code * infer shape when create gradient vairiable * update test_optimizer * update test_program.py * update backward test * follow comment
-
- 16 10月, 2017 1 次提交
-
-
由 Qiao Longfei 提交于
* add sync_with_cpp to Python Program and Block * sync vars and ops in block from cpp * optimize code and add some comment * add more check for sync
-
- 15 10月, 2017 4 次提交
-
-
由 qiaolongfei 提交于
-
由 qiaolongfei 提交于
-
由 Dong Zhihong 提交于
-
由 Qiao Longfei 提交于
* add target to Backward, generate var in block when call backward * modify backward_test * fix executor_test * set var desc default type to LOD_TENSOR * update backward_test * insert loss in the top level of backward * create grad vars for all blocks in current program * optimize code * update test_program.py * only create var for newly create blocks when backward
-
- 13 10月, 2017 1 次提交
-
-
由 fengjiayi 提交于
-
- 11 10月, 2017 2 次提交
-
-
由 qiaolongfei 提交于
-
由 qiaolongfei 提交于
-
- 10 10月, 2017 1 次提交
-
-
由 Yu Yang 提交于
Following the design * https://github.com/PaddlePaddle/Paddle/blob/develop/doc/design/python_api.md Just written `Program`, `Block` and unittest of program.
-