Can RF-DETR run with mac silicon?

Tried running rf-detr locally but keep running into this:
Loading pretrain weights
UserWarning: The operator ā€˜aten::_upsample_bicubic2d_aa.out’ is not currently supported on the MPS backend and will fall back to run on the CPU. This may have performance implications.

Is there support with Apple silicon with RF-DETR?

People were talking Apple and RF-DETR on the Discord channel last month so if you don’t hear something here you might check out there too.

1 Like

could you share a link to the discord? i’m having trouble finding it online

Ah. I hid it in the message above - the blue highlight of ā€œthe Discord channelā€ words - but you’ll also need to join the server before you can jump to the channel post.

Here is the public invite to join (from the supervision github):

And here is the channel link once you’re in:

1 Like

Try calling model.optimize_for_inference() before running inference. This should be available in the develop branch of the RF-DETR repo

yes i tried that but it seems like to actually instantiate the model i need to use RFDetrBase which does not have the function optimize_for_inference()

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.