1. 12 12月, 2019 3 次提交
    • T
      memory leak for cpu (#21174) · 9ad940fd
      tangwei12 提交于
      * add fake init for the trainer, fix large memory hold in the trainer
      * do not merge recv vars from a remote endpoint, test=develop
      * add recv and save op, merge slice var in one op, save memory
      * remove hsigmoid with pull sparse, test=develop
      9ad940fd
    • Z
      fix input shape of op tests (#21682) · 4c987a60
      zhupengyang 提交于
      * fix input shape of op tests for elementwise_sub,
      gather, pad2d, transpose, softmax, scale,
      elementwise_max, hierarchical_sigmoid, reshape2,
      sign, squeeze, reduce_sum, sum, squeeze2,
      unsqueeze, unsqueeze2, cast, reverse
      
      test=develop
      
      * fix cast, elementwise_mul, gather, scale, sign,
      softmax, transpose
      
      test=develop
      4c987a60
    • J
      Change several tests to inherit the right parent class, test=develop (#21652) · f64d0066
      juncaipeng 提交于
      * change several tests to use the right parent class, test=develop
      
      * add dtype for TestLoDTensorAndSelectedRowsOp, test=develop
      f64d0066
  2. 11 12月, 2019 3 次提交
  3. 10 12月, 2019 5 次提交
    • C
      Refine dygraph DataLoader implementation (#21634) · d96acc33
      Chen Weihang 提交于
      * refine dygraph dataloader & polish related code, test=develop
      
      * refine code based review comment, test=develop
      d96acc33
    • M
      Dropout with seed (#21590) · e2d849b9
      mapingshuo 提交于
      * add seed op
      e2d849b9
    • A
      MKL-DNN 1.0 Update (#20162) · e81f0228
      Adam 提交于
      * MKLDNN v1.0 rebase to Paddle 1.6
      test=develop
      
      * Add hacky paddle::string::to_string() implementation
      
      * vectorize<int64-t>() -> vectorize() cleanup
      test=develop
      
      * PADDLE_ENFORCE and void_cast fixes
      test=develop
      
      * Rebase changes
      test=develop
      
      * Cosmetics
      test=develop
      
      * Delete MKL from mkldnn.cmake
      test=develop
      
      * CMake debug commands
      test=develop
      
      * Delete MKLDNN_VERBOSE and rebase fixes
      test=develop
      
      * Rebase fixes
      test=develop
      
      * Temporarily disable int8 resnet101 vgg16 and vgg19 tests
      test=develop
      
      * Add libmkldnn.so.1 to python setup
      test=develop
      
      * Add libmkldnn.so.1 to inference_lib cmake after rebase
      test=develop
      
      * Post rebase fixes + FC int8 changes
      test=develop
      
      * Fix LRN NHWC
      test=develop
      
      * Fix NHWC conv3d
      test=develop
      
      * Windows build fix + next conv3d fix
      test=develop
      
      * Fix conv2d on AVX2 machines
      test=develop
      e81f0228
    • X
      fix master patch when slot is dense (#21580) · f4041572
      xujiaqi01 提交于
      * fix master patch when slot is dense
      * test=develop
      f4041572
    • L
      Add op function generator for dygraph (#21569) · 48600d7f
      Leo Chen 提交于
      * add op function generator, test=develop
      
      * add unittest, test=develop
      
      * follow comments, test=develop
      
      * fix windows compilation problem, test=develop
      48600d7f
  4. 09 12月, 2019 10 次提交
  5. 06 12月, 2019 6 次提交
    • H
      Add Much Complex Test and Fix Bugs for Control Flow cond API (#21532) · 1dcf6a72
      Huihuang Zheng 提交于
      Add tests to use dy/dx to make sure the gradient values calculated by the control flow backward is correct. Also fixed bugs detected by those tests.
      
      Fix bugs:
      
      1. Unlike sum_op, optimizer ops don't allow uninitialized input tensor. But in conditional_block_grad_op, since the conditional_block may not run, the output gradient tensor may be uninitialized, which will cause the optimizer op error. To fix it, we should let optimizer ops support uninitialized input like sum_op or assign the uninitialized gradient to 0 when the conditional_block_grad_op doesn't run. I found there are about 10+ optimizer ops. **To be simpler, I just assign output gradient of the conditional_block_grad_op to 0 in this PR**. But it can be further explored whether we can make optimizer ops like sum_op to support uninitialized input tensor because theoretically we can speed up without the assigning in conditional_block_grad_op.
      
      2. Infer parameter shapes during append_backward. I didn't know that all our parameters are in global block. When op_desc is inferring shapes at the sub-block, it may not know the shape of gradients of parameters whose shape information is at global block. I fixed it by inferring shapes of gradients from forward var.
      
      This PR also did some code clean up:
      1. Print the var name when sgd_op catches shape error so that it is easier to debug
      2. Fix a typo: dicta -> dict
      1dcf6a72
    • H
      Paddlebox Related to Framework (#21586) · c5aec2fe
      hutuxian 提交于
      * Add a single_process_multi_thread transpiler.
      * Add some UTs.
      * Fix some API description.
      c5aec2fe
    • L
      add file check_op_desc.py and add interface to get default value. (#21530) · 9da7e6b4
      liym27 提交于
      * add file check_op_desc.py and add interface to get default value. test=develop
      
      * add test for c++ coverage rate. test=develop
      
      * Correct typo. test=develop
      9da7e6b4
    • F
      add fluid.layers.gelu & doc (#21515) · 2057df7a
      Feiyu Chan 提交于
          Add a python interface for Gelu.
          Add documentation for fluid.layers.gelu.
      2057df7a
    • W
      fix doc typo test=develop (#21566) · 29c38445
      wangchaochaohu 提交于
      29c38445
    • J
      [MKL-DNN] Batch norm mkl-dnn NHWC support (#21553) · 9ce0e29d
      Jacek Czaja 提交于
      * - BAtch norm mkl-dnn NHWC
      
      test=develop
      
      - compilation fix
      
      test=develop
      
      - UT fix
      
      - cosmetics
      
      test=develop
      
      - Fix to Batch Norm MKL-DNN NHWC UT
      
      test=develop
      
      Conflicts:
      	paddle/fluid/operators/batch_norm_op.h
      
      * - Lint fixes
      
      test=develop
      9ce0e29d
  6. 05 12月, 2019 5 次提交
  7. 04 12月, 2019 5 次提交
  8. 03 12月, 2019 3 次提交