1. 31 10月, 2019 1 次提交
    • Y
      Refine the cache of program, context and scope in executor. (#18483) · 16e4d026
      Yiqun Liu 提交于
      * Refine the cache of program, context and scope in executor.
      test=develop
      
      * Refine the unittest test_executor_and_use_program_cache.
      
      * Add the test the PaddingRNN with use_program_cache=True.
      test=develop
      
      * Remove a check.
      test=develop
      
      * Refine the unittest to check whether it is correct when setting use_program_cache=True.
      test=develop
      16e4d026
  2. 29 10月, 2019 4 次提交
    • H
      save load problem fix and new feature add (#20823) · ff0886a9
      hong 提交于
      * fix persistable;
      
      * fix save load bugs; test=develop
      
      * fix bug; test=develop
      
      * add example for new io api; test=develop
      
      * addd example; test=develop
      ff0886a9
    • Y
      Check and correct the output's lod_level in DynamicRNN related operators (#19144) · 6fcfd32e
      Yiqun Liu 提交于
      * Refine the InferShape of ReadFrom and WriteTo op, and add comment to explain why not call ShareLoD for runtime.
      test=develop
      
      * Add comment for ReorderLoDTensorByRank op.
      
      * Add comment for lod_tensor_to_tensor_array op to explain why only call DecreaseLoDLevel for compile time.
      test=develop
      
      * ShrinkRNNMemory op should call ShareLoD for compile time.
      test=develop
      
      * Add the implementation of IncreaseLoDLevel and add the compile-time check of lod_level in InferShape of sequence_pool.
      test=develop
      
      * Refine the unittest of DynamicRNN.
      test=develop
      
      * Change PADDLE_ENFORCE to PADDLE_ENFORCE_NE.
      test=develop
      6fcfd32e
    • Y
      Implement a pass detect fusion group of elementwise op (#19884) · b5f3be83
      Yiqun Liu 提交于
      * Add fusion_group_pass and elementwise pattern.
      
      * Rewrite the detector of elementwise group.
      test=develop
      
      * Add a comment in codegen.
      
      * Add more unittest cases.
      test=develop
      
      * Move code_generator related code to fusion_group directory.
      
      * Correct the including path.
      
      * Add the definition of SubGraph and finish the insert of fusion_group op in pass.
      
      * Insert graph_vis_pass in tester to visualize the graph for debug.
      b5f3be83
    • H
      Add shape and type check at read_op (#20754) · 95ba4bd2
      Huihuang Zheng 提交于
      95ba4bd2
  3. 28 10月, 2019 2 次提交
  4. 25 10月, 2019 2 次提交
    • X
      fix several sparse table issuses (#20686) · 48669aa8
      xujiaqi01 提交于
      * no longer need to define all embedding layers (no one less) of all slots in each program. make trainer_param repeated in ps.proto.
      * add find_distributed_lookup_table_grads instead of hard code GRAD
      * support embedding stop gradient. push sparse has error before fix this.* 
      * fix fill sparse, skip slots which do not have embedding. each slot's embedding in a sparse table should be used in all training programs before fix this.
      * fix pull sparse, skip slots which do not have embedding.
      * fix collect feasign label info, skip slots which do not have embedding.
      * support when there are multi sparse tables in one or multi training programs, each program can pull/push its own related sparse tables instead of all sparse tables.
      * test=develop
      48669aa8
    • C
      Make formatted ENFORCE stack adapt to more situations (#20826) · 1d1552d1
      Chen Weihang 提交于
      * Make formatted ENFORCE stack adapt to more situations and polish details, test=develop
      
      * restore template message position, test=develop
      1d1552d1
  5. 24 10月, 2019 2 次提交
  6. 21 10月, 2019 1 次提交
  7. 19 10月, 2019 1 次提交
  8. 18 10月, 2019 5 次提交
  9. 17 10月, 2019 2 次提交
  10. 16 10月, 2019 1 次提交
    • C
      Add IndicateVarDataType interface to block tensor is not initialized problem... · 003f369b
      Chen Weihang 提交于
      Add IndicateVarDataType interface to block tensor is not initialized problem in OP GetExceptedKernelType (#20044)
      
      * add indicate_var_data_type inferface, test=develop
      
      * add unittests & polish error message, test=develop
      
      * remove needless include, test=develop
      
      * extract public function & polish message, test=develop
      
      * delete empty var check, test=develop
      
      * change data_type to pointer parameter, test=develop
      
      * polish details, test=develop
      003f369b
  11. 15 10月, 2019 2 次提交
  12. 14 10月, 2019 5 次提交
  13. 13 10月, 2019 1 次提交
    • Z
      Add Multihead matmul fuse pass (#20167) · b8333ede
      zhaoyuchen2018 提交于
      * Add multihead fuse pass for ernie opt
      
      * Refine softmax
      
      test=develop
      
      * Refine cuda kernel
      
      * Refine cuda version
      
      * Refine cmake
      
      test=develop
      
      * refine header file
      
      * refine test case and pass
      * refine comments
      b8333ede
  14. 12 10月, 2019 1 次提交
  15. 10 10月, 2019 3 次提交
    • X
      fix parse content in CreatePreLoadReaders (#20258) · 22b80e12
      xujiaqi01 提交于
      Fix parse content in CreatePreLoadReaders. Before this fix, if you use dataset.set_parse_content and dataset.preload, parse content didn't work.
      22b80e12
    • H
      New save load interface (#20148) · fa43e80e
      hong 提交于
      * add new save load interface; test=develop
      
      * add new save interface; test=develop
      
      * add save load interface ;
      
      * fix save load error;
      
      * fix dygraph set dict bug;
      
      * add save load unit test; test=develop
      
      * fix test_imperative_optimizer bug; test=develop
      
      * fix unitest optimizer bug; test=develop
      
      * fix code coverage; test=develop
      
      * fix converage; test=develop
      
      * add document for apis; test=develop
      
      * fix unitest error; test=develop
      
      * fix save load unit test error; test=develop
      
      * fix error message; test=develop
      
      * change set_parameter set_optimizer to save_dygraph; test=develop
      
      * add load_graph check; test=develop
      
      * fix api spec; test=develop
      fa43e80e
    • Z
      simplify op_info.h, test=develop (#20195) · c20b11ba
      Zeng Jinle 提交于
      c20b11ba
  16. 08 10月, 2019 1 次提交
  17. 07 10月, 2019 1 次提交
  18. 30 9月, 2019 2 次提交
  19. 29 9月, 2019 1 次提交
  20. 28 9月, 2019 2 次提交
    • Q
      Enable users to create custom cpp op outside framework. (#19256) · 1a3eef02
      qingqing01 提交于
      * How to write custom op needs to follow framework OP spec.
      * Package fluid_framework.so and headers into whl.
      * Add paddle.sysconfig.get_include() and paddle.sysconfig.get_lib() to get include dir and lib dir.
      * Export some C-APIs to merge OpInfo between core.so and custom_op.so.
      * Add unit testing.
      * Update API.spec.
      1a3eef02
    • B
      Follow comment of Merged QAT PR 18970 (#19979) · 9de67725
      bingyanghuang 提交于
      * Follow Wangzhen's comment in PR 18970, test=develop
      
      * Review comments, test=develop
      
      * Leave fake quantization around mul
      
      test=develop
      
      * Replace Fake with Real Quantized Mul
      
      test=develop
      
      * Fix bug in quantize placement pass
      
      Nodes in the graph now have checked type instead of node name when they are to be marked for quantization test=develop
      9de67725