1. 11 10月, 2021 1 次提交
    • W
      add mish trt plugin (#34123) · 2b7b752a
      wangxinxin08 提交于
      * add mish trt plugin, compile & install success, run error. test=develop
      * modify code according to review
      * add TRT_NOEXCEPT for mish trt plugin
      * add unittest for mish trt plugin
      * remove unnecessary check of mish in op_teller.cc
      * fix some problem of trt8
      * add check and modify unittest while converting mish to trt plugin
      Co-authored-by: Ndengkaipeng <dengkaipeng@baidu.com>
      2b7b752a
  2. 24 9月, 2021 2 次提交
  3. 22 9月, 2021 1 次提交
    • J
      fix conv2d convert test (#35627) · 1238115e
      JingZhuangzhuang 提交于
      * support nnadapter and ascend310
      
      * modify code
      
      * add anchor_generator convert test
      
      * add gelu convert test
      
      * add conv2d convert test
      
      * modify anchor_operator convert test
      
      * modify conv2d test
      
      * modify con2d convert test
      
      * modify conv2d convert test
      
      * modify conv2d convert test
      
      * modify conv2d test
      
      * fix WITH_PYTHON compile error
      
      * modify test file
      
      * modify test file
      
      * modify test file
      
      * modify test file
      
      * modify test file
      
      * modify test file
      
      * modify test file
      
      * modify test file
      Co-authored-by: Nxiaoxiaohehe001 <hiteezsf@163.com>
      Co-authored-by: Njiweibo <jiweibo@baidu.com>
      1238115e
  4. 17 9月, 2021 1 次提交
  5. 16 9月, 2021 1 次提交
  6. 15 9月, 2021 3 次提交
    • X
      [Paddle Inference]Add split op TRT converter unittest. (#35127) · e26a2504
      xiaoxiaohehe001 提交于
      * add_split_op
      
      * add_split_teller
      
      * add_split_teller
      
      * add_split_teller
      
      * add_split_teller
      
      * add_split_teller
      
      * add_split_teller
      
      * add_split_teller
      
      * add_split_teller
      
      * add_split_teller
      
      * add_split_teller
      
      * add_split_teller
      
      * add_split_teller
      
      * add_split_teller
      
      * add_split_teller
      
      * add_split_teller
      e26a2504
    • X
      [Paddle Inference]Add Transpose op TRT converter unittest (#35138) · 09f920a2
      xiaoxiaohehe001 提交于
      * add_transpose_teller
      
      * add_transpose_teller
      
      * add_transpose_teller
      
      * add_transpose_teller
      
      * add_transpose_teller
      
      * add_transpose_teller
      
      * add_transpose_teller
      
      * add_transpose_teller
      
      * add_transpose_teller
      
      * add_transpose_teller
      
      * add_transpose_teller
      
      * add_transpose_teller
      
      * add_transpose_teller
      
      * add_transpose_teller
      
      * add_transpose_teller
      09f920a2
    • add test (#35405) · 4cf1255c
      提交于
      4cf1255c
  7. 14 9月, 2021 1 次提交
  8. 10 9月, 2021 2 次提交
  9. 07 9月, 2021 1 次提交
  10. 30 8月, 2021 1 次提交
  11. 11 8月, 2021 1 次提交
  12. 29 7月, 2021 1 次提交
    • W
      Tile supported (#34388) · cffa15c5
      wenbin 提交于
      * tile op
      
      * more uts
      
      * disable tile if trt6.0
      
      * typo
      
      * fix timeout issue
      
      * opteller
      
      * opteller remove duplicate code
      
      * comments.	test=document_fix
      
      * modify PADDLE_ENFORCE.
      
      * fix reduce_mean issue
      cffa15c5
  13. 21 7月, 2021 1 次提交
    • W
      trt reduce_mean supported. (#34204) · aff14962
      wenbin 提交于
      * reduce_mean supported. test=allcase
      
      * ut. test=allcase
      
      * test=develop
      
      * ut.test=allcase
      
      * correct name. test=allcase
      
      * correct UT. test=allcase
      
      * correct UT.test=develop
      
      * remove op
      
      * UT
      
      * add convert
      
      * fix timeout issue
      
      * more uts
      
      * more ut
      
      * correct ut
      aff14962
  14. 12 7月, 2021 1 次提交
    • Z
      [Paddle-TRT] IPluginExt -> IPluginV2 (#33680) · 394f92aa
      zlsh80826 提交于
      * add trt LT version helper
      
      * upgrade PluginTensorRT to IPluginV2Ext
      
      * trt plugin factory is not usable in IPluginV2
      
      * upgrade add plugin api to use IPluginV2
      
      * remove IPlugin register and adapt getSerializeSize(), serialize()
      
      * adapt IPluginV2Layer
      
      * downgrade to IPluginV2
      
      * implement elementwise clone
      
      * add gelu plugin creator and fix gelu serialization bug
      
      * add swish plugin creator and fix swish serialization bug
      
      * format
      
      * fix typo
      
      * add elementwise plugin creator and fix serialization
      
      * add base creator class
      
      * add gelu plugin creator
      
      * add hard swish creator and fix serialization
      
      * add instance norm creator and fix serialization
      
      * add layer norm creator and fix serialization
      
      * add pool creator and fix serialization
      
      * add prelu creator and fix serialization
      
      * add slice creator and fix serialization
      
      * add swish creator and fix serialization
      
      * add instance norm op unittest
      
      * remove redundent api
      
      * fix wrong graph size to enable trt
      
      * instance norm function move to cc
      
      * add trt elementwise ut to trigger coverage
      
      * remove opt cahce to hit serialization coverage
      
      * remove opt cahce to hit serialization coverage
      
      * remove unused code
      
      * remove unused inputs_
      
      * add dbg info
      
      * remove dbg info
      
      * add instance norm serialization
      
      * roll back
      
      * remove comment code
      
      * remove trt plugin registery
      
      * fix prelu dynamic serialization
      
      * add prelu ut and reduce the input size to reduce memory usage
      
      * fix pool dynamic plugin serialization and add ut
      
      * refine pool ut with subtest
      
      * add env for avoiding oom
      
      * reduce test input size & increase pool op ut to 45s
      
      * add the contributor
      
      * remove copyright (will add in contributor)
      
      * remove copyright (will add in contributor)
      394f92aa
  15. 28 6月, 2021 1 次提交
  16. 24 6月, 2021 1 次提交
    • Z
      [Paddle-TRT] Remove TensorRT deprecated API (#33654) · b6e9498e
      zlsh80826 提交于
      * add trt LT version helper
      
      * remove deprecated nvinfer1::DimsCHW and replace it to nvinfer1::Dims3
      
      * remove deprecated nvinfer1::DimsNCHW and replace it to nvinfer1::Dims4
      
      * update deserialize engine
      
      * update to createNetworkV2
      
      * update to createNetworkV2
      
      * update buildWithConfig and remove redundent config settings
      
      * replace createNetwork to createNetworkV2
      
      * fix int8
      
      * addMatrixMultiply
      
      * remove unnecessary const cast
      
      * IBuilder->setInt8Calibrator() is deprecated
      
      * auto enable fp16 when using int8
      
      * remove the redundant line
      b6e9498e
  17. 17 6月, 2021 2 次提交
  18. 12 6月, 2021 1 次提交
  19. 08 6月, 2021 1 次提交
    • S
      add dynamic layer_norm plugin (#33293) · 45d1ae21
      Shang Zhizhou 提交于
      * add dynamic layer_norm plugin
      
      * fix bug
      
      * fix numpy.allclose
      
      * fix format
      
      * fix code style
      
      * remove shepe in dynamic shape
      
      * code format
      
      * remove layer norm fp16
      
      * fix format
      45d1ae21
  20. 05 6月, 2021 1 次提交
  21. 02 6月, 2021 1 次提交
  22. 01 6月, 2021 1 次提交
  23. 25 5月, 2021 1 次提交
  24. 08 5月, 2021 1 次提交
    • W
      [Paddle-TRT]fix trt-converter-fc_op (#32671) · 62d848de
      Wangzheee 提交于
      * [Paddle-TRT]fix fc_op
      
      * [Paddle-TRT]fix fc_op
      
      * [Paddle-TRT]fix fc_op
      
      * test_trt_subgraph_pass.py
      
      * fix elementwise_op
      
      * fix elementwise_op
      
      * fix elementwise_op
      
      * fix elementwise_op.cc
      
      * op_teller.cc
      62d848de
  25. 27 4月, 2021 2 次提交
  26. 26 4月, 2021 1 次提交
  27. 25 4月, 2021 2 次提交
  28. 23 4月, 2021 1 次提交
    • W
      move semantic checks to op_teller (#32279) · 7c38114f
      wenbin 提交于
      * move semantic checks to op_teller
      
      * more ops
      
      * more ops
      
      * revert block related change
      
      * part1
      
      * revert activation
      
      * remove if
      
      * remove const_cast
      
      * reslove conflict
      
      * remove const_cast
      
      * delete useless var
      
      * replace vlog(1) with vlog(3), replace assert with PADDLE_ENFORCE
      
      * down to 19 files
      7c38114f
  29. 16 4月, 2021 1 次提交
  30. 02 4月, 2021 1 次提交
  31. 01 4月, 2021 1 次提交
    • Z
      [Paddle-TRT] add anchor generator op plugin (#31730) · b807e408
      zlsh80826 提交于
      * add anchor generator op plugin
      
      * add anchor generator unit_test
      
      * remove dbg info
      
      * remove redundant line
      
      * replace assertion with paddle enforce
      
      * dynamic plugin replaces assertion with paddle enforce
      
      * anchor generator support dynamic shape on spatial axis
      
      * anchor generator test with fp16, dynamic shape
      
      * add anchor generator test all
      
      * add back main
      
      * reduce test input size to not exceed the timelimit of ci
      
      * change super to InferencePassTest for python2 compatibility
      
      * reuse paddle operator anchor generator
      
      * move creator construct to header with default
      
      * add cuda ifdef
      
      * reduce line
      
      * change super to InferencePassTest for python2 compatibility
      
      * fix anchor generator fp16 serialize setting
      
      * split unittest from test_all
      
      * restrict anchor generator input format before version 7234
      
      * anchor generator only support greater than trt7.1
      
      * change min_graph_size to 2
      
      * min_graph size to 3 if dynamic shape
      
      * reduce dynamic shape size to avoid trt search tactic too long to exceed time limit
      
      * remove anchor from fetch list
      
      * anchor generator support all trt version
      
      * fix memory not allocated but if serialized
      b807e408
  32. 30 3月, 2021 2 次提交