1. 15 2月, 2022 1 次提交
    • 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. 27 1月, 2022 1 次提交
  3. 05 1月, 2022 1 次提交
  4. 30 12月, 2021 1 次提交
  5. 20 12月, 2021 1 次提交
    • S
      Support FP16 for more ops (#38123) · 1f445bf3
      sneaxiy 提交于
      * support FP16 for more ops
      
      * add amp list tests
      
      * refine reduce_mean_grad
      
      * fix OP benchmark ci
      
      * fix fp16 reduce_mean
      
      * updat ut, but still have some problems
      
      * remove mean/reduce_mean fp16 kernel
      1f445bf3
  6. 15 12月, 2021 1 次提交
  7. 13 12月, 2021 1 次提交
  8. 07 12月, 2021 1 次提交
  9. 11 11月, 2021 1 次提交
  10. 09 11月, 2021 1 次提交
  11. 26 10月, 2021 2 次提交
    • B
      fix wrong trt dim when input dim is 2 (#36614) · 43dcf235
      baoachun 提交于
      * fix wrong trt dim when input dim is 2
      
      * update leaky_relu and instance_norm converter unit test
      
      * add instance_norm input dim check
      43dcf235
    • W
      [Paddle-Inference]Add MatmulV2ToMatmul convert Pass, fix (matmul_v2, matmul,... · 93c591e2
      Wangzheee 提交于
      [Paddle-Inference]Add MatmulV2ToMatmul convert Pass, fix (matmul_v2, matmul, mul) convert pass, fix (matmul, mul) op_teller (#36652)
      
      * new_Matmul2ToMatmulToMul
      
      * new_Matmul2ToMatmulToMul
      
      * fix paddle_pass_builder
      
      * fix paddle_pass_builder
      
      * fix paddle_pass_builder
      
      * tem
      
      * tem
      
      * Add MatmulV2ToMatmul convert Pass; MatmulV2ToMul convert Pass
      
      * Add MatmulV2ToMatmul convert Pass; MatmulV2ToMul convert Pass
      
      * add matmul_broadcast_unitest
      
      * fix op_teller
      93c591e2
  12. 16 9月, 2021 1 次提交
  13. 14 9月, 2021 2 次提交
  14. 31 8月, 2021 1 次提交
  15. 27 8月, 2021 2 次提交
  16. 26 8月, 2021 1 次提交
    • S
      Add copy from tensor (#34406) · ac33c0ca
      Shang Zhizhou 提交于
      * add api
      
      * temp save
      
      * revert
      
      * copytocpu async ok
      
      * fix style
      
      * copy sync ok
      
      * fix compile error
      
      * fix compile error
      
      * api done
      
      * update python async api
      
      * fix compile
      
      * remove async python api; add c++ async unittest
      
      * remove python async api
      
      * update unittest
      
      * update unittest
      
      * add C++ unittest for copytensor
      
      * add unittest
      
      * update namespace utils to class TensorUtils
      
      * add unittest
      
      * update unittest
      
      * update unittest
      
      * update code style
      
      * update code style
      
      * update unittest
      ac33c0ca
  17. 25 6月, 2021 1 次提交
  18. 21 6月, 2021 1 次提交
  19. 17 6月, 2021 1 次提交
  20. 12 6月, 2021 1 次提交
  21. 11 6月, 2021 1 次提交
  22. 09 6月, 2021 1 次提交
  23. 08 6月, 2021 1 次提交
  24. 07 6月, 2021 1 次提交
  25. 01 6月, 2021 1 次提交
  26. 26 5月, 2021 1 次提交
  27. 19 5月, 2021 1 次提交
  28. 24 4月, 2021 1 次提交
  29. 30 3月, 2021 1 次提交
  30. 29 3月, 2021 1 次提交
  31. 11 3月, 2021 1 次提交
  32. 02 3月, 2021 1 次提交
    • S
      support trt serialize when load model from memory (#31342) · 6404c438
      Shang Zhizhou 提交于
      * support trt serialize when load model from memory
      
      * delete conv_bn_fuse_pass before tensorrt, with which trt serialize engine id is not stable
      
      * Revert "delete conv_bn_fuse_pass before tensorrt, with which trt serialize engine id is not stable"
      
      performance degradation, fix in the future
      
      This reverts commit fa6cd17e60b15df351efda379ddd00e9e9c1fea9.
      
      * add delete conv_bn
      
      * delete path when delete_cache_files
      6404c438
  33. 25 2月, 2021 2 次提交
  34. 22 2月, 2021 1 次提交
  35. 20 2月, 2021 2 次提交