Paddle3D icon indicating copy to clipboard operation
Paddle3D copied to clipboard

RuntimeError: Failed to run command: <built-in function compile>, errors: Command 'cd /home/tianyu/.cache/paddle_extensions && /home/tianyu/miniconda3/envs/paddle3/bin/python3 ms_deform_attn_setup.py build' returned non-zero exit status 1. LAUNCH INFO 2023-08-24 11:00:59,752 Exit code 1

Open bzha5848 opened this issue 1 year ago • 3 comments

Hello there,

When I was running BEVFormer model, I met this error: image Does anyone know where's the problem from?

Thanks so much!!

bzha5848 avatar Aug 24 '23 03:08 bzha5848

When I check the log it gives me the info: 2023-08-24 13:13:42,775 - WARNING - No custom op ms_deform_attn found, try JIT build 2023-08-24 13:13:42,775 - WARNING - No custom op ms_deform_attn found, try JIT build 2023-08-24 13:13:44,339 - ERROR - ms_deform_attn builded fail! 2023-08-24 13:13:44,339 - ERROR - ms_deform_attn builded fail!

bzha5848 avatar Aug 24 '23 05:08 bzha5848

I also encountered this problem

yijianpeng avatar Nov 13 '23 11:11 yijianpeng

The custom op ms_deform_attn is probably not built correctly. Try to clean the .so in paddle3d/model/ops or manually build the ops by running python setup.py install in this directory.

warrentdrew avatar Jan 18 '24 10:01 warrentdrew