You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue is marked as stale because it has been marked as invalid or awaiting response for 7 days without any further response. It will be closed in 5 days if the stale label is not removed or if there is no further response.
Motivation
In the onnx export pipeline, the device argument is disregarded, and the export operation is performed on the CPU.
mmdeploy/mmdeploy/apis/onnx/export.py
Lines 130 to 137 in 2882c64
I can see this was introduce by #2347
In the PR discussion @grimoire raised the issue with the ops without cpu support, and @RunningLeon suggested adding dummy ops as workaround.
I stumbled upon this when trying to export FasterRCNN with GARPNHead, which utilize MaskedConv2d layer that doesn't have CPU support.
So my questions are:
Thanks.
Related resources
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: