- 24 7月, 2020 4 次提交
-
-
由 Huihuang Zheng 提交于
Based on the comment here https://github.com/PaddlePaddle/Paddle/blob/b5f8784cab94eae785659787fc529870c87b254c/paddle/fluid/framework/details/build_strategy.h#L49 The unit test which compares Reduce and AllReduce must have diff. The PR_CI_Night runs on P40 machine and it has 8GB GPU, which is smaller than the 16GB normal CI machines. So we decrease the batch size in the past to make it runnable: https://github.com/PaddlePaddle/Paddle/pull/24651/files . Decreasing the batch size makes the difference occurs often. So this PR replace the absolute delta by relative delta. Before this PR, the unit test failure happens with probability about 1/100. After this PR it doesn't happen.
-
由 Zhen Wang 提交于
* fix the double grad bug for the star gan. test=develop * update the retain_graph parameter doc. test=develop * add the unit test for the retain_graph parameter. test=develop
-
由 Chen Weihang 提交于
* fix jit.save input type change error * add unittes
-
由 xujiaqi01 提交于
* add fleet distributed metrics * test=develop
-
- 23 7月, 2020 2 次提交
-
-
由 Leo Chen 提交于
* refine squeeze, test=develop * update squeeze, test=develop * refine compile-time infershape, test=develop * add more unittest, test=develop * follow comments, test=develop * add update_api, test=develop * follow comments, test=develop
-
由 cnn 提交于
* New features, add sinh and cosh op, test=develop * remove duplicate test function and remove out paramters, test=develop * Add out paramters temporary, remove later. test=develop * remove out args, PR 25570, test=develop * remove TestParameter, test=developx * add test api for static dygraph, test=develop * add backword unittests for sinh and cosh, test=develop
-
- 22 7月, 2020 2 次提交
- 21 7月, 2020 5 次提交
-
-
由 Shibo Tao 提交于
* add op multiply, delete op elementwise_mul from math.py. test=develop,test=document_fix * bug fix. test=develop,test=document_fix * bug fix. test=develop,test=document_fix * bug fix. test=develop,test=document_fix * bug fix. test=develop,test=document_fix * add unittest for multiply op. test=develop. * fix code style. test=develop * use random input. test=develop * add test error case for static computation graph. test=develop * add np.random.seed(7) * increase input ndarray size. test=develop * change float32 to float64. test=develop
-
由 Aurelius84 提交于
-
由 Aurelius84 提交于
* add reinforcement learning model test=develop * align backward test=develop * add gym in paddle_build.sh test=develop * rm pip install in script test=develop * refine paddle_build.sh test=develop * fix sed error in macOS test=develop * polish code test=develop * fix scope problem * refine code by reviewer comment
-
由 wangchaochaohu 提交于
-
由 wangchaochaohu 提交于
-
- 20 7月, 2020 5 次提交
-
-
由 zhupengyang 提交于
-
由 Zhou Wei 提交于
just skip case of distribute on windows
-
由 LutaoChu 提交于
* update cross op parameters
-
由 Huihuang Zheng 提交于
We found that the reason of multiple return error in SimNet is that I wrote wrong task_mode. If we set task_mode as "pairwise" correctly, which is a format of the model input data, the multiple return won't have problem in the unit test. In this PR we corrected the task_mode and enable multiple return in SimNet unit test.
-
由 Dong Daxiang 提交于
refactor fleet api under paddle.fleet update DistributedStrategy
-
- 17 7月, 2020 5 次提交
-
-
由 Aurelius84 提交于
* add reinforcement learning model test=develop * align backward test=develop * add gym in paddle_build.sh test=develop * rm pip install in script test=develop * refine paddle_build.sh test=develop * fix sed error in macOS test=develop * polish code test=develop
-
由 zhupengyang 提交于
-
由 Chen Weihang 提交于
-
由 Peihan 提交于
* refine infer ir pass tests, test=develop * commit to change copy_from_cpu input to np array, test=develop
-
由 Huihuang Zheng 提交于
Enable multiple "return" statement in MNIST as Unit test in dy2stat.
-
- 16 7月, 2020 2 次提交
-
-
由 Leo Chen 提交于
* fix test_activation_op, test=develop * remove paddle.mul related unittest, test=develop
-
由 Huihuang Zheng 提交于
Add Support for SelectedRows for Transpose OP and Fix a Bug That SelectedRows Cannot be Supported in SimNet (#25536) This PR fixes a bug that SelectedRows cannot be supported in SimNet. The reason of this bug is that dygraph basic_engine didn't copy var's type when the var needs to be accumulated during backward. So when a var is SelectedRows and needs to be accumulated, like SimNet which calls net for two times, the var's type will be changed to default LoDTensor thus bug happens. To fix it, we just also copy the type. Without this PR, the accumulated SelectedRows parameters in dygraph will be changed into LoDTensor. So when we fixed the bug of supporting SelectedRows in SimNet, we found `test_imperative_lod_tensor_to_selected_rows` failed and threw the error that SelectedRows was not supported for Transpose OP. To fix it, too, this PR also added support for SelectedRows for Transpose OP.
-
- 15 7月, 2020 4 次提交
-
-
由 LielinJiang 提交于
* add bilateral slice op
-
由 YUNSHEN XIE 提交于
-
由 wangchaochaohu 提交于
-
由 zhupengyang 提交于
* randint API: remove out, devive, stop_gradient; add name; test=develop * test=develop * test=develop * test=develop
-
- 14 7月, 2020 7 次提交
-
-
由 yaoxuefeng 提交于
According to paddle 2.0 standard 1, change flip api attr name 'dim' to 'axis'. 2, support empty axis 3, change example code to imperative mode.
-
由 zhupengyang 提交于
-
由 yaoxuefeng 提交于
According to paddle 2.0 standard. 1, chang api to def meshgrid(*args, **kwargs) we hide name argument in **kwargs. 2, add relate ut. 3, change example code to imperative mode
-
由 YUNSHEN XIE 提交于
-
由 liym27 提交于
-
由 zhupengyang 提交于
-
由 Chen Weihang 提交于
* experimental refactoring, test=develop * add TranslatedLayer & remove StaticModelRunner, test=develop * revert tracedlayer change, test=develop * fix test_mnist unittest error, test=develop * add doc & examples, test=develop * polish doc details, test=develop * add imperative.jit module, test=develop * change TranslatedLayer pos, test=develop * adjust jit module import path, test=develop * polish doc based review result * add SaveLoadConfig.separate_params to save paraams separately * add Layer.buffer support, test=develop * polish doc details based review result, test=develop * polish details baesd review comments, test=develop * add empty str check for param, test=develop * add unittests, test=develop * polish details based review comment, test=develop * remove blanks in comment, test=develop * polish doc details, test=develop * update imperative doc link, test=develop * add api attr for load, test=develop
-
- 13 7月, 2020 4 次提交
-
-
由 tangwei12 提交于
* test_dist_fleet_ctr disable, test=develop
-
由 liym27 提交于
[while grad]Support pruning op in find_op_path about while sub-block when appending backward (#25330) Prune OPs which are not related with loss in while sub-block when constructing backward OP path.
-
由 yaoxuefeng 提交于
-
由 Huihuang Zheng 提交于
Add Similarity Net as unit test. During the unit test, we found three problems: 1. The run_program_op has memory optimization error when running dy2stat net multiple times. 2. The support for SelectedRows can cause problem in dy2stat. 3. The return grammar has problem. This PR fixes the 1. problem but modify codes for the 2. 3. problems to make PR smaller. I will fix those two problems in the next PR(s)
-