1. 04 4月, 2023 5 次提交
    • N
      [Dy2St] support train step in to_static (#51693) · 7728efb4
      Nyakku Shigure 提交于
      Co-authored-by: Nxiongkun <xiongkun03@baidu.com>
      7728efb4
    • R
      Improve new executor static build (#51149) · 5bac67d4
      Ruibiao Chen 提交于
      * Improve new executor static build
      
      * Skip GC for static build
      
      * Skip infershape for static build
      
      * Handle read_op
      
      * Add fused_attention to OpsWithFluidKernelNeedMoveToPhi
      
      * Fix argsort typos
      
      * Add sequence_pool to OpsWithFluidKernelNeedMoveToPhi
      
      * Fix skip share lod errors
      
      * Fix errors for adam
      
      * Fix errors for eigvals, memcpy and fake_quantize
      
      * Add static_build.cc
      
      * Add black list
      
      * Fix CI errors
      
      * Fix CI errors
      
      * Fix CI errors
      
      * Fix TensorArray
      
      * Fix TensorArray
      
      * Add update_loss_scaling to OpsNeedSetOutputDtypeWhenRegisterPhiKernel
      
      * Fix copy
      
      * Fix errors
      
      * Fix momentum
      
      * Skip mkldnn
      
      * Fix CI errors
      
      * Fix c_sync_calc_stream_op
      
      * Fix CINN
      
      * Fix while op
      
      * All CI pass, disable FLAGS to merge code, enable it after more tests in future
      
      * Add UTs
      
      * Fix typos
      
      * Fix typos
      
      * Add mkldnn UT
      
      * Remove mkldnn test
      
      * Fix typos
      
      * Fix dist test
      
      * Fix typos
      
      * Fix CI errors
      
      * Fix CI errors
      
      * Add UTs
      
      * Fix typos
      
      * Fix typos
      
      * Add sparse tests
      
      * ToComplexType -> ToComplex
      
      * Add test_matmul_op_static_build to disable_win_inference_test
      5bac67d4
    • J
      【Prim】Support fuse jit save (#52344) · fca0a4bf
      Jiabin Yang 提交于
      * fix_prim
      
      * fix bug
      
      * add note
      
      * fix logic
      
      * fix
      
      * add note
      
      * fix check
      
      * fix bug
      
      * fix bug
      
      * fix bug
      
      * add debug
      
      * fix check
      
      * fix bug
      
      * sync print log
      
      * fix test case
      
      * change default
      
      * support jit save with fuse
      
      * add more check
      
      * sync with pr 52120
      
      * add more ut
      
      ---------
      Co-authored-by: Ncyber-pioneer <chenzhuo@tju.edu.cn>
      fca0a4bf
    • W
      Remove prim skip ops (#52470) · cf361716
      WangZhen 提交于
      cf361716
    • L
      remove op.py in fluid (#52248) · 273783b3
      LoneRanger 提交于
      * remove op.py
      
      * [Zero-Dim] change Tensor.numpy() usage to other equivalent usage, avoid hack (#52197)
      
      * [BugFix] fix compute error in fused_dropout_add (#52261)
      
      * fix bg
      
      * add utest
      
      * add utest
      
      * [CodeStyle][UP034] remove (()) cases (#52060)
      
      * add up34
      
      * modify var name in loop
      
      * revert changes in test_slice
      
      * Revert "modify var name in loop"
      
      This reverts commit 6d748e371afb417054ed0c6b36fd11e87959a90d.
      
      * temporarily ignore test_slice.py
      
      * add comment
      
      * empty commit, re-trigger all ci
      
      * fix inc
      
      ---------
      Co-authored-by: NSigureMo <sigure.qaq@gmail.com>
      
      * [AMP OP&Test] add unittest for log_softmax (#52264)
      
      * Fix_Linux_[-Wterminate]warning (#52186)
      
      * [CustomOP Inplace] Automap inplace dtype and shape, prepare for vector<Tensor> output (#52214)
      
      * [CustomOP Inplace] Automap inplace dtype and shape, prepare for vector<Tensor> output
      
      * delete dtype,shape func of multi_inplace op
      
      * [CustomOP Inplace] Automap inplace dtype and shape, support vector<Tensor> output
      
      * [CustomOP Inplace] Auto-generate python API for inplace vector<Tensor> output
      
      * [AMP OP&Test] add float16 optest for reshape_op (#51678)
      
      * [AMP OP&Test] add float16 optest for reshape_op
      
      * add public_python_api
      
      * [AMP OP&Test] Add fp16/bf16 to clip op (#52158)
      
      * add fp16/bf16 to clip op
      
      * fix as reviewed
      
      * update test_clip_op.py
      
      * update test_clip_op.py
      
      * fix bug
      
      * fix code style
      
      * fix bug
      
      * fix bug
      
      ---------
      Co-authored-by: zhouweiwei2014's avatarZhou Wei <1183042833@qq.com>
      Co-authored-by: NShenLiang <1422485404@qq.com>
      Co-authored-by: N张春乔 <83450930+Liyulingyue@users.noreply.github.com>
      Co-authored-by: NSigureMo <sigure.qaq@gmail.com>
      Co-authored-by: NCcc <52520497+juncaipeng@users.noreply.github.com>
      Co-authored-by: NGalaxy1458 <55453380+Galaxy1458@users.noreply.github.com>
      Co-authored-by: NHongyuJia <jiahongyu@baidu.com>
      Co-authored-by: Nzhaoyingli <86812880+zhaoyinglia@users.noreply.github.com>
      Co-authored-by: Nwuyefeilin <30919197+wuyefeilin@users.noreply.github.com>
      273783b3
  2. 03 4月, 2023 3 次提交
  3. 01 4月, 2023 1 次提交
  4. 31 3月, 2023 7 次提交
  5. 30 3月, 2023 7 次提交
  6. 29 3月, 2023 7 次提交
  7. 28 3月, 2023 8 次提交
    • F
      Add basic functionalities to support Scalar & Scalars in op attr (#51984) · 2e9fd5e4
      Feiyu Chan 提交于
      Add basic functionalities to support Scalar & Scalars in operator attribute.
      
      1. extend allowed types in operator's attribute type, add `paddle::experimental::Scalar`, add corresponding protobuf Message types;
      2. Scalar enhancement, add formatting, equality;
      3. add code to handle Scalar & Scalars in opmaker, conversion from  paddle operator to phi kernel, opdesc construction and manipulation,  tensorrt converter, tracer, operator construction, etc;
      4. bind `paddle::experimental::Scalar` to python, as `libpaddle.Scalar`;
      5. add functionality to canonicalize attribute map according to OpProto(if the op the attribute map used for has an OpProto);
      6. add code to manipulate Scalar proto message via protobuffer python API;
      
      Add unittests.
      
      1. add test cases for formatting, equality for Scalars, and WrapAsScalars;
      2. add test cases for 'casting' between different morphs of attributes;
      3. add test cases for extracting scalar & scalars from attribute;
      4. add test cases for CanonicalizeScalarAttrs(and fix a bug in type index offset);
      5. fix gmock's library filename on windows platform.
      6. clean code: use canonicalize_attrs instead of inlining the function;
      7. add test cases for libpaddle.Scalar in python code.
      8. add test cases for `make_scalar_proto`, which manipulate proto message `Scalar` via protobuffer python API.
      2e9fd5e4
    • G
      [CodeStyle][B020] rename iterable and it's iterates when they have same name (#52128) · c05feb90
      gouzil 提交于
      * [CodeStyle][B020] rename for
      
      * [CodeStyle][B020] rename for
      c05feb90
    • G
      [Test Mv] autograd_test (#52142) · b94ef537
      gouzil 提交于
      * [Test Mv] autograd_test
      
      * [Move Test] rm py_test_modules
      b94ef537
    • A
      [Test Mv] move collective/multinode to test dir (#51982) · ceca55c5
      Ainavo 提交于
      * [Test Mv] move collective/multinode to test dir
      
      * add CMakeList.txt to test/collective
      
      * add bash_test_modules
      
      * adjust the order
      
      * recover bash_test_modules
      
      * add_subdirectory(collective)
      
      * resolve conflicts
      
      * resolve conflicts
      ceca55c5
    • K
      [Test Mv]mv dataset test (#52148) · 431e8dbd
      Kim 提交于
      * mv python/paddle/dataset/tests/ test/dataset/
      
      * use path to get file path
      
      * add dataset
      
      * remove cmake entry
      
      * add all ops
      
      * solve conflicts
      431e8dbd
    • Z
      [Move Test] move rpc (#52166) · a34abdb5
      Zheng-Bicheng 提交于
      * update
      
      * update
      a34abdb5
    • Z
      [Move Test] move contrib (#52168) · 28a76556
      Zheng-Bicheng 提交于
      * update
      
      * update
      28a76556
    • Z
  8. 26 3月, 2023 2 次提交