1. 31 8月, 2023 9 次提交
  2. 30 8月, 2023 5 次提交
    • K
      [NewIR] fix logical op infermeta (#56711) · 987cb97e
      kangguangli 提交于
      * fix logical op infermeta
      
      * add test
      
      * adpat inplace api
      987cb97e
    • H
      Add paddle custom flags support (#56256) · 2ef4ec71
      huangjiyi 提交于
      * update
      
      * repalce gflags header
      
      * replace DEFINE_<type> with PD_DEFINE_<type>
      
      * fix bug
      
      * fix bug
      
      * fix bug
      
      * update cmake
      
      * add :: before some paddle namespace
      
      * fix link error
      
      * fix CI-Py3
      
      * allow commandline parse
      
      * fix SetFlagsFromEnv
      
      * fix bug
      
      * fix bug
      
      * fix CI-CINN
      
      * fix CI-Coverage-build
      
      * fix CI-Windows-build
      
      * fix CI-Inference
      
      * fix bug
      
      * fix bug
      
      * fix CI-CINN
      
      * fix inference api test
      
      * fix infer_ut test
      
      * revert infer_ut gflags usage
      
      * update
      
      * fix inference
      
      * remove flags export macro
      
      * revert inference demo_ci gflags usage
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * fix bug when turn on WITH_GFLAGS
      
      * turn on WITH_GFLAGS
      
      * fix bug when turn on WITH_GFLAGS
      
      * fix bug when turn on WITH_GFLAGS
      
      * update
      
      * update and add unittest
      
      * add unittest
      
      * fix conflict
      
      * rerun ci
      
      * update
      
      * resolve conflict
      2ef4ec71
    • N
    • C
      [Prim][NewIR] Support prim all in new IR (#56614) · e457c298
      cyber-pioneer 提交于
      * support prim all in new ir
      
      * process makefile
      
      * fix rule bug
      
      * polish case
      
      * fix flag
      
      * fix rules bug
      e457c298
    • 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
  3. 29 8月, 2023 4 次提交
  4. 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
  5. 25 8月, 2023 10 次提交