1. 12 4月, 2022 1 次提交
  2. 11 4月, 2022 1 次提交
    • C
      [Cherry-pick] Add truncated_normal/unique/swish/unbind yaml and polish Getting... · b2e095c4
      Chen Weihang 提交于
      [Cherry-pick] Add truncated_normal/unique/swish/unbind yaml and polish Getting tensor place impl (#41539)
      
      * [Phi] Polish truncated normal kernel and add yaml (#41280)
      
      * polish truncated normal kernel
      
      * add yaml
      
      * add truncated normal kernel and add yaml
      
      * polish unittests and yaml
      
      * import dygraph mehtod
      
      * add unique yaml and final state api (#41460)
      
      * fix get tensor backend set bug (#41478)
      
      * [Phi] Add unbind yaml and final state api (#41277)
      
      * add unbind yaml
      
      * fix unittest
      
      * [Phi] Add swish yaml and final state api (#41479)
      
      * add swish yaml and final state api
      
      * skip mkldnn test
      
      * fix grad mkldnn test
      
      * add cherry-pick lost code
      b2e095c4
  3. 07 4月, 2022 1 次提交
  4. 06 4月, 2022 1 次提交
    • H
      Add conv yaml (#41354) · 7ed7c6c7
      hong 提交于
      * update
      
      * add conv yaml
      
      * add backward
      
      * remove useless code
      
      * fix bug
      
      * fix bug
      
      * revert fluid dygraph conv2d
      
      * remove useless infermeta function
      
      * fix meta fn deluplicat error
      
      * conv using custom impl
      
      * remove amp include
      
      * fix bug
      
      * use cudnn = true
      
      * fix test mkldnn caching bug
      7ed7c6c7
  5. 05 4月, 2022 1 次提交
  6. 04 4月, 2022 1 次提交
  7. 03 4月, 2022 3 次提交
    • C
      [Phi]Concat grad (#41112) · 3f57ef7a
      chentianyu03 提交于
      * add concat_grad kernel
      
      * fix error
      
      * remove comment code
      
      * fix outs nullptr error
      
      * change to phi header
      
      * add concat_grad declare for standalone_executor_test
      3f57ef7a
    • Z
      Add randperm and range yaml (#41265) · fd1ecfc5
      zyfncg 提交于
      * add randperm and range yaml
      
      * add eager test for randperm
      fd1ecfc5
    • F
      Add some yaml config (#41053) · e4914734
      From00 提交于
      * Add yaml config
      
      * Add yaml for flatten_contiguous_range_op
      
      * Remove h_sigmoid yaml
      
      * Fix CI errors
      
      * Fix code format
      
      * Fix flatten OP errors
      
      * Fix conflicts
      
      * Fix CI errors
      
      * Remove flatten_contiguous_range OP
      
      * Remove redundant code
      
      * Fix typos
      e4914734
  8. 02 4月, 2022 3 次提交
    • 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
      [phi] Move clip op to phi (#40602) · c0658045
      wuyefeilin 提交于
      * move clip op to phi
      
      * fix as review
      
      * update hierarchical_sigmoid_kernel.cc
      
      * update selected_rows
      
      * update clip_kernel.cu
      
      * fix as review
      c0658045
    • 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
  9. 01 4月, 2022 5 次提交
    • H
      update (#41245) · 99029dc9
      hong 提交于
      99029dc9
    • C
      [Phi] Move softmax with cross entropy kernel into phi (#40832) · e6ec98fe
      Chen Weihang 提交于
      * add cross_entropy_with_softmax phi kernel
      
      * remove softmax_with_cross_entropy kernel
      
      * add softmax_with_cross_entropy grad kernel
      
      * remove original op kernel
      
      * refine cross entropy impl
      
      * fix pointer error
      
      * revert kernel cu change
      
      * fix xpu failed
      
      * fix cinn failed
      
      * fix npu failed
      
      * add forward sig
      
      * add check_nan_inf for pt kernel
      
      * remove repeat cmake item
      
      * fix unittest error
      e6ec98fe
    • C
      [Phi]Interploatd kernels into phi (#40855) · d65a7a46
      chentianyu03 提交于
      * add interploate cpu kernel
      
      * fix nullptr bug
      
      * add interpolate gpu kernel
      
      * fix unit test error
      
      * remove raw kernels
      
      * add cuda kernel impl
      
      * add infermeta
      
      * recover accidentally deleted kernels in interpolate op
      
      * fix grad x_grad name error
      
      * remove interpolate_v2_op.h
      
      * rm unused codes
      
      * fix xpu build error
      
      * fix build error
      
      * fix namespace error
      
      * add register header for nup
      
      * fix infermeta error
      
      * modify by review
      
      * add the missing args in test_trt_convert_nearest_interp_v2
      d65a7a46
    • 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
  10. 31 3月, 2022 3 次提交
  11. 30 3月, 2022 5 次提交
  12. 29 3月, 2022 5 次提交
  13. 28 3月, 2022 5 次提交
    • H
      Move meshgrid to phi (#40994) · ca871957
      hong 提交于
      * move momentum, rmsprop to phi; test=develop
      
      * update
      
      * update
      
      * update
      
      * update
      
      * udpate; test=develop
      
      * fix xpu npu bugs; test=develop
      
      * fix npu bug; test=develop
      
      * fix windows compile error; test=develop
      
      * fix windows compile error; test=develop
      
      * polish code; test=develop
      
      * fix conflict; test=develop
      
      * add meshgrid;
      
      * update
      
      * polish code
      
      * polish code;
      
      * fix bug
      
      * format; remove useless code
      
      * fix npu bug
      
      * fix bug
      ca871957
    • H
      Move some activation to phi (#40727) · e77a947e
      hong 提交于
      * update
      
      * add forward case
      
      * update
      
      * update; test=develop
      
      * add some grad kernel; test=develop
      
      * move gpu kernel; test=develop
      
      * update
      
      * update;
      
      * update test;
      
      * fix selected rows bug;
      
      * add mix vector include ;
      
      * add mixed vector depen; test=develop
      
      * add logit grad signature;
      
      * polish code
      
      * fix bug;
      
      * add namespace for abs
      
      * revert code
      
      * not move softsign
      
      * revmove duplate register;
      
      * fix softsign bug
      
      * polish code
      
      * format
      
      * format
      
      * fix bug
      
      * remove cmake dep
      
      * add square sqrt selected rows support
      
      * update
      
      * remove clip norm
      
      * add standalone executor sqrt dep
      
      * standalone exec denp sqrt
      
      * remove sqrt op in cmkaelist
      
      * open some case
      e77a947e
    • L
    • C
      [Phi]Remove in_dtype, out_dtype in redcue grad (#40906) · 0c024cb9
      chentianyu03 提交于
      * remove in_dtype, out_dtype in redcue grad
      
      * set the dtype and layout in noneedbufferInputs func
      0c024cb9
    • 0
      [Phi] Move warpctc OP to phi (#40023) · cb183762
      0x45f 提交于
      * moving OP
      
      * move forward
      
      * move grad and infershape
      
      * code format
      
      * format code
      
      * fix code
      
      * fix code
      
      * fix CMakerLists.txt
      
      * fix comments
      
      * Refine CMakeLists for rocm ci
      cb183762
  14. 27 3月, 2022 1 次提交
    • H
      Move slice to phi (#40736) · b8236b7b
      hong 提交于
      * move slice to pten
      
      * merge develop; test=develop
      
      * fix slice bug;
      
      * update
      
      * update
      
      * fix error
      
      * update
      
      * fix bug
      
      * polish code
      
      * polish code
      
      * polish code
      
      * try to fix windows bug
      
      * add gpu compile flag;
      
      * try to fix
      
      * remov template;
      
      * polish code;
      
      * fix npu bug;
      
      * fix npu bug
      
      * fix npu bug; test=develop
      
      * fix slice bug;
      
      * remove no need dep
      b8236b7b
  15. 25 3月, 2022 4 次提交
    • Y
      move activation (#40913) · be5918e0
      YuanRisheng 提交于
      be5918e0
    • A
      [Phi] Migrate strided_slice into Phi (#40708) · c33b4f95
      Aurelius84 提交于
      * [Phi] Migrate strided_slice into Phi
      
      * [Phi] Migrate strided_slice into Phi
      
      * fix compilation problem
      c33b4f95
    • 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
    • A
      [Phi] Migrate Adam and AdamW into Phi (#40351) · 56cd3407
      Aurelius84 提交于
      * [Phi] Migrate Adam and Adamw into Phi
      
      * fix compile error and unittest ok
      
      * fix compile error and unittest ok
      
      * fix undefined reference to fLI::FLAGS
      
      * test depend on operator
      
      * fix cmake
      
      * fix xpu compile
      
      * fix infrt
      
      * fix amp_type_traits
      
      * fix amp_type_traits
      
      * modify according reviewer
      
      * modify according reviewer
      
      * fix dtype float16
      
      * fix typo
      
      * fix Cmake
      
      * fix code style
      56cd3407