1. 27 4月, 2023 9 次提交
    • H
      [Fix CppExtension Unittest] Change CUDAExtension to CppExtension if necessary (#53352) · 3278dec7
      HongyuJia 提交于
      * [Fix CppExtension Unittest] Change CUDAExtension to CppExtension if necessary
      
      * Temporarily test cpp_extension under GPU
      
      * Split mixed_extension unittest
      3278dec7
    • H
      Add jacobian and hessian (#53331) · e8d296ef
      HydrogenSulfate 提交于
      * add jacobian and hessian in paddle.autograd
      
      * disable unitest 'func_multi_input' for bug in high-order gradient of multiply
      
      * add dimension checks
      
      * add support for 0-D tensor
      
      * change return type from Jacobian to Hessian in hessian function
      
      * refine Jacobian _flatten function for single xs
      
      * refine support for 0-D tensor
      
      * 1. add 'func_multi_input' unitest for multiply_grad_kernel bug fixed
      already.
      2. support non-inplace math operation via magical method overwriting.
      
      * add unitest for math operation and raise error when 0-D tensor is indexed
      
      * add ndim check on ys and xs according to is_batched, and add one unitest
      
      * refine docstring of jacobian and hessian
      
      * move paddle.incubate.autograd.Jacobian/Hessian to paddle.incubate.autograd.functional.Jacobian/Hessian
      
      * remove single_input unitest case because numerical differentiation is wrong
      
      * remove 3 unitest for numerical result(reference result) is wrong
      
      * 1. rename autodiff.py to autograd.py
      2. increase TIMEOUT to 100
      
      * cancel modification for functional Jacobian/Hessian
      
      * 1. use tuple as return type instead of list
      2. refine docstring
      
      * add more unitest case to improve coverage
      
      * remove 2 unitest of Hessian for numerical result is wrong
      
      * remove 1 unitest of Hessian for numerical result is wrong
      
      * remove 1 unitest of Hessian for numerical result is wrong
      
      * change unit test to shape check
      
      * correct doc and replace incubate API to stable API in _grad
      e8d296ef
    • X
      【prim】Concat bug (#53350) · 6768c6ec
      xiaoguoguo626807 提交于
      * modify concat_grad add sum comp rule
      
      * modify opcompat
      6768c6ec
    • H
      updata Adamw.py (#52984) · c0ee14f6
      hua-zi 提交于
      * updata Adamw.py
      
      out.backward()  -> loss.backward()
      
      * Update adamw.py
      c0ee14f6
    • J
      1bd468e2
    • H
      [XPU] remove scale_loss in parallel.py (#53337) · 2e1ac529
      houj04 提交于
      * [XPU] remove scale_loss in parallel.py
      
      * [XPU] throw Unimplemented when using Reducer
      2e1ac529
    • S
      【Hackathon No.55】add fmax BF16 test (#51925) · 8a6ad6e5
      superwinner1 提交于
      8a6ad6e5
    • C
      【Hackathon4】No5 nextafter (#52544) · 82ac3913
      cyberslack_lee 提交于
      82ac3913
    • M
      Pad grad (#53374) · bfeedd29
      mengziheng 提交于
      * add pad op
      
      * add_some_code
      
      * modify some code
      
      * add some code
      
      * add some code
      
      * modify some code
      
      * add some code
      
      * modify some code
      
      * Update composite_backward_api.h
      
      * modify some code
      
      * add some code
      
      * add some code
      
      * add some code
      bfeedd29
  2. 26 4月, 2023 13 次提交
  3. 25 4月, 2023 8 次提交
  4. 24 4月, 2023 10 次提交