1. 19 2月, 2022 1 次提交
    • A
      [Pten]Unify paddle/pten::framework::ddim into pten::ddim (#39614) · 2fe04264
      Aurelius84 提交于
      * Unify paddle/pten::framework::ddim into pten::ddim
      
      * fix paddle namespace
      
      * compile sucessfully
      
      * fix npu src file
      
      * fix conflict
      
      * fix conflict
      
      * fix tensorrt compiler error
      
      * fix conflict
      
      * fix conflict
      
      * fix tesst file conflict
      
      * fix conflict
      
      * fix mlu file conflict
      
      * fix mlu file conflict
      
      * fix cinn header file conflict
      
      * fix conflict
      
      * fix conflict
      
      * fix conflict
      
      * fix conflict
      2fe04264
  2. 18 2月, 2022 2 次提交
  3. 17 2月, 2022 3 次提交
    • S
      [bugfix] to concat input squash (#39593) · f29da150
      Sylwester Fraczek 提交于
      * fix and add more tests
      
      * remove unwanted changes
      
      * check only concat and elementwise
      
      * move check to a function
      
      * add todo comment
      
      * Revert "fix ptq fc attr name fuse_activation->activation_type"
      
      This reverts commit ffd023353a5e9b0fd15e81b9e9f9fe1794035017.
      f29da150
    • W
      adaptive pool2d pass fix (#39600) · c1c5c1fc
      wenbin 提交于
      * first commit
      
      * teller fix
      
      * bug fix
      
      * enable for pool2d only
      
      * fix global_pooling issue
      
      * pooling_type
      
      * fix test
      c1c5c1fc
    • B
      update inference ut to support nhwc format (#39551) · b4d3597a
      baoachun 提交于
      * update inference ut to support nhwc format
      
      * update ut and pass OpCompat
      
      * update ut
      
      * update ut
      b4d3597a
  4. 16 2月, 2022 1 次提交
    • Y
      [Pten]Remove reshape and elementwise_add's registry code in Fluid (#39317) · c6478270
      YuanRisheng 提交于
      * remove reshape and elementwise_add registry
      
      * delete code
      
      * fix bugs when run ci ut
      
      * remove log
      
      * fix bugs when run unit test
      
      * fix bugs when run unit test
      
      * fix bugs when run cinn
      
      * fix bugs when run ci-mac-python3
      
      * fix compile bugs
      
      * fix compile bugs
      
      * fix compile bugs
      
      * fix bugs when run kunlun
      
      * fix bugs when compile
      
      * update code according comment
      c6478270
  5. 15 2月, 2022 2 次提交
    • W
      [Paddle-Inference] support preln_ernie: add... · 2bc91cc5
      Wangzheee 提交于
      [Paddle-Inference] support preln_ernie: add preln_embedding_eltwise_layernorm_fuse_pass, preln_skip_layernorm_fuse_pass (#39508)
      
      * support preln_ernie
      
      * support preln_ernie
      2bc91cc5
    • A
      [PTen]Migrate proto::VarType outside of Pten (#39411) · 7e7e9404
      Aurelius84 提交于
      * #1 migrate dist-related type()-> dtype()
      
      * move datatype function from pten -> fluid/framework
      
      * change type() in imperative into convert(dtype())
      
      * modify xx_tensor->type into xx_tensor->dtype
      
      * change the set_type interface and the caller
      
      * modify xx_tensor.type into xx_tensor.dtype
      
      * fix mutable_data(place, dtype())
      
      * change caller of mutable_data in pten and distributed
      
      * change the caller of mutable_data in fluid/framework
      
      * change the caller of mutable_data in imperative directory
      
      * mutable_data: inference
      
      * update the call of mutable_data
      
      * transfer MakePenScalarArray MakePtenScalar ResetHolderWithType
      
      * pass the compile. the next step is remove VarType in Pten
      
      * fix all and remove VarType from pten. success in linux. Next task is other platform
      
      * fix conflict with develop
      
      * fix compiled error
      
      * Fix reset conversion
      
      * fix conflict
      
      * fix compiled problem
      
      * fix typo
      
      * Fix << in tensor_utils.cc
      
      * fix type->dtype
      
      * fix unittest
      
      * fix tensor init constructor
      
      * fix DataTypeSize for BFloat16
      
      * fix code style
      
      * fix npu compiled error
      
      * fix npu
      
      * compile npu sucessfully
      
      * fix conflict
      
      * fix conflict
      Co-authored-by: Nxiongkun <xiongkun03@baidu.com>
      7e7e9404
  6. 14 2月, 2022 1 次提交
    • S
      [Bug fix] prevent squashing pair u8 dequantize -> s8 quantize (#39346) · 66b5348e
      Sylwester Fraczek 提交于
      * prevent squashing pair u8 dequantize -> s8 quantize
      
      * add relu op to check for uint8
      
      * fix ptq fc attr name fuse_activation->activation_type
      
      * fix
      
      * add unit test
      
      * remove unused variable
      
      * test fix unsuccessful
      
      * fix test and logic
      
      * multiline comment
      
      * remove cout
      
      * Revert "fix ptq fc attr name fuse_activation->activation_type"
      
      This reverts commit ffd023353a5e9b0fd15e81b9e9f9fe1794035017.
      
      * fix ptq fc attr name fuse_activation->activation_type
      66b5348e
  7. 11 2月, 2022 2 次提交
  8. 10 2月, 2022 1 次提交
  9. 09 2月, 2022 1 次提交
  10. 08 2月, 2022 3 次提交
  11. 02 2月, 2022 1 次提交
  12. 28 1月, 2022 1 次提交
  13. 27 1月, 2022 1 次提交
  14. 26 1月, 2022 1 次提交
  15. 24 1月, 2022 1 次提交
  16. 18 1月, 2022 2 次提交
    • S
      Mish FP32/BF16 kernel, conv and fc fuse passes (#38623) · 1d18bc2c
      Sławomir Siwek 提交于
      * Mish
      
      * Change exp() library
      
      * mish fuse pass
      
      * mish attrs
      
      * fixes
      
      * mishop maker
      
      * remove attrs
      
      * mish kernal for bf16
      
      * fc+mish fuse
      
      * fix code format error
      
      * Resolve merge conflicts
      
      * Update mish operator version
      
      * update mish variable to new naming convention
      1d18bc2c
    • Z
      [Unify Tensors PR #8] Merged Tensor into DenseTensor, test=allcases (#38914) · 2052f1e3
      Zhanlue Yang 提交于
      * Merged LoDTensor with Tensor,test=allcases
      
      * Patched python level LoDTensor
      
      * Patched python level LoDTensor
      
      * Merge Tensor into DenseTensor
      
      * Fixed namespace issues,test=allcases
      
      * Fixed merge issues
      
      * Fixed inference issues
      
      * Fixed NPU test issues
      
      * Fixed merge issues
      2052f1e3
  17. 17 1月, 2022 4 次提交
  18. 15 1月, 2022 1 次提交
  19. 12 1月, 2022 2 次提交
  20. 05 1月, 2022 2 次提交
  21. 31 12月, 2021 1 次提交
  22. 30 12月, 2021 2 次提交
  23. 28 12月, 2021 1 次提交
    • B
      add mul_lstm_fuse_pass ut (#37795) · 1db61c3e
      baoachun 提交于
      * add mul_lstm_fuse_pass ut
      
      * update mul_lstm_fuse_pass ut
      
      * update ut
      
      * update ut
      
      * update ut
      
      * add CPU ut cmake setting
      
      * update ut
      1db61c3e
  24. 27 12月, 2021 1 次提交
  25. 24 12月, 2021 1 次提交
  26. 23 12月, 2021 1 次提交
    • B
      add mkldnn conv_elementwise_add_mkldnn_fuse_pass ut (#37612) · f88065d3
      baoachun 提交于
      * add mkldnn conv_elementwise_add_mkldnn_fuse_pass ut
      
      * update mkldnn conv_elementwise_add_mkldnn_fuse_pass ut
      
      * update conv_elementwise_add_mkldnn_fuse_pass ut
      
      * update conv_elementwise_add_mkldnn_fuse_pass ut
      
      * update conv_elementwise_add_mkldnn_fuse_pass ut
      
      * restrict conv2d data_format in conv_elementwise_add_mkldnn_fuse_pass
      
      * update conv_elementwise_add_mkldnn_fuse_pass OpCompat
      
      * update conv_elementwise_add_mkldnn_fuse_pass ut
      
      * update ut
      f88065d3