1. 11 1月, 2019 2 次提交
    • C
      Revert "Remove workspace_handle in conv_cudnn (#15186)" · 358e657f
      chengduozh 提交于
      test=develop
      This reverts commit 064512aa.
      358e657f
    • C
      Remove workspace_handle in conv_cudnn (#15186) · 064512aa
      chengduo 提交于
      * remove workspace_handle in conv2d_cudnn
      test=develop
      
      * remove workspace_handle
      test=develop
      
      * fix bug
      test=develop
      
      * make test_conv2d_op SERIAL
      test=develop
      
      * save memory in conv_cudnn
      test=develop
      
      * enhance thread safety
      test=develop
      
      * enhance temporary allocator
      test=develop
      
      * Add excess fraction
      test=develop
      
      * follow comments
      test=develop
      
      * fix bug and code refine
      test=develop
      
      * fix memory size check
      test=develop
      
      * rename reuse_tmp_allocation_excess_fraction
      test=develop
      064512aa
  2. 10 1月, 2019 1 次提交
    • W
      [Feature] support mix precision training for resnet (#14899) · fd854183
      Wu Yi 提交于
      * clip softmax for fp16
      
      * updates
      
      * fuse xent support fp16 test=develop
      
      * wip
      
      * wip
      
      * add simple row reduce
      
      * wip fp16 accurate softmax
      
      * add accurate softmax kernel for fp16 test=develop
      
      * update test=develop
      
      * fix cpu build test=develop
      
      * update api.spec test=develop
      
      * follow comments test=develop
      
      * fix build test=develop
      
      * fix trt build test=develop
      
      * fix inference build test=develop
      
      * fix merge test=develop
      
      * update test=develop
      
      * try fix build test=develop
      
      * fix build test=develop
      
      * rename real_exp test=develop
      
      * fortest
      
      * remove hacky kernels test=develop
      
      * clean up test=develop
      fd854183
  3. 26 11月, 2018 1 次提交
  4. 19 11月, 2018 1 次提交
  5. 13 11月, 2018 1 次提交
  6. 09 11月, 2018 1 次提交
    • Q
      Exhaustive search for cuDNN conv. (#14286) · abe20923
      qingqing01 提交于
      * exhaustive search for cuDNN conv.
      * Refine code and add unit testing.
      * Fix model load in fluid/inference and unit testing in conv2d
      * Follow comments.
      * Fix compiling test=develop
      abe20923
  7. 08 11月, 2018 1 次提交
  8. 07 11月, 2018 3 次提交
    • C
      Add fp16 backward support (#14202) · a9b5d42d
      chengduo 提交于
      * add fp16 backward support
      test=develop
      
      * add sum_op fp16 test
      
      * disable test_dist_save_load
      test=develop
      
      * add check_grad for sum
      
      * add unit test for softmax_grad fp16
      test=develop
      
      * add scale_op unit test
      
      * add mul_grad_op unit test for fp16
      
      * add cross_entropy_grad and eman_grad unit test for fp16
      test=develop
      
      * fix cross_entropy unit test
      
      * add pool2d fp16 unit test
      
      * refine conv2d fp16 unit test
      test=develop
      
      * refine activation unit test
      test=develop
      
      * fix ci
      test=develop
      
      * follow zhihong's comment, copy from https://github.com/PaddlePaddle/Paddle/pull/12796
      test=develop
      a9b5d42d
    • Q
      Revert " Exhaustive search for cuDNN conv. (#14043)" · db8c52da
      qingqing01 提交于
      This reverts commit ce7d9b07.
      db8c52da
    • Q
      Exhaustive search for cuDNN conv. (#14043) · ce7d9b07
      qingqing01 提交于
      * exhaustive search for cuDNN conv.
      * Refine code and add unit testing.
      * Clean code
      * Fix model load in fluid/inference and unit testing in conv2d
      * Follow comments.
      ce7d9b07
  9. 05 11月, 2018 1 次提交
  10. 26 10月, 2018 1 次提交
  11. 25 10月, 2018 1 次提交
  12. 16 10月, 2018 1 次提交
  13. 04 9月, 2018 2 次提交
  14. 31 8月, 2018 1 次提交
  15. 30 8月, 2018 1 次提交
  16. 17 8月, 2018 1 次提交
  17. 16 8月, 2018 1 次提交
  18. 31 7月, 2018 1 次提交
  19. 26 7月, 2018 1 次提交
  20. 06 6月, 2018 1 次提交
  21. 07 5月, 2018 1 次提交
  22. 28 4月, 2018 1 次提交
  23. 04 4月, 2018 1 次提交
  24. 17 3月, 2018 1 次提交
  25. 16 3月, 2018 3 次提交
  26. 12 2月, 2018 1 次提交
  27. 10 2月, 2018 2 次提交
  28. 14 1月, 2018 1 次提交
    • D
      "cudnn operators change to cudnn kernel" (#6660) · 5ad1aef0
      dzhwinter 提交于
      * "unified operators"
      
      * "add CUDNN register"
      
      * "add use cudnn attribute"
      
      * "add attribute"
      
      * "test conv tranpose op"
      
      * "remove duplicated attr"
      
      * "fix op test"
      
      * "add attribute to set cudnn"
      
      * "add more log"
      
      * "need layout op register support"
      
      * "add more log"
      
      * "change GetExpectedKernelType "
      
      * "fix Get attr in conv_op"
      
      * "fix CI"
      
      * "fix tests"
      
      * "removed kernel priority fallback"
      
      * "fix CI"
      
      * "fix stack pointer bug"
      
      * "refine buggy interface"
      
      * "add const cast to save life"
      
      * "fix get_output_with_grad"
      
      * "fix op test with dataformat"
      
      * ""fix pooling
      
      * "fix pooling test"
      
      * "fix CI"
      
      * "fix with_gpu error"
      
      * "add transform needed functional check"
      
      * "fix unpack list error"
      
      * "comment out parallel.do temporary"
      
      * "fix CI"
      
      * "fix compile doc error"
      
      * "make threshold larger"
      5ad1aef0
  29. 05 1月, 2018 1 次提交
    • D
      Feature/use cudnn (#7141) · 5593858d
      dzhwinter 提交于
      * "add c++ side kernel selection"
      
      * "add multiple kernel op test"
      
      * "kernel selection only support cudnn"
      
      * "better formatter"
      
      * "small fix with UseCPU"
      
      * "depends on change interface Get(Place, Library)"
      
      * "fix CI"
      
      * "fix python cudnn test"
      
      * "leave the register cudnn op to another PR"
      
      * "fix CI"
      
      * "use all kernel by default"
      
      * "fix CI"
      5593858d
  30. 27 12月, 2017 1 次提交
    • D
      "refine kernel registrar" (#6998) · 35c1683e
      dzhwinter 提交于
      * "refine kernel registrar"
      
      * "refine registrar with multikey"
      
      * "fix register"
      
      * "refine multikernel register"
      
      * "fix CI"
      
      * "fix CI"
      
      * "fix registry"
      
      * "swtich GPU to CUDA"
      
      * "add register macro test case"
      
      * "fix CI"
      35c1683e
  31. 26 12月, 2017 1 次提交
  32. 25 12月, 2017 1 次提交
  33. 12 12月, 2017 1 次提交
    • Q
      Refine device context (#6433) · 61ec0b95
      QI JUN 提交于
      There are mainly following fixes:
      
      - take `DeviceContext` as the template parameter of math functors and OpKernel instead of `Place`
      - remove `eigen_device` interface in base class  `DeviceContext`
      - remove `GetEigenDevice` interface in `ExecutionContext` and base class `DeviceContext`
      - remove unused `platform::EigenDeviceConverter`
      - rename `REGISTER_OP_GPU_KERNEL` to `REGISTER_OP_CUDA_KERNEL`
      - rename `USE_GPU_ONLY_OP` to `USE_CUDA_ONLY_OP`
      61ec0b95