1. 01 3月, 2023 2 次提交
    • TaoTao Li's avatar
      a348a423
    • Y
      Add full_like composite rule (#50794) · 7468bab4
      Yichen Zhang 提交于
      * implement composite full_like and simple unit test
      
      * implement op tests for composite full_like op
      
      * some modification as reviewers suggested
      add cinn op test to CMakeLists.txt
      fix code style
      
      * fix code style
      
      * modify input args of prim fill_any_like op
      
      * resolve conflicts
      
      * resolve conflicts
      
      * modify python api and unit tests as suggested
      
      * resolve conflicts
      
      * resolve conflicts
      
      * use framework.dtype to convert dtype in Op test
      7468bab4
  2. 28 2月, 2023 3 次提交
    • I
      Fix some typos (#50914) · 5d8fe822
      iLeGend 提交于
      5d8fe822
    • Z
      add silu composite rule (#50838) · 5d70ba6d
      zxcd 提交于
      * add silu composite rule
      
      * fix code style.
      
      * add silu fp16 unit test.
      5d70ba6d
    • X
      Add flatten composite rule (#50672) · 8220771b
      xysheng-baidu 提交于
      * Add flatten composite rule
      
      * get the right xshape and pass func test
      
      * add cinn unit test
      
      * Remove cinn test, wait for it to be added after repair
      
      * add comp test to test_flatten_contiguous_range_op.py
      
      * remove func test on composite_ops
      
      * Add comments to maybe_wrap_dim func
      
      * remove commented code
      
      * fix the problem with 0D tensor case
      
      * add flatten split rule comment
      
      * fix syntax issues
      
      * block flatten on resnet_prim_cinn
      
      * remove maybe_wrap_dim func
      
      * Use none instead od xshape
      8220771b
  3. 27 2月, 2023 2 次提交
  4. 24 2月, 2023 4 次提交
  5. 22 2月, 2023 4 次提交
  6. 21 2月, 2023 3 次提交
    • C
      [Prim] Add op map (#50673) · 3c7e94d6
      cyber-pioneer 提交于
      * fix flatten op map
      
      * remove prim op all list
      
      * add op map info of full_like
      
      * polish code
      3c7e94d6
    • W
      [RM FLUID] rm ps ir (#50691) · 1882a74f
      wangzhen38 提交于
      1882a74f
    • X
      【prim】Layer norm (#50422) · 2f4763ee
      xiaoguoguo626807 提交于
      * fix composite mean op map
      
      * fix composite check output
      
      * init layer_norm
      
      * init layer_norm
      
      * map output from composite rule to origin op
      
      * add dropout op map
      
      * add input map check
      
      * polish log
      
      * modify rules
      
      * success test_forward
      
      * modify test without cinn
      
      * modify cinn test
      
      * modify cinn test
      
      * except fp64
      
      * except fp64
      
      * delete flatten
      
      * delete unused change
      
      * review
      
      * pass cpu test
      
      * code style
      
      * delete flatten fp16 error
      
      * modify flatten test
      
      ---------
      Co-authored-by: Ncyber-pioneer <chenzhuo@tju.edu.cn>
      2f4763ee
  7. 20 2月, 2023 3 次提交
  8. 17 2月, 2023 1 次提交
  9. 16 2月, 2023 2 次提交
    • S
      [XPU][Fleet] Support multi-card infer for xpu (#50490) · 517d8074
      shentanyue 提交于
      * support xpu multi-card infer
      
      * add ut
      
      * clean code
      
      * clean code
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      517d8074
    • Z
      Add mean composite rule (#50298) · f7f67b72
      zqw_1997 提交于
      * beta
      
      * small commit
      
      * add batch_norm composite rule
      
      move composite test case
      
      remove unuseful var
      
      add composite op blacklist
      
      * small change v2
      
      * finish the test_composite_mean and test_composite_mean_grad
      
      * add ops assertion to the tests
      
      * add cinn test
      
      * fix the error and inappropriate usage in func: mean_composite
      
      * remove the ref of outer lib in primtives.py
      
      * modify sample code of reduce_sum
      
      * fix composite mean op map
      
      * modify testcases to test more float type
      
      * remove cpu float16 test
      
      * cinn test fix
      
      * remove reduce_max
      
      * change the name sum to sum_x
      
      * change the use of reduce_sum to sum
      
      ---------
      Co-authored-by: Ncyber-pioneer <chenzhuo@tju.edu.cn>
      f7f67b72
  10. 15 2月, 2023 4 次提交
  11. 14 2月, 2023 2 次提交
    • M
      b85af464
    • G
      Add gelu composite rule (#50295) · c364f41d
      GGBond8488 提交于
      * add gelu composite rule
      
      * use full replace fill_constant
      
      * change the form of calculation
      
      * remove float16 test for composite gelu
      
      * reformate code
      
      * remove float16 test case
      
      * add forwad with prim and backward without prim test
      
      * add float16 test for composite gelu and add high dims test
      
      * add float16 test case and high dims test
      
      * shield float16 and cpu test case
      
      * increase train step to 10 in test cinn prim gelu
      
      * replace pow to multiply
      c364f41d
  12. 09 2月, 2023 2 次提交
  13. 08 2月, 2023 1 次提交
  14. 07 2月, 2023 1 次提交
  15. 01 2月, 2023 2 次提交
    • Z
      remove fluid.initializer.UniformInitializer, ConstantInitializer,... · 6edc7bba
      zqw_1997 提交于
      remove fluid.initializer.UniformInitializer, ConstantInitializer, NormalInitializer, TruncatedNormalInitializer, XavierInitializer, BilinearInitializer, MSRAInitializer, NumpyArrayInitializer and calculate_gain.. (#49498)
      
      * move UniformInitializer and ConstantInitializer
      
      * more modify
      
      * circular import resolved
      
      * another circular import resolved?
      
      * more circular import 2
      
      * circular import 3
      
      * change import paddle in metric.py
      
      * BuildStrategy import from fluid
      
      * modify the framework import path in common.py
      
      * change rnn.py import, from static to original framework
      
      * change import static in the nn folder
      
      * default_main_program should import from common_ops_import
      
      * add import paddle in param_attr.py
      
      * use core not paddle module for using VarDesc
      
      * another old uniform
      
      * mistake that use Uniform instead of UniformInitializer
      
      * modify UniformInitializer doc
      
      * move fluid.NormalInitializer to nn.initializer.NormalInitializer
      
      * remove import of Normal in fluid.layers.nn.py
      
      * remove more import of old Normal
      
      * remove more import of old Normal
      
      * sample code modify and tests modify import
      
      * is_listen_failed passing arg should be log file
      
      * problem solved
      
      * a mistake solved
      
      * comments resoleved and remove paddle.fluid.initializer.TruncatedNormalInitializer
      
      * remove paddle.fluid.initializer.XavierInitializer and paddle.fluid.initializer.MSRAInitializer
      
      * remove paddle.fluid.initializer.BilinearInitializer NumpyArrayInitializer and set_global_initializer
      
      * change fluid to static
      
      * change static to fluid to avoid circular import in distributed_strategy.py
      
      * fix example code and test_initializer
      
      * ValueType
      
      * sample code fix
      
      * change set_global_initializer back to fluid
      
      * put paddle.static.BuildStrategy.ReduceStrategy into the fuction to avoid circular import
      
      * remove calculate_gain, delete BilinearInitializer and revert set_global_initializer
      
      * change the time of using UniformInitializer, ConstantInitializer, NormalInitializer, TruncatedNormalInitializer, XavierInitializer, MSRAInitializer, NumpyArrayInitializer as few as possible
      
      * fix argument incampatible
      
      * fix more arg incompatible
      
      * fix test_prelu_op_xpu.py Constant
      
      * fix inaccurate doc
      
      * more doc fix: default value
      6edc7bba
    • R
      Fix Python IndexError of case2-3 (#49986) · fd5b8eea
      RedContritio 提交于
      * add shape check for fused_multi_head_attention
      
      * use raise for coverage test
      
      * add unittest
      
      * remove unnecessary pass
      
      * add unittest
      fd5b8eea
  16. 31 1月, 2023 1 次提交
  17. 30 1月, 2023 1 次提交
    • Z
      [Pglbox2.0] merge gpugraph to develop (#49946) · cb525d4e
      zmxdream 提交于
      * add set slot_num for psgpuwraper (#177)
      
      * add set slot_num_for_pull_feature for psgpuwarper
      
      * Add get_epoch_finish python interface (#182)
      
      * add get_epoch_finish interface
      
      * add return
      
      * delete return
      
      * add unzip op (#183)
      
      * fix miss key for error dataset (#186)
      
      * fix miss key for error dataset
      
      * fix miss key for error dataset
      Co-authored-by: Nyangjunchao <yangjunchao@baidu.com>
      
      * add excluded_train_pair and infer_node_type (#187)
      
      * support return of degree (#188)
      
      * fix task stuck in barrier (#189)
      Co-authored-by: Nyangjunchao <yangjunchao@baidu.com>
      
      * check node/feature format when loading (#190)
      
      * check node&feature format when loading
      
      * check node&feature format when loading (2£ (2)
      
      * degrade log (#191)
      
      * [PGLBOX]fix conflict
      
      * [PGLBOX]fix conflict
      
      * [PGLBOX]replace LodTensor with phi::DenseTensor
      
      * [PGLBOX]fix gpu_primitives.h include path
      
      * [PGLBOX]from platform::PADDLE_CUDA_NUM_THREADS to phi::PADDLE_CUDA_NUM_THREADS
      
      * [PGLBOX]fix unzip example code
      
      * [PGLBOX]fix unzip example code
      
      * [PGLBOX]fix unzip example code
      
      * [PGLBOX]fix unzip example code
      
      * [PGLBOX]fix unzip ut
      
      * [PGLBOX]fix unzip ut
      
      * [PGLBOX]fix code style
      
      * [PGLBOX]fix code style
      
      * [PGLBOX]fix code style
      
      * fix code style
      
      * fix code style
      
      * fix unzip ut
      
      * fix unzip ut
      
      * fix unzip ut
      
      * fix unzip
      
      * fix code stype
      
      * add ut
      
      * add c++ ut & fix train_mode_ set
      
      * fix load into memory
      
      * fix c++ ut
      
      * fix c++ ut
      
      * fix c++ ut
      
      * fix c++ ut
      
      * fix code style
      
      * fix collective
      
      * fix unzip_op.cc
      
      * fix barrier
      
      * fix code style
      
      * fix barrier
      
      * fix barrier
      
      * fix code styple
      
      * fix unzip
      
      * add unzip.py
      
      * add unzip.py
      
      * fix unzip.py
      
      ---------
      Co-authored-by: Nchao9527 <33347532+chao9527@users.noreply.github.com>
      Co-authored-by: NSiming Dai <908660116@qq.com>
      Co-authored-by: Nhuwei02 <53012141+huwei02@users.noreply.github.com>
      Co-authored-by: Nyangjunchao <yangjunchao@baidu.com>
      cb525d4e
  18. 20 1月, 2023 1 次提交
  19. 17 1月, 2023 1 次提交