1. 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
  2. 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
  3. 11 2月, 2022 2 次提交
  4. 10 2月, 2022 1 次提交
  5. 09 2月, 2022 1 次提交
  6. 08 2月, 2022 3 次提交
  7. 02 2月, 2022 1 次提交
  8. 28 1月, 2022 1 次提交
  9. 27 1月, 2022 1 次提交
  10. 26 1月, 2022 1 次提交
  11. 24 1月, 2022 1 次提交
  12. 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
  13. 17 1月, 2022 4 次提交
  14. 15 1月, 2022 1 次提交
  15. 12 1月, 2022 2 次提交
  16. 05 1月, 2022 2 次提交
  17. 31 12月, 2021 1 次提交
  18. 30 12月, 2021 2 次提交
  19. 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
  20. 27 12月, 2021 1 次提交
  21. 24 12月, 2021 1 次提交
  22. 23 12月, 2021 2 次提交
    • 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
    • H
      Add unittest for flatten2_matmul squeeze2_matmul reshape2_matmul pass (#37644) · aa059885
      heliqi 提交于
      * add flatten2_matmul squeeze2_matmul reshape2_matmul test case
      
      * modify skip func to ignore_pass_case func
      
      * rebuild CI
      
      * add test_xx_matmul_fuse_pass timeout
      
      * add test_map_xx_pass timeout
      
      * add max_duration of test cast
      
      * add trt skip
      
      * add timeout
      
      * del commented code
      aa059885
  23. 22 12月, 2021 3 次提交
  24. 21 12月, 2021 3 次提交