1. 30 8月, 2023 1 次提交
    • iSerendipity's avatar
      【complex op】No.6 add complex support for logical_and/or/xor/not (#56323) · 5cbf5bd4
      iSerendipity 提交于
      * 【complex op】No.6 add complex support for logical_and/or/xor/not
      
      * fix dtype check
      
      * modify the docs
      
      * add special condition for not raise when x.dtype is complex
      
      * add random generate for complex dtype
      
      * fix generate for complex
      
      * fix
      
      * fix
      
      * add corner case for complex type
      
      * fix ut
      
      * fix ut
      5cbf5bd4
  2. 29 8月, 2023 4 次提交
  3. 28 8月, 2023 12 次提交
    • H
      [NewIR]Fix new ir output dtype bug (#56620) · 1409e4ec
      hong 提交于
      * update
      
      * fix batch norm grad args def
      
      * fix bug
      
      * fix combine slice bug
      
      * fix slice bug
      
      * update builtin split
      1409e4ec
    • [API Enhancement] No.6 support single `int` input in UpsamplingNearest2D and... · d0f1be51
      张春乔 提交于
      [API Enhancement] No.6 support single `int` input in UpsamplingNearest2D and UpsamplingBilinear2D (#56470)
      
      * enhance single int input in UpsamplingNearest2D and UpsamplingBilinear2D
      
      * add unittest
      
      * add unittest
      d0f1be51
    • N
      d7e0f875
    • G
      【inplace api】Batch add inplace api gt_, ge_, lt_, le_, eq_, not_equal_,... · c5fc413a
      GGBond8488 提交于
      【inplace api】Batch add inplace api gt_, ge_, lt_, le_, eq_, not_equal_, logical_and_, logical_or_, logical_xor_, logical_not_, divide_, floor_divide_, bitwise_and_ , bitwise_or_, bitwise_xor_, bitwise_not_ (#55509)
      
      * tmp commit
      
      * add atan2
      
      * add inplace api
      
      * fix error
      
      * add inpalce divide
      
      * add inplace api
      
      * add more inplace
      
      * add more inpalce
      
      * fix logical_not error
      
      * support sinh and cosh in cpu
      
      * support asin, acos, atan, asinh, acosh, atanh in cpu
      
      * fix typro
      
      * fix typro
      
      * mv out atan2 ldexp
      
      * mv out atan2 ldexp
      
      * support sinh and cosh in gpu
      
      * support asin, acos, atan, asinh, acosh, atanh in gpu
      
      * fix ge error
      
      * fix dygraph commpare error
      
      * fix dygraph commpare error
      
      * check complex in python
      
      * fix cast inpalce error
      
      * open inplace test
      
      * fix ops.yaml error
      
      * mv cast inpalce to python
      
      * fix coverage ci
      
      * add last inplace
      
      * fix inplace error
      
      * fix cast error
      
      * fix error
      
      * add nan_to_num_
      
      * fix typro
      
      * fix sparse cast error
      
      * remove gpu 4
      
      * fix static cast error
      
      * tmp commit
      
      * add atan2
      
      * add inplace api
      
      * fix error
      
      * add inpalce divide
      
      * add inplace api
      
      * add more inplace
      
      * add more inpalce
      
      * fix logical_not error
      
      * fix typro
      
      * fix typro
      
      * mv out atan2 ldexp
      
      * mv out atan2 ldexp
      
      * fix ge error
      
      * fix dygraph commpare error
      
      * fix dygraph commpare error
      
      * fix cast inpalce error
      
      * open inplace test
      
      * fix ops.yaml error
      
      * mv cast inpalce to python
      
      * fix coverage ci
      
      * add last inplace
      
      * fix inplace error
      
      * fix cast error
      
      * fix error
      
      * add nan_to_num_
      
      * fix typro
      
      * fix sparse cast error
      
      * remove gpu 4
      
      * fix static cast error
      
      * fix cast error
      
      * fix
      
      * Revert "check complex in python"
      
      This reverts commit c822064261d774dd58ad46a4f90ba8b467700a05.
      
      * add renorm , fix error
      
      * add coverage
      
      * fix cumsum inpalce version error
      
      * add cast inpalce impl
      
      * rm test.log
      
      * fix multiply_dyfunction and add multiply_backward test
      
      * add and use is_same_tensor
      
      * fix typro
      
      * fix sone error
      
      * fix typro
      
      ---------
      Co-authored-by: NScotty <jmhgchn@gmail.com>
      Co-authored-by: NScotty <527407973@qq.com>
      c5fc413a
    • L
      Add dimOp, tieProductEqualOp. access constraint_func in SymbolTable. Lowing... · 589588f3
      liuruyan 提交于
      Add dimOp, tieProductEqualOp. access constraint_func in SymbolTable. Lowing DenseTensorType. (#56615)
      
      * add symbolicDimProduct & symbolicDimMgr without method shape_constraint related.
      
      * add pd_type.cc to ir_shape CMakeLists.
      
      * add dimOp, tieProductEqualOp. access constraint_func in SymbolTable.
      
      * put DenseTensorType into builtin_type.
      589588f3
    • X
      [API Enhancement] No.1 support the any number of times in paddle.diff [used AI Studio] (#56681) · 39e8b023
      Xavier ZXY 提交于
      * Fix: The number of times to recursively compute the difference supports any number
      
      * Fix: use pre-commit to format code
      39e8b023
    • X
      test ci pattern_rewrite on mac_apple test=develop (#56586) · d825e232
      Xianduo Li 提交于
      * test ci pattern_rewrite on mac_apple test=develop
      
      * remove todo test=develop
      d825e232
    • W
      [IR] add block operand support for ir. (#56354) · 662df299
      winter-wang 提交于
      662df299
    • K
      [NewIR] register set_value in new ir (#56436) · deee91d8
      kangguangli 提交于
      * register set_value in new ir
      
      * fix
      
      * register set_value_grad
      
      * fix
      
      * fix
      
      * remove debug info
      
      * add unittest
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * resolve comments
      deee91d8
    • C
      [AutoParallel] Simplify PADDLE_WITH_DISTRIBUTE marco using (#56361) · 62c78e26
      Chen Weihang 提交于
      * simplify with dist marco
      
      * polish error message format
      
      * fix vtable error
      
      * fix cmake error
      
      * fix winsock redefined error
      
      * fix windows compile error
      
      * fix windows conpile failed
      
      * fix merge error
      
      * fix vec compile error
      
      * add port.h into test_cpu_vec
      
      * fix merge error
      
      * try to fix winsock error
      62c78e26
    • S
      [Phi] move shuffle_batch to phi (#56547) · 30708028
      Sonder 提交于
      * move shuffle_batch to phi
      
      * remove useless codes
      
      * add test_shuffle_batch_op to STATIC_BUILD_TESTS
      
      * move shuffle_batch_kernel.cc to cpu folder
      
      * move shuffle_batch_grad to phi
      
      * rm shuffle_batch_op.h
      
      * change year at file head
      30708028
    • X
      [NewIR]Split python api and vjp (#56518) · 7995a389
      xiaoguoguo626807 提交于
      * support ir api form prim
      
      * convert vector of int to intarray
      
      * add reference of lbfgs
      
      * add reference of lbfgs
      
      * support ir api for prim
      
      * Add more gen api
      
      * concat python api to concat_grad
      
      * fix gen conflict
      
      * support vjp prim mode in new ir
      
      * remove useless code
      
      * add vjp autogen v1.0
      
      * add test for prim
      
      * resolve type conflict
      
      * modify utils
      
      * remove useless code
      
      * add split op and modify some bug of vectorType
      
      * fix conflict
      
      * add concat python test
      
      * add split python api to vjp
      
      * modify build bug
      
      * modify run bug
      
      * fix conflict bug
      
      * build bug fix
      
      * modify python api bug
      
      * modify test
      
      * fix conflict
      
      * fluid backward recover
      
      * recover conflict
      
      * reply review comments
      
      * modify opruntimeinfo num
      
      ---------
      Co-authored-by: Ncyber-pioneer <chenzhuo@tju.edu.cn>
      Co-authored-by: NCharles-hit <wanghao107@baidu.com>
      Co-authored-by: N0x45f <wangzhen45@baidu.com>
      Co-authored-by: Nchenzhiyang <1792266893@qq.com>
      Co-authored-by: NChen Zhiyang <chenzhiyang99@126.com>
      7995a389
  4. 25 8月, 2023 12 次提交
  5. 24 8月, 2023 8 次提交
  6. 23 8月, 2023 3 次提交
    • Z
      [IR] Fix inplace op with set_parameter op bug (#56519) · 219c46b1
      zhangbo9674 提交于
      * fix inplace with set_parameter
      
      * fix bug
      
      * fix bug
      
      * fix bug
      
      * fix bug
      
      * fix bug
      
      * refine code
      
      * refine code
      219c46b1
    • W
      [IR] Ir fill constant (#56520) · e914f7fc
      wanghuancoder 提交于
      * support ir fill constant
      e914f7fc
    • L
      Integrate TRT qdq layers (#54803) · ae84c603
      Leo Chen 提交于
      * Integrate quantize/dequantize linear and add config for explicit quantization
      
      * Fix the build error
      
      * Add macro for TRT version < 8.0
      
      * Remove qdq UT from windows
      
      * Fix UT failure
      
      * Check TRT version in qdq UT
      
      * Test tensorrt_explicit_enabled API
      
      * Disable QDQ UT if TRT version < 8.5
      
      * Add quantization postfix into public APIs
      
      * Apply code formatter
      
      * Fix the UT failure for explicit quantization
      
      * Apply code formatter on modified files
      
      * Correct the year in copyright
      ae84c603