# RF-DETR fails due to reliance on removed internal transformers.utils

**URL:** <https://discuss.roboflow.com/t/rf-detr-fails-due-to-reliance-on-removed-internal-transformers-utils/11882>\
**Category:** 🤝  Community Help\
**Created:** [February 19, 2026, 10:48pm UTC](https://discuss.roboflow.com/t/rf-detr-fails-due-to-reliance-on-removed-internal-transformers-utils/11882 "2026-02-19T22:48:36Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![m\_ocean](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/m_ocean/32/9137_2.png) [@m\_ocean](https://discuss.roboflow.com/u/m_ocean)\
**Post date:** [February 19, 2026, 10:48pm UTC](https://discuss.roboflow.com/t/rf-detr-fails-due-to-reliance-on-removed-internal-transformers-utils/11882/1 "2026-02-19T22:48:36Z")

</div>

Hi! I am running a Roboflow model through a pipeline in Google Colab. I am encountering multiple `ImportError` issues when trying to run `rfdetr` (v1.2.1). The library appears to import several internal utilities from `transformers.utils` (such as `torch_int` and potentially others) that have been removed in recent `transformers` versions.

I have tried downgrading `transformers` (to 4.35.2 and 4.36.2), but the imports still fail.

Could you please specify the exact `transformers` version required for `rfdetr` v1.2.1, or is there a patch available to remove these dependencies on internal utilities?

---

<div class="post-metadata">

**Author:** ![Borda](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/borda/32/9139_2.png) [@Borda](https://discuss.roboflow.com/u/Borda)\
**Post date:** [February 20, 2026, 11:27pm UTC](https://discuss.roboflow.com/t/rf-detr-fails-due-to-reliance-on-removed-internal-transformers-utils/11882/2 "2026-02-20T23:27:53Z")

</div>

It seems you are using way old version sice the latest 1.4.3 and we are about to release 1.5…  
Any reason why you still may need to use that old version? Could you pls try to upgrade?

---

<div class="post-metadata">

**Author:** ![m\_ocean](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/m_ocean/32/9137_2.png) [@m\_ocean](https://discuss.roboflow.com/u/m_ocean)\
**Post date:** [February 21, 2026, 12:59am UTC](https://discuss.roboflow.com/t/rf-detr-fails-due-to-reliance-on-removed-internal-transformers-utils/11882/3 "2026-02-21T00:59:09Z")

</div>

Hi thank you that worked! My collaborator wrote the initial script and I didn’t realize that it was running an old version. How can I find out when updates are released?

---

<div class="post-metadata">

**Author:** ![Borda](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/borda/32/9139_2.png) [@Borda](https://discuss.roboflow.com/u/Borda)\
**Post date:** [February 21, 2026, 11:51pm UTC](https://discuss.roboflow.com/t/rf-detr-fails-due-to-reliance-on-removed-internal-transformers-utils/11882/4 "2026-02-21T23:51:24Z")

</div>

> How can I find out when updates are released?

You can subscribe to the repo watching releases or via PyPI

---

<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:** [March 14, 2026, 11:52pm UTC](https://discuss.roboflow.com/t/rf-detr-fails-due-to-reliance-on-removed-internal-transformers-utils/11882/5 "2026-03-14T23:52:07Z")

</div>

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