1. 25 12月, 2017 2 次提交
    • Y
      Implement a simple threadpool (#6684) · 127bc2e0
      Yancey 提交于
      * implement a simple threadpool
      
      * unlock before cv.notify
      
      * add done function
      
      * add lock with GetAvailable function
      
      * delete done_
      
      * using call_once in GetInstance
      
      * update by comment
      
      * update comment
      
      * enhance unit test for multi threads task
      127bc2e0
    • Q
      add op_kernel_type_test · 313afc9c
      qiaolongfei 提交于
      313afc9c
  2. 24 12月, 2017 4 次提交
    • Q
      rm unsed RegisterOp method in OpRegistry · 6b99402d
      qiaolongfei 提交于
      6b99402d
    • D
      "remove hash combine" · a521ace6
      dzhwinter 提交于
      a521ace6
    • Q
      refine OpKernelType (#6879) · 37e96264
      QI JUN 提交于
      * refine OpKernelKey
      
      * refine codes
      
      * fix code style
      
      * follow comments
      37e96264
    • D
      Feature/operator run place (#6783) · 735eba29
      dzhwinter 提交于
      * "change operator interface"
      
      * "move devicepool to device_context"
      
      * "fix operator test"
      
      * "fix op_registry Run interface"
      
      * "net op passed. Need to fix nccl multi-Context"
      
      * "add nccl group function"
      
      * "add nccl group function"
      
      * "fix gpu count exceed 32 error"
      
      * "fix recurrent op, nccl op"
      
      * "change the other operators interface with Place"
      
      * "fix typo"
      
      * "fix pybind"
      
      * "fix device in python side"
      
      * "fix pybind failed"
      
      * "add init for test"
      
      * "fix CI"
      735eba29
  3. 22 12月, 2017 4 次提交
  4. 21 12月, 2017 6 次提交
  5. 20 12月, 2017 3 次提交
  6. 18 12月, 2017 1 次提交
    • D
      Feature/global context (#6537) · 24fda392
      dzhwinter 提交于
      * "add DeviceContextPool"
      
      * "add devicecontextpool in pybind"
      
      * "add comments in python side "
      
      * "fix static link error"
      
      * "fix CI error"
      
      * "add executor.py"
      
      * "fix CI error"
      
      * "add with gpu macro"
      
      * "remove comment out codes"
      
      * "add TODO items"
      
      * "update init devices"
      24fda392
  7. 14 12月, 2017 1 次提交
  8. 13 12月, 2017 1 次提交
  9. 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
  10. 11 12月, 2017 2 次提交
  11. 08 12月, 2017 1 次提交
    • Q
      Nmt decoder train (#6367) · 36fcc95c
      Qiao Longfei 提交于
      * init decoder_trainer
      
      * can run
      
      * fix lod
      
      * add sharelod to cross_entropy_grad_op
      
      * add avg_cost to fetch list
      
      * modify learning rate
      
      * can run
      
      * optimie code
      
      * add early exit
      
      * fix print
      
      * revert test_understand_sentiment_conv.py
      
      * add act to fc
      36fcc95c
  12. 06 12月, 2017 1 次提交
    • Y
      Feature/while op sentiment analysis (#6282) · 229c2e78
      Yu Yang 提交于
      * Add DataFeeder
      
      A v2 API like data feeder for book demos.
      We can feed data directly from reader.
      
      * Fix CI
      
      * Add an unittest for while/rnn op forward
      
      * Add unittest for raw while op backward
      
      * Fix CI
      
      * Complete Dynamic RNN
      229c2e78
  13. 05 12月, 2017 1 次提交
  14. 04 12月, 2017 1 次提交
    • Y
      While op forward for sentimental analysis (#6140) · d5e32794
      Yu Yang 提交于
      * Add DataFeeder
      
      A v2 API like data feeder for book demos.
      We can feed data directly from reader.
      
      * Fix CI
      
      * Add an unittest for while/rnn op forward
      
      * Add unittest for raw while op backward
      
      * Fix CI
      d5e32794
  15. 30 11月, 2017 2 次提交
  16. 28 11月, 2017 1 次提交
    • Send recv op (#5520) · 0a8a86e0
      武毅 提交于
      * WIP send recv op
      
      * WIP send recv
      
      * put grpc impl in details
      
      * put grpc impl in details
      
      * update wip
      
      * update proto
      
      * update proto
      
      * update proto
      
      * clean cmake
      
      * wip on op implementations
      
      * wip on op implementations
      
      * compile ok adding ut
      
      * wip unitest
      
      * add extern cares for linking
      
      * wip add ut
      
      * working version send recv
      
      * revert optimizer.py
      
      * update test cmake
      
      * add libtool to dockerfile
      
      * update cmake dependency
      
      * update cmake depends
      
      * update cmake grpc depends
      
      * fix cmake dependency
      
      * fix compile error
      
      * fix compile
      
      * follow comments
      
      * update
      
      * update copyfrom
      0a8a86e0
  17. 27 11月, 2017 1 次提交
  18. 26 11月, 2017 1 次提交
    • D
      Feature/copytensor (#5455) · 45062fe5
      dzhwinter 提交于
      * "make global tensor function independently"
      
      * "replace functor"
      
      * "fix inline template error"
      
      * "fix tensor array with CopyFrom"
      
      * "fix other case use CopyFrom"
      
      * "move the op interface hardly"
      
      * "fix operators"
      
      * "fix typo"
      
      * "delete dynamic recurrent rnn and fix gru_unit in debugmode"
      
      * "fix unique_ptr copy"
      
      * "fix cuda copy"
      
      * "fix namespace error"
      
      * "removed nccl python test"
      
      * "fix include error"
      
      * "fix typo"
      
      * fix copy util test
      45062fe5
  19. 24 11月, 2017 2 次提交
  20. 18 11月, 2017 2 次提交
  21. 16 11月, 2017 1 次提交
    • Y
      feature/while_grad_op (#5554) · 18f0c40a
      Yang Yang(Tony) 提交于
      * first commit
      
      * Python API for while op
      
      * Python Unittest for simple while_op forward
      
      * fix out to be list
      
      * Fix UT
      
      * VarType
      
      * Fix several bugs
      
      * Fix bug
      
      * Fix bug
      
      * Fix Bug
      
      * Fix bug
      
      * Fix unittest
      
      * Remove debug log
      
      * Add comments
      
      * add PADDLE_ENFORCE
      
      * while_grad_op first commit
      
      * Add `BlockDescBind::FindRecursiveOrCreateVar()` and fix bugs
      
      * not sure how to setdim of while outputs
      
      * push for test
      
      * add executor vlog
      
      * fix bug of while_op cond
      
      * Several enhancement for code
      
      1. Backward always infer shape & infer var type. Since there are RENAME
      variables will be created when creating backward operator, but their
      shape & var types are not inferenced.
      2. Never use SomePtr-> directly, since every pointer could be nullptr if
      it is a function return value. Add `detail::Ref` to cast pointer to
      reference safely.
      3. Enhance error message for backward.
      4. Infer data type of variable in `sum` and `tensor_write`
      
      * Fix bugs of while_op gradient
      
      * Fix several bugs of while_op grad
      
      * fix fill zeros like
      
      * fix 3 >= 3
      
      * fix place holder shouldn't be null
      
      * fail on sum op
      
      * Fix SumOp of TensorList
      
      * clean up
      
      * pass while test
      
      * fix test_array_write_read
      
      * pass sum op
      
      * Support int/int64 for fill_constant_batch_size_like
      
      * Fix compile
      18f0c40a
  22. 15 11月, 2017 1 次提交