PaddlePaddle / PaddleSlim

PaddleSlim is an open-source library for deep model compression and architecture search.
https://paddleslim.readthedocs.io/zh_CN/latest/
Apache License 2.0
1.56k stars 344 forks source link

flatten_contiguous_range op is unsupported in PTQ #938

Closed yingshengBD closed 2 years ago

yingshengBD commented 2 years ago
图片

mbv1离线量化报错如上图 模型:paddle新版mbv1模型,新增了算子flatten_contiguous_range

图片

版本:paddle和slim版本均为11月29日最新develop

yingshengBD commented 2 years ago

delete the Xshape in flatten_contiguous_range ,will make it work