1. 06 1月, 2022 2 次提交
  2. 05 1月, 2022 8 次提交
    • J
      Make post training quant API support dataloader (#38686) · 0af1a87b
      Jiaqi Liu 提交于
      * make post training quant API support dataloader
      0af1a87b
    • Q
      [XPU] update XPU run check scripts, test=develop (#38698) · bbe83ed1
      Qi Li 提交于
      bbe83ed1
    • 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
    • W
      add the examples for the mm (#38669) · c90a652d
      wawltor 提交于
      * add the examples for the mm
      
      * fix the document of paddle.mm
      c90a652d
    • 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
    • J
      Quantize nearest_interp and nearest_interp_v2 (#38622) · 1456b02d
      joanna.wozna.intel 提交于
      * Quantize nearest_interp and nearest_interp_v2
      
      * Check if avx_core supported
      
      * Add depthwise_conv2d to supported quantization list
      1456b02d
    • 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
  3. 04 1月, 2022 8 次提交
  4. 31 12月, 2021 13 次提交
  5. 30 12月, 2021 9 次提交
    • 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
    • Y
      [Auto parallel] Make sure the id semantics of every var and op unique (#38132) · 5620214e
      Yulong Ao 提交于
      * [Auto parallel] Make the id of var and op unique
      
      * [Auto Parallel] Rename back dist_context to distop_context
      5620214e
    • 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