1. 20 7月, 2021 1 次提交
    • Z
      [Paddle-TRT] Add noexcept on methods inherited from TensorRT (#34157) · b5aab4f0
      zlsh80826 提交于
      * add trt noexcept definition
      
      * add trt noexcept on trt plugin
      
      * add trt noexcept on trt int8 calibrator
      
      * remove noexcept on base serialize
      
      * add trt noexcept on split plugin
      
      * add trt noexcept on elementwise plugin
      
      * add trt noexcept on prelu plugin
      
      * add trt noexcept on pool plugin
      
      * add trt noexcept on swish plugin
      
      * add trt noexcept on gelu plugin
      
      * add trt noexcept on layer norm plugin
      
      * add trt noexcept on instance norm plugin
      
      * add trt noexcept on emb eltwise layernorm plugin
      
      * add trt noexcept on qkv2context plugin
      
      * add trt noexcept on skip layernorm plugin
      
      * add trt noexcept on slice plugin
      
      * add trt noexcept on hard swish plugin
      
      * add trt noexcept on stack plugin
      
      * add trt noexcept on special slice plugin
      
      * add trt noexcept on anchor generator plugin
      
      * add trt noexcept on yolobox plugin
      
      * add trt noexcept on roi align plugin
      
      * add trt noexcept on gather nd plugin
      b5aab4f0
  2. 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
  3. 09 7月, 2021 1 次提交
  4. 08 7月, 2021 1 次提交
  5. 07 7月, 2021 1 次提交
  6. 05 7月, 2021 1 次提交
  7. 28 6月, 2021 2 次提交
  8. 25 6月, 2021 1 次提交
  9. 24 6月, 2021 2 次提交
    • Z
      [Paddle-TRT] TensorRT8 void** compatibility (#33662) · ae79a56b
      zlsh80826 提交于
      * add trt LT version helper
      
      * trt8 requires void** to be void* const*
      ae79a56b
    • 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
  10. 21 6月, 2021 1 次提交
  11. 17 6月, 2021 2 次提交
  12. 15 6月, 2021 1 次提交
  13. 12 6月, 2021 1 次提交
  14. 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
  15. 05 6月, 2021 1 次提交
  16. 02 6月, 2021 1 次提交
  17. 01 6月, 2021 1 次提交
  18. 28 5月, 2021 1 次提交
    • W
      强化非trt conv判断 (#33150) · e90f3006
      wenbin 提交于
      * add more conditions
      
      * dynamic shape
      
      * ut
      
      * correct contidions
      
      * commnent
      
      * remove rebandadnt op type
      
      * remove rebandant if
      e90f3006
  19. 25 5月, 2021 1 次提交
  20. 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
  21. 29 4月, 2021 1 次提交
  22. 27 4月, 2021 2 次提交
  23. 26 4月, 2021 1 次提交
  24. 25 4月, 2021 4 次提交
  25. 23 4月, 2021 2 次提交
    • C
      ernie int8 support trt6 (#32424) · a01b5109
      ceci3 提交于
      a01b5109
    • 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
  26. 16 4月, 2021 1 次提交
  27. 13 4月, 2021 1 次提交
  28. 06 4月, 2021 1 次提交
  29. 02 4月, 2021 2 次提交
  30. 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
  31. 30 3月, 2021 1 次提交