From b8041549c74b80398e3da5e0668ed8fe95d159f0 Mon Sep 17 00:00:00 2001 From: amyeroberts <22614925+amyeroberts@users.noreply.github.com> Date: Wed, 12 Jun 2024 11:42:20 +0100 Subject: [PATCH] backbone_utils - fix relative import (#31382) Fix relative import --- src/transformers/utils/backbone_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/transformers/utils/backbone_utils.py b/src/transformers/utils/backbone_utils.py index 484c4e56c111d0..e689fee20fe8fd 100644 --- a/src/transformers/utils/backbone_utils.py +++ b/src/transformers/utils/backbone_utils.py @@ -21,7 +21,7 @@ if TYPE_CHECKING: - from .configuration_utils import PretrainedConfig + from ..configuration_utils import PretrainedConfig class BackboneType(enum.Enum):