Skip to content

X2Paddle v1.3.7

Compare
Choose a tag to compare
@wjj19950828 wjj19950828 released this 17 Jun 10:02
· 212 commits to develop since this release

新增功能

  • 全面支持 HuggingFace 模型,包括Bert、Albert等热点模型以及对应不同任务类型,共55种 TorchScript 以及40种 ONNX 模型
  • 针对 Bert结构 ONNX模型,新增 Gelu pass,预测速度提升20%以上 #809
  • 针对 Bert结构 ONNX模型,新增 div2scale pass,使其命中PaddleInference multihead_matmul_fuse_pass,性能提升30%以上 #813

新增模型支持

PyTorch->Paddle

ONNX->Paddle

新增op

  • 新增PyTorch op(7个):aten::rsqrtaten::replication_pad1daten::fullaten::group_normaten::argmaxaten::copyaten::linear #783 #781 #786 #791 #789 #769
  • 新增ONNX op(2个):CumSum LessOrEqual #793 #794

修复op

  • 修复PyTorch op(2个):aten::masked_fillaten::index #786 #787
  • 修复ONNX op(12个):ConvTranspose Unsqueeze MatMul Gather Slice Squeeze FlattenConstant ConstantOfShape Where TopkNonZero #792 #794 #796 #797 #805 #808

修复功能

  • 修复LN fuser pass #777
  • 修复Linear fuser pass #800

其他

  • 在转换完成之后添加问卷链接 #801
  • 清除paddle.fluid接口 #806