1. 02 4月, 2022 4 次提交
    • S
      Add graph apis (#40809) · b0398c8e
      Siming Dai 提交于
      * Add graph_reindex API
      
      * add graph_sample_neighbors api
      
      * Add buffer
      
      * delete VLOG
      
      * delete thrust::copy for output
      
      * add ShareDataWith
      
      * delete graph_reindex hashtable output
      
      * add graph_reindex dispensable
      
      * add reindex unittest, move memset to cuda kernel, change api
      
      * fix conflict
      
      * add reindex buffer for gpu version note
      
      * fix conflicts for op_func_generator
      
      * Add fisher_yates sampling, add dispensable, change infermeta
      
      * add dtype for edge_id
      
      * fix rocm ci and static check ci
      
      * add unittest
      
      * fix unittest
      
      * fix unittest
      
      * fix bug
      b0398c8e
    • W
      [Eager] Fix Pylayer compile error (#41240) · 1d8246b0
      wanghuancoder 提交于
      * fix bug, test=develop
      
      * refine, test=develop
      1d8246b0
    • Z
      统一ps refine (#41234) · b3270adf
      zhaocaibei123 提交于
      * update name
      
      * update name
      
      * fix test
      
      * fix fleet bind
      
      * update name
      
      * update name
      
      * fix test
      
      * fix gpups wrapper
      
      * remove Push/Pull/Load/Save with context in client and wrapper base class
      
      * fix
      
      * fix
      Co-authored-by: Nesythan <esythan@126.com>
      b3270adf
    • X
      [Yaml] transfer around 22 ops yaml file and pass the final state OpTest. (#41024) · 16bfcd18
      xiongkun 提交于
      * 1. add the python api grad 2. add final and intermediate state vlog 3. change the python_api error logic
      
      * add python api or close the check_eager=True
      
      * fix the compatibility
      16bfcd18
  2. 01 4月, 2022 3 次提交
  3. 31 3月, 2022 5 次提交
    • Z
      [Phi] Rename ScalarArray to IntArray (#40975) · e559fe41
      zyfncg 提交于
      * rename scalar_array to int_array
      
      * update cmake
      
      * fix conflict
      
      * remove useless log
      e559fe41
    • W
      fix some bug, test=develop (#41144) · eac23db1
      wanghuancoder 提交于
      eac23db1
    • Z
      fix python c bug for eager tensor (#41158) · 033b2748
      zhangbo9674 提交于
      033b2748
    • P
      Support inplace strategy for pylayer (#41043) · 11d1a51a
      pangyoki 提交于
      * Supported Complex2Real Conversion for Eager Dygraph
      
      * Supported Complex2Real Conversion for Eager Dygraph
      
      * Enabled complex type promotion test for matmul_v2
      
      * pylayer, test=develop
      
      * Fix CI issues
      
      * Support initializing specific grad tensors to zero for selected operators
      
      * finish forward, test=develop
      
      * create grad node finish, test=develop
      
      * Merged adj_edges_ with GradSlotMeta
      
      * Fixed monir issue
      
      * backward finish, start dbg, test=develop
      
      * Adjusted num runs
      
      * Recovered Eager performance tests configurations
      
      * Recovered Eager performance tests configurations
      
      * finish, test=develop
      
      * polish, test=develop
      
      * polish, test=develop
      
      * refine, test=develop
      
      * eager, test=develop
      
      * Adjusted performance tests configurations
      
      * Fixed Minor Issues with performance tests
      
      * [Phi] Fix macro name typo
      
      * support set_materialize_grads, test=develop
      
      * suppotr mark_non_differentiable, test=develop
      
      * support once_differentiable, test=develop
      
      * refine, test=develop
      
      * refine, test=develop
      
      * Moved out Edge from GradSlotMeta
      
      * Fixed issues from merge
      
      * Fixed typo
      
      * Addressed review comments
      
      * Fixed merge issues
      
      * Fixed minor issues
      
      * Fixed minor issue
      
      * refine, test=develop
      
      * refine, test=develop
      
      * refine, test=develop
      
      * Fixed major issues and enabled auto_prune test cases
      
      * Fixed issues from merge
      
      * refine, test=develop
      
      * refine, test=develop
      
      * refine, test=develop
      
      * refine, test=develop
      
      * refine, test=develop
      
      * support inplace for pylayer
      Co-authored-by: Njim19930609 <jim19930609@gmail.com>
      Co-authored-by: NWang Huan <wanghuan29@baidu.com>
      Co-authored-by: NAurelius84 <zhangliujie@baidu.com>
      11d1a51a
    • L
      Pg heter cloud (#40911) · 92faeedf
      lilong12 提交于
      92faeedf
  4. 30 3月, 2022 6 次提交
    • Z
      [Phi] Move Rnn Op from fluid to phi (#41007) · 66cf8b08
      zyfncg 提交于
      * move rnn kernel to phi
      
      * move infershape of rnn to phi
      
      * fix HIP bug
      
      * rename function
      
      * fix HIP bug
      
      * fix hip bug
      66cf8b08
    • F
      Add new APIs for GPU memory monitoring (max_memory_allocated,... · afe02e9d
      From00 提交于
      Add new APIs for GPU memory monitoring (max_memory_allocated, max_memory_reserved, memory_allocated, memory_reserved) (#38657)
      
      * Add new API memory_reserved
      
      * Add memory_allocated, max_memory_reserved and max_memory_allocater
      
      * Fix CI error
      
      * Fix CI error
      
      * Enhance UT
      
      * Add FLAGS_memory_stats_opt
      
      * Add STATS macro functions
      
      * Add StatAllocator
      
      * Fix CI errors
      
      * Add UT
      
      * Fix CI errors
      afe02e9d
    • P
      add _reset_grad_inplace_version (#41101) · cb8afc24
      pangyoki 提交于
      cb8afc24
    • 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
    • P
      suppor inplace in tensor_method_setitem (#40915) · 7170c687
      pangyoki 提交于
      * suppor inplace in tensor_method_setitem
      
      * delete bump_inplace_version
      
      * optimize inplace unittest
      
      * fix
      
      * fix setitem bug
      
      * update eager_generator
      
      * optimize inplace unittest
      
      * little change
      7170c687
    • W
      [Eager] Pylayer (#39989) · 157c1a28
      wanghuancoder 提交于
      * Supported Complex2Real Conversion for Eager Dygraph
      
      * Supported Complex2Real Conversion for Eager Dygraph
      
      * Enabled complex type promotion test for matmul_v2
      
      * pylayer, test=develop
      
      * Fix CI issues
      
      * Support initializing specific grad tensors to zero for selected operators
      
      * finish forward, test=develop
      
      * create grad node finish, test=develop
      
      * Merged adj_edges_ with GradSlotMeta
      
      * Fixed monir issue
      
      * backward finish, start dbg, test=develop
      
      * Adjusted num runs
      
      * Recovered Eager performance tests configurations
      
      * Recovered Eager performance tests configurations
      
      * finish, test=develop
      
      * polish, test=develop
      
      * polish, test=develop
      
      * refine, test=develop
      
      * eager, test=develop
      
      * Adjusted performance tests configurations
      
      * Fixed Minor Issues with performance tests
      
      * [Phi] Fix macro name typo
      
      * support set_materialize_grads, test=develop
      
      * suppotr mark_non_differentiable, test=develop
      
      * support once_differentiable, test=develop
      
      * refine, test=develop
      
      * refine, test=develop
      
      * Moved out Edge from GradSlotMeta
      
      * Fixed issues from merge
      
      * Fixed typo
      
      * Addressed review comments
      
      * Fixed merge issues
      
      * Fixed minor issues
      
      * Fixed minor issue
      
      * refine, test=develop
      
      * refine, test=develop
      
      * refine, test=develop
      
      * Fixed major issues and enabled auto_prune test cases
      
      * Fixed issues from merge
      
      * refine, test=develop
      
      * refine, test=develop
      
      * refine, test=develop
      
      * refine, test=develop
      
      * refine, test=develop
      Co-authored-by: Njim19930609 <jim19930609@gmail.com>
      Co-authored-by: NAurelius84 <zhangliujie@baidu.com>
      157c1a28
  5. 29 3月, 2022 1 次提交
  6. 28 3月, 2022 3 次提交
  7. 25 3月, 2022 2 次提交
    • 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
    • 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
  8. 24 3月, 2022 3 次提交
    • Z
      [AMP] Support amp for Intermediate_dygraph (#40623) · c12f7d48
      zhangbo9674 提交于
      * approve amp for intermediate_dygraph
      
      * add amp_utils for intermediate_dygraph
      
      * add amp needcast check for mlu & npu
      
      * test unittest
      
      * add SetGradNode for set_stop_gradient && add checktensor for GradientHooks
      
      * refine code
      
      * refien unittest of imperative_amp for new dygraph
      
      * inplace api skip amp
      
      * add test_imperative_qat_amp for intermediate amp
      
      * refine code
      
      * refine test_amp ci strategy
      
      * refine unittest code
      
      * refine amp_utils code
      
      * refine amp getpromotetype for some special op
      
      * refine unittest code
      c12f7d48
    • Z
      a8f86600
    • 0
      Refine eager run_program OP for dy2st UT (#40768) · 4ccd5cb8
      0x45f 提交于
      * Refine eager run_program OP for dy2st UT
      
      * append run_program error string and refine run_program_grad
      
      * remove some comments
      
      * refine ConstructXGradTensors
      4ccd5cb8
  9. 23 3月, 2022 8 次提交
    • Z
      two-phase training for ps (#40762) · b1a4668c
      zhaocaibei123 提交于
      * fix benchmark and communicator config
      
      * fix bugs of the_one_ps
      
      * multi program and fix bug in optimizer
      
      * multi program in the_one_ps
      
      * public commcontext
      
      * ps optimizer multi programs
      
      * cvm & datanorm backend
      
      * fix dim
      
      * fix unittest
      
      * fix
      
      * the one ps merge
      
      * remove comm
      
      * add DownpourLiteWorker
      
      * all
      
      * fix
      
      * fix
      
      * device worker downpour lite
      
      * fix
      
      * fix bug in global shuffle
      
      * save inference model
      
      * fix & add log
      
      * fix
      
      * remove log
      
      * fix
      
      * fix save summary
      
      * fix
      
      * fix pscore
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * remove logs
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * add some comments
      
      * fix
      Co-authored-by: Nesythan <esythan@126.com>
      b1a4668c
    • W
      [Eager Hook + Inplace] Refactor register_hook and test with inplace operation (#40778) · ff7cbaae
      Weilong Wu 提交于
      * disable scatter case in test_inplace_eager_fluid
      
      * Update register_hook logic
      
      * Add register_hook test cases
      Co-authored-by: Npangyoki <pangyoki@126.com>
      ff7cbaae
    • J
      Support sharding (#40637) · fe291daf
      Jiabin Yang 提交于
      * suppor sharding api
      
      * support multi api for sharding in eager
      
      * support multi api for sharding in eager
      
      * fix test
      
      * fix test coverage
      fe291daf
    • Z
      [Phi] Move deformable_conv and deformable_conv_v1 to phi (#40794) · 7e3752bb
      zyfncg 提交于
      * move deformable_conv_grad to phi
      
      * move infershape of deformable_conv to phi
      
      * adjust some code format
      
      * move deformable_conv_v1 to phi
      7e3752bb
    • 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
    • W
      [Eager] Slice (#40587) · b07d239c
      wanghuancoder 提交于
      * fix some slice bug, test=develop
      
      * eager slice, test=develop
      
      * eager slice, test=develop
      
      * refine, test=develop
      
      * refine, test=develop
      
      * fix bug, test=develop
      
      * refine, test=develop
      
      * rename function name, test=develop
      b07d239c
    • C
      Add profiler features (#40357) · c15e3823
      chenjian 提交于
      * add event record for model profiling
      
      * fix format
      
      * fix format
      
      * fix code example bug
      
      * no
      
      * add profiler statistic
      
      * add profiler feature
      
      * fix bug
      
      * fix bug
      
      * fix bug
      
      * fix bug
      
      * required: gpu
      
      * required: gpu
      
      * fix bug
      
      * required: gpu
      
      * fix ci bug
      
      * fix ci error
      
      * fix ci error
      
      * upgrade document
      
      * fix doc
      
      * fix ci bug
      
      * add doc and fix bug
      
      * nothing
      
      * fix bug
      
      * fix format bug
      
      * modify format
      
      * add deprecated description for old profiler
      
      * fix bug
      
      * fix bug
      
      * fix
      
      * add load_profiler_reuslt doc
      
      * add load_profiler_reuslt doc
      
      * add load_profiler_reuslt doc
      
      * help fix old profiler sample code
      
      * add api doc
      
      * fix format
      
      * fix api doc
      
      * fix api doc format
      
      * fix api doc format
      
      * fix api doc c format
      
      * fix api doc format
      c15e3823
    • W
      db41e39e
  10. 22 3月, 2022 2 次提交
  11. 21 3月, 2022 3 次提交
    • 0
      Refine to_tensor for eager mode and support gpu_pinned (#40535) · 45d1fb8d
      0x45f 提交于
      * Refine to_tensor for eager mode
      
      * support gpu_pinned
      
      * refine code
      
      * support gpu_pinned copy_to
      
      * fix layer.__setattr__
      
      * support to_tensor for gpu_pinned
      
      * fix unit test
      
      * refine gpu_pinned
      
      * restore the original code
      
      * add is_gup_pinned() and refine eager.Tensor._copy_to()
      45d1fb8d
    • H
      remove duplicate code (#40758) · 4ff9fe43
      hong 提交于
      * remove duplicate code;
      
      * add some line; test=document_fix
      4ff9fe43
    • H
      Merge some test bug (#40543) · 56c43ccd
      hong 提交于
      * switch eager mode and change it
      
      * set default is eager
      
      * set default is eager
      
      * fix error; test=develop
      
      * fix some error; test=develop
      
      * update
      
      * upd
      
      * update code; test=develop
      
      * update
      
      * fix some bug; test=develop
      
      * fix bug; test=develop
      
      * fix bug; test=develop
      
      * fix bug; test=develop
      
      * fix error; test=develop
      
      * format; test=develop
      Co-authored-by: NJiabinYang <360788950@qq.com>
      56c43ccd