PaddleMIX icon indicating copy to clipboard operation
PaddleMIX copied to clipboard

量化GroundingDINO提示没注册ms_deformable_attn

Open yrqs opened this issue 2 years ago • 1 comments

你好,我在尝试用PaddleSlim对GroundingDINO进行量化,发现如下报错: RuntimeError: (NotFound) Operator (ms_deformable_attn) is not registered. [Hint: op_info_ptr should not be null.] (at ../paddle/fluid/framework/op_info.h:151)

请问这个可以解决吗?还是说不支持含ms_deformable_attn这种特殊算子的模型?

yrqs avatar Sep 21 '23 06:09 yrqs

参考https://github.com/PaddlePaddle/PaddleMIX/blob/develop/deploy/groundingdino/predict.py#L29

LokeZhou avatar Nov 28 '23 07:11 LokeZhou