1. 02 4月, 2022 4 次提交
  2. 01 4月, 2022 6 次提交
    • H
      add final state python api (#41252) · ab8c33b1
      hong 提交于
      ab8c33b1
    • Z
      Add nll_loss yaml (#41126) · 8e032db8
      zyfncg 提交于
      * add nll_loss yaml
      
      * fix nll loss
      
      * fix nll loss bug
      
      * fix bug
      
      * fix bug
      
      * fix infrt problem
      Co-authored-by: Nxiongkun <xiongkun03@baidu.com>
      8e032db8
    • X
      add yaml for ele_max ele_min. (#41161) · 0d28edfa
      xiongkun 提交于
      * add yaml for ele_max ele_min
      
      * fig
      
      * push
      
      * xxx
      0d28edfa
    • Z
      [DoubleGrad #4] Bug Fixes to Double Grad Node Generation (#41121) · 01724b1a
      Zhanlue Yang 提交于
      * [Refactor] refactored eager_gen.py PR #2
      
      * [DoubleGrad PR #1] Decoupled code generation logics for Dygraph ForwardFunctions and GradNodes
      
      * Fixed minor issue
      
      * Adjusted logics of GenerateNodeCreationCodes and GenerateForwardDefinition
      
      * Fixed issues
      
      * Supported higher-order grad node generation
      
      * [DoubleGrad PR #4] Supported higher-order GradNode generation
      
      * [DoubleGrad #4] Bug Fixes to Double Grad Node Generation
      
      * Fixed yaml typo
      
      * Fixed yaml typo
      
      * fixed minor issues
      
      * Fixed minor issue
      01724b1a
    • C
      [Phi] Add shape and strided_slice yaml & Adapt eager mode (#41131) · 9b6a02d4
      Chen Weihang 提交于
      * add several yaml
      
      * polish strided slice kernel & add yaml
      
      * reorder yaml
      
      * add several yaml
      
      * revert yaml config change
      
      * resolve conflict
      
      * Update test_strided_slice_op.py
      9b6a02d4
    • H
      Add basic yaml backward (#40751) · 98303291
      hong 提交于
      * fix error; test=develop
      
      * update
      
      * close some yaml
      
      * fix backward attrite error; test=develop
      
      * add div test
      
      * polish code; test=develop
      
      * update
      
      * update
      
      * fix bug
      
      * update bitwise code; test=develop
      
      * update
      
      * update
      
      * fix some bug
      
      * update
      
      * revert cmakelist
      
      * fix optional bug;
      
      * fix bug
      
      * fix bug;
      
      * add backward test
      
      * open bn
      
      * update
      
      * update
      
      * revert eager_gen
      
      * polish code
      
      * fix topk error
      
      * update
      
      * update
      
      * fix bug;
      
      * move label smooth, nll loss
      
      * revert topk
      
      * fix topk label smooth bug;
      
      * remove batch_norm
      
      * remove topk
      
      * change flip infer meta
      
      * fix flip bug
      
      * update yaml
      
      * close abs
      
      * fix histogram bug
      
      * fix histogram bug
      
      * add abs
      
      * fix histogram kernel
      
      * remove expand
      98303291
  3. 31 3月, 2022 3 次提交
  4. 30 3月, 2022 5 次提交
    • Z
      [DoubleGrad PR #3] Supported higher-order GradNode generation (#41051) · abd2df4c
      Zhanlue Yang 提交于
      * [Refactor] refactored eager_gen.py PR #2
      
      * [DoubleGrad PR #1] Decoupled code generation logics for Dygraph ForwardFunctions and GradNodes
      
      * Fixed minor issue
      
      * Adjusted logics of GenerateNodeCreationCodes and GenerateForwardDefinition
      
      * Fixed issues
      
      * Supported higher-order grad node generation
      
      * [DoubleGrad PR #4] Supported higher-order GradNode generation
      
      * Fixed yaml typo
      abd2df4c
    • A
      [Yaml] Fix topk yaml compilation problem on Windows (#41082) · 95265d5c
      Aurelius84 提交于
      * [Yaml] Fix topk yaml compilation on Windows
      
      * fix make_shared
      
      * fix conflict
      95265d5c
    • W
      [Eager] dlpack (#40811) · 4d300224
      wanghuancoder 提交于
      * dlpack eager, test=develop
      
      * eager test_base_layer, test=develop
      
      * fix error report, test=develop
      
      * eager _getitem_from_offset, test=develop
      
      * refine, test=develop
      
      * refine offset, test=develop
      
      * add test_inner test_outer, test=develop
      
      * refine, test=develop
      
      * refine, test=develop
      4d300224
    • Z
      Refactor code auto-gene for no_need_buffer (#41025) · 97cd0f51
      zyfncg 提交于
      * refactor code auto-gene for no_need_buffer
      
      * fix some bug
      
      * delete test code
      97cd0f51
    • P
      support view strategy in dygraph eager_final state (#40891) · 495ca4aa
      pangyoki 提交于
      * support view strategy in eager_final state
      
      * perfect reshape kernel
      
      * fix bugs of sig
      
      * add unittest for reshape_sig
      
      * fix bugs when run converage
      
      * fix inplace bug in final_state eager_gen
      
      * fix python_c_gen
      
      * support view strategy for final state
      
      * fix order of out and xshape in reshape
      
      * fix Coverage_CI unittest timeout error
      
      * support reshape view
      
      * fix reshape_sig
      
      * fix yml and api_base
      Co-authored-by: NYuanRisheng <yuanrisheng@baidu.com>
      495ca4aa
  5. 29 3月, 2022 3 次提交
  6. 28 3月, 2022 1 次提交
  7. 27 3月, 2022 1 次提交
    • J
      Add StringTensor (#39830) · 0695e1ac
      Jack Zhou 提交于
      * add string tensor and case convert kernels
      
      * Add strings empty kernel; Reorganize the structure of case convert kernel
      
      * Add string infermeta
      
      * Update mutable_data of string tensor
      
      * rename kernel name
      
      * add string copy tmp
      
      * Fix strings copy device bug
      
      * add utf8 gpu converter
      
      * add string tensor c++ api
      
      * Remove mutable_data of string tensor
      
      * update string tensor interface
      
      * remove charcases_flag.h
      
      * remove some fluid headers
      
      * Add make_ddim
      
      * __HIPCC__ -> PADDLE_WITH_HIP
      
      * remove fluid headers
      
      * fix cpu compile
      
      * remove std::hash
      
      * Fix cudaMalloc
      
      * Remove strings/impl directory
      
      * Fix infrt/get_phi_kernel_info.py;Add custom_kernels deps
      
      * Add empty kernel test
      
      * Remove some comments
      
      * Modify lower/upper api encoding type: string->bool
      
      * STRING->PSTRING; Add CreateInferLikeMeta
      
      * Add code gen for C++ String API
      
      * remove strings_api_utils.h
      
      * Add ignore file (strings_api.h, strings_api.cc)
      
      * update strings gen script
      
      * change args order of case convert kernels
      
      * Add comments for pstring, StringTensor
      
      * cpstring_internal.h -> cpstring_impl.h
      
      * Update accordding to comments:
      
      1. Remove fluid headers
      2. paddle::platform::errors -> phi::errors
      3. Use 'place.GetType() == phi::AllocationType::GPU' instead of 'paddle::platform::is_cpu_space()'
      4. Use camel code style
      
      * Remove all singletons in strings kernels
      
      * fix rocm compile
      
      * Fix py3 compile
      
      * Fix c++ coverage
      
      * 1. Add pstring proto type
      2. Add StringTensor debug info
      3. Rename case_convert_kernel to strings_lower_upper
      4. Remove serialize derialize strings kernel
      
      * DataLayout::PSTRING -> DataLayout::PSTRING_UNION
      
      * Register pstring data type
      
      * Fix strings api gen
      
      * Fix dense tensor register pstring dtype
      
      * Fix error messages
      
      * remove line
      
      * add pstring unittest
      
      * remove test string api unitest
      
      * remove empty line
      
      * Remove some headers to decrease the size of executable file
      0695e1ac
  8. 25 3月, 2022 4 次提交
    • H
      update eager code gen (#40924) · afe2fdd1
      hong 提交于
      * update
      
      * remove useless code
      
      * remove label smooth test
      
      * polish code
      
      * polish code
      
      * polish code
      
      * remove _in_eager_mode error;
      afe2fdd1
    • Z
      add cast_grad phi kernel (#40798) · b79c6a9b
      zhangbo9674 提交于
      * add cast_grad phi kernel
      
      * refie unittest
      
      * refien unittest
      
      * refine unittest
      
      * refine include header path
      
      * refien xpu cast unittest
      
      * refine code
      b79c6a9b
    • J
      Refactor Dygraph Flags (#40786) · 3085d5e4
      Jiabin Yang 提交于
      * refactor eager flags
      
      * fix flags error when we switch from eager to dygraph
      
      * fix ci problem
      
      * fix ci
      
      * fix ci
      
      * merge develop and fix code style
      
      * merge develop and fix code style
      
      * fix op test error
      
      * fix op test error
      
      * fix op test error
      
      * fix op test error
      
      * fix op test error
      
      * merge develop
      3085d5e4
    • Z
      Scalar support marking data_type in yaml (#40867) · 04087012
      zyfncg 提交于
      * Scalar support marking data_type in yaml
      
      * fix code-gene bug
      04087012
  9. 24 3月, 2022 1 次提交
  10. 23 3月, 2022 2 次提交
    • H
      Add yaml config part2 (#40742) · f4075db8
      hong 提交于
      * fix error; test=develop
      
      * update
      
      * close some yaml
      
      * fix backward attrite error; test=develop
      
      * add div test
      
      * polish code; test=develop
      
      * remove none gbk charactor;
      
      * remove some yaml;
      
      * fix optional bug
      
      * recover yaml config
      
      * resolve confilct; test=develop
      
      * close div; test=develop
      f4075db8
    • Z
      Removed redundant use of declarations.h (#40703) · 2a1b4c07
      Zhanlue Yang 提交于
      * Removed redundant use of declarations.h
      
      * Fixed minor bug
      2a1b4c07
  11. 22 3月, 2022 2 次提交
  12. 21 3月, 2022 2 次提交
    • H
      Add yaml sep (#40769) · c63e03b1
      hong 提交于
      * add sep line for conflict; test=document_fix
      
      * revert
      
      * add sep; test=document_fix
      c63e03b1
    • H
      Add yaml config part0 (#40020) · cc853e95
      hong 提交于
      * add add yaml
      
      * add elementwise add yaml; test=develop
      
      * add norm
      
      * update
      
      * add some yaml config; test=develop
      
      * fix bug; test=develop
      
      * fix compare error; test=develop
      
      * revert erger_gen.py
      
      * update; test=deveop
      
      * remove usless code; test=deveop
      
      * fix bug; test=develop
      
      * fix test error; test=develop
      
      * remove int_type; test=develop
      
      * fix type error; test=develop
      
      * format; test=develop
      
      * remove type register; test=develop
      
      * polish code; test=develop
      
      * fix ci error; test=develop
      cc853e95
  13. 19 3月, 2022 1 次提交
  14. 17 3月, 2022 1 次提交
  15. 16 3月, 2022 1 次提交
  16. 15 3月, 2022 3 次提交
    • C
      add softmax yaml and add_raw infermeta (#40534) · 7039f61e
      Chen Weihang 提交于
      7039f61e
    • Z
      Added more profile signposts to dygraph (#40201) · 36db75b4
      Zhanlue Yang 提交于
      * Added more signposts to dygraph profiling
      
      * Fixed minor issues
      
      * Refactored signpost names
      
      * Fixed typo
      
      * Removed debug codes
      
      * Fixed typo
      
      * Adjusted signpost names
      
      * Fixed issues from branch merge
      36db75b4
    • H
      Move one hot to phi (#39876) · 7701db37
      hong 提交于
      * move one hot to phi; test=develop
      
      * fix bugs; test=develop
      
      * fix bugs; test=develop
      
      * add infer meta; test=develop
      
      * fix bugs; test=develop
      
      * resolve confilct
      
      * resolve confilct
      
      * fix bug;
      
      * fix error; test=develop
      
      * update; test=develop
      
      * polish code; test=develop
      
      * add one api in eager mode; test=develop
      
      * add one hot test; test=develop
      
      * remove use less code; test=develop
      
      * fix bug; test=develop
      
      * polish code; test=develop
      
      * polish code; test=develop
      7701db37