1. 07 1月, 2022 1 次提交
  2. 06 1月, 2022 6 次提交
  3. 05 1月, 2022 4 次提交
    • W
      [Eager] Support test imperative basic in eager test_empty_grad (#38376) · 9108e777
      wanghuancoder 提交于
      * Rearranged Eager AutoCodeGen directory structure
      
      * Removed USE_OP in Eager AutoCodeGen
      
      * Enabled generation for Operators without Grad/Inputs/Outputs
      
      * Resolved operators without input
      
      * Fixed merge conflicts
      
      * Enabled Eager AutoCodeGen for 10+ more operators
      
      * Refactored Eager AutoCodeGen with more organized helper objects
      
      * Enabled Eager AutoCodeGen for operators with multiple OpBases
      
      * Adjusted Eager AutoCodeGen to Enable Passing Output Tensor as Input Argument
      
      * Handled Dispensable Inputs/Outputs in Eager AutoCodeGen
      
      * Adjusted function generation/call between Python-C API & Dygraph API
      
      * Synchronized auto-generated Python-C API with Dygraph Forward Functions
      
      * support more eager tensor api
      
      * fix merge compile error
      
      * fix compile error and fit develop code
      
      * support pure CPU
      
      * fix some logic error in eager_mode
      
      * support _varbase_creator in eager mode
      
      * Added safe_initialized interface to EagerTensor for use in processing dispensable inputs
      
      * for eager mode
      
      * refine
      
      * support multiple constructor for eager tensor
      
      * add place related code
      
      * polish code
      
      * specific randint with dtype of int64
      
      * Support pure cpu test
      
      * eager logic
      
      * refine test in pure cpu
      
      * eager logic
      
      * eager logic
      
      * eager logic, test=develop
      
      * skip core.eager when in inference, test=develop
      
      * refine, test=develop
      
      * refine, test=develop
      
      * call RetainGrad after run forward kernel, test=develop
      
      * refine, test=develop
      
      * support dygraph util, meta, guard test
      
      * eager test case
      
      * support inference test
      
      * refine test and fix initializer failed
      
      * modify eagertensor patch method
      
      * add eagertensor.clear_grandint, test=develop
      
      * refine, test=develop
      
      * refine, test=develop
      
      * refine, test=develop
      
      * call monkey_patch_varbase in _test_eager_guard, test=develop
      
      * split clear_gradient to clear_gradient and zero_grads, test=develop
      
      * refine, test=develop
      
      * refine, test=develop
      
      * refine, test=develop
      Co-authored-by: Njim19930609 <jim19930609@gmail.com>
      Co-authored-by: NJiabinYang <360788950@qq.com>
      9108e777
    • J
      Fix for matmul_v2 oneDNN op broadcasting when inputs dims have different lengths (#38665) · 67923124
      jakpiase 提交于
      * fix for matmul_v2 broadcasting
      
      * fix for output shape not broadcasted
      67923124
    • T
      add huber_loss for kunlun (#38589) · a268c7ce
      TTerror 提交于
      * add huber_loss for kunlun
      
      * update xpu.cmake
      
      * update unitests
      
      * update unitests
      
      * update elementwise_add
      
      * update elementwise_add
      
      * update elementwise_add
      a268c7ce
    • W
      Support EagerTensor initialization with kwargs (#38488) · 4ba6d4e4
      Weilong Wu 提交于
      * Support EagerTensor init with kwargs
      
      * Updated comments
      
      * Updated unit tests case
      
      * Refactor InitTensor related code to reduce duplicate code
      
      * Updated the error reporting msg
      
      * Updated VLOG msg
      
      * Merge develop and Update EagerTensor init func
      
      * Polish switch case, reduce some code
      
      * Add SyntaxError unit test case
      
      * Refactor the related initialization func of EagerTensor
      
      * Remove ParseStopGradient and ParseZeroCopy and ParsePersistable, construct ParseBooleanArgs instead.
      
      * Updated error msg to pass CI
      
      * Updated PADDLE_ENFORCE error type
      4ba6d4e4
  4. 04 1月, 2022 4 次提交
  5. 31 12月, 2021 12 次提交
  6. 30 12月, 2021 11 次提交
    • Z
      add OP lu forward (#38559) · 4e21457d
      zhiboniu 提交于
      LGTM
      4e21457d
    • H
      add sigmoid_cross_entropy_with_logits to kl1 (#38586) · 790cadd1
      houj04 提交于
      * add sigmoid cross entropy with logits to kl1. test=kunlun
      
      * add sigmoid cross entropy with logits to kl1. test=kunlun
      790cadd1
    • Z
      Add exp, abs_grad, reciprocal, reciprocal_grad operator for XPU and update... · ceec1e21
      zhangyk0314 提交于
      Add exp, abs_grad, reciprocal, reciprocal_grad operator for XPU and update xpu2_op_list.h,test=kunlun (#38570)
      
      ceec1e21
    • J
      [New API] add new api paddle.mode and paddle.Tensor.mode (#38446) · 3777779b
      JYChen 提交于
      * add new OP mode
      
      * rename trans-variable name and fix UT
      3777779b
    • H
      Add cpu kernel of new api : lstsq (#38585) · ccf99b66
      Haohongxiang 提交于
      * add cpu kernel of lstsq
      
      * update
      
      * modify code style
      
      * modify unittest
      
      * remove support for complex
      ccf99b66
    • J
      Support test imperative basic with fixed retain grad interface (#38548) · 2421a25a
      Jiabin Yang 提交于
      * Rearranged Eager AutoCodeGen directory structure
      
      * Removed USE_OP in Eager AutoCodeGen
      
      * Enabled generation for Operators without Grad/Inputs/Outputs
      
      * Resolved operators without input
      
      * Fixed merge conflicts
      
      * Enabled Eager AutoCodeGen for 10+ more operators
      
      * Refactored Eager AutoCodeGen with more organized helper objects
      
      * Enabled Eager AutoCodeGen for operators with multiple OpBases
      
      * Adjusted Eager AutoCodeGen to Enable Passing Output Tensor as Input Argument
      
      * Handled Dispensable Inputs/Outputs in Eager AutoCodeGen
      
      * Adjusted function generation/call between Python-C API & Dygraph API
      
      * Synchronized auto-generated Python-C API with Dygraph Forward Functions
      
      * support more eager tensor api
      
      * fix merge compile error
      
      * fix compile error and fit develop code
      
      * support pure CPU
      
      * fix some logic error in eager_mode
      
      * support _varbase_creator in eager mode
      
      * Added safe_initialized interface to EagerTensor for use in processing dispensable inputs
      
      * for eager mode
      
      * refine
      
      * support multiple constructor for eager tensor
      
      * add place related code
      
      * polish code
      
      * specific randint with dtype of int64
      
      * Support pure cpu test
      
      * eager logic
      
      * refine test in pure cpu
      
      * eager logic
      
      * eager logic
      
      * eager logic, test=develop
      
      * skip core.eager when in inference, test=develop
      
      * refine, test=develop
      
      * refine, test=develop
      
      * call RetainGrad after run forward kernel, test=develop
      
      * refine, test=develop
      
      * support dygraph util, meta, guard test
      
      * support inference test
      
      * refine test and fix initializer failed
      
      * support create varbase and fix retain grad error
      
      * fix windows error
      
      * support test_imperative_basic test in eager mode
      
      * remove additional log in variable.h
      
      * remove additional log in variable.h
      
      * remove additional code create in merge
      Co-authored-by: Njim19930609 <jim19930609@gmail.com>
      Co-authored-by: NWang Huan <wanghuan29@baidu.com>
      2421a25a
    • J
      Added Conv2D BF16 BWD oneDNN kernel (#38507) · ed8ba011
      jakpiase 提交于
      * working test for padding only
      
      * added full conv2d grad kernel
      
      * removed some trash
      
      * minor change
      
      * Ci fix
      
      * format fix
      ed8ba011
    • Z
      [PSCore]Fix test fleet base 2 (#38588) · 04496d89
      zmxdream 提交于
      04496d89
    • X
      add ExponentialFamily and Dirichlet probability distribution (#38445) · 00cddf07
      Xiaoxu Chen 提交于
      * extend Distribution baseclass for supporting multivariant distribution and prob method
      
      * add ExponentialFamily base class and entropy using Bregman divergence
      
      * add dirichlet probability distribution
      00cddf07
    • X
      add dirichlet random sample op in cpu and gpu kernel (#38244) · c5bf09bb
      Xiaoxu Chen 提交于
      * add dirichlet sample op and cpu backend kernel
      
      * add Dirichlet op cuda kernel  (#6)
      
      * add dirichlet op hip kernel
      Co-authored-by: NFeiyu Chan <chenfeiyu@baidu.com>
      c5bf09bb
    • L
      Fix the bug of batch_norm and batch_norm_grad op. (#38288) · cc83c95f
      Leo Guo 提交于
      * Fix the bug of batch_norm and batch_norm_grad op. Add the "roi_align" and "roi_align_grad" op in xpu2 op list.
      
      * Fix the bug of batch_norm and batch_norm_grad op. Add the "roi_align" and "roi_align_grad" op in xpu2 op list. test=kunlun
      Co-authored-by: NZibin <guozibin@baidu.com>
      cc83c95f
  7. 29 12月, 2021 2 次提交