# Can RF-DETR run with mac silicon?

**URL:** <https://discuss.roboflow.com/t/can-rf-detr-run-with-mac-silicon/10580>\
**Category:** 🤝  Community Help\
**Created:** [July 14, 2025, 11:55pm UTC](https://discuss.roboflow.com/t/can-rf-detr-run-with-mac-silicon/10580 "2025-07-14T23:55:41Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![mz0g](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/mz0g/32/5877_2.png) [@mz0g](https://discuss.roboflow.com/u/mz0g)\
**Post date:** [July 14, 2025, 11:55pm UTC](https://discuss.roboflow.com/t/can-rf-detr-run-with-mac-silicon/10580/1 "2025-07-14T23:55:41Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![Automatez](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/automatez/32/8971_2.png) [@Automatez](https://discuss.roboflow.com/u/Automatez)\
**Post date:** [July 15, 2025, 2:27am UTC](https://discuss.roboflow.com/t/can-rf-detr-run-with-mac-silicon/10580/2 "2025-07-15T02:27:49Z")

</div>

People were talking Apple and RF-DETR on [the Discord channel](https://discord.com/channels/1159501506232451173/1354435462240141354/1383860680469254184) last month so if you don’t hear something here you might check out there too.

---

<div class="post-metadata">

**Author:** ![mz0g](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/mz0g/32/5877_2.png) [@mz0g](https://discuss.roboflow.com/u/mz0g)\
**Post date:** [July 15, 2025, 5:14am UTC](https://discuss.roboflow.com/t/can-rf-detr-run-with-mac-silicon/10580/3 "2025-07-15T05:14:28Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Automatez](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/automatez/32/8971_2.png) [@Automatez](https://discuss.roboflow.com/u/Automatez)\
**Post date:** [July 15, 2025, 1:49pm UTC](https://discuss.roboflow.com/t/can-rf-detr-run-with-mac-silicon/10580/4 "2025-07-15T13:49:51Z")

</div>

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](https://github.com/roboflow/supervision/blob/develop/README.md)):**

> **[Join the Roboflow Discord Server!](https://discord.com/invite/GbfgXGJ8Bk)**
>
> Check out the Roboflow community on Discord – hang out with 389 other members and enjoy free voice and text chat.

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

> **[Discord - Group Chat That’s All Fun & Games](https://discord.com/channels/1159501506232451173/1354435462240141354/1383860680469254184)**
>
> Discord is great for playing games and chilling with friends, or even building a worldwide community. Customize your own space to talk, play, and hang out.

---

<div class="post-metadata">

**Author:** ![isaacrob](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/isaacrob/32/5638_2.png) [@isaacrob](https://discuss.roboflow.com/u/isaacrob)\
**Post date:** [July 15, 2025, 7:57pm UTC](https://discuss.roboflow.com/t/can-rf-detr-run-with-mac-silicon/10580/5 "2025-07-15T19:57:16Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![mz0g](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/mz0g/32/5877_2.png) [@mz0g](https://discuss.roboflow.com/u/mz0g)\
**Post date:** [July 16, 2025, 5:30pm UTC](https://discuss.roboflow.com/t/can-rf-detr-run-with-mac-silicon/10580/6 "2025-07-16T17:30:18Z")

</div>

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()`

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex029/uploads/roboflow1/original/1X/bb6edbfa56d0cf2ee603f061e9e09103502cc8cc.png) [@system](https://discuss.roboflow.com/u/system)\
**Post date:** [August 6, 2025, 5:31pm UTC](https://discuss.roboflow.com/t/can-rf-detr-run-with-mac-silicon/10580/7 "2025-08-06T17:31:14Z")

</div>

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