Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
d218a2e5
Unverified
Commit
d218a2e5
authored
Jun 12, 2024
by
amyeroberts
Committed by
GitHub
Jun 12, 2024
Browse files
backbone_utils - fix relative import (#31382)
Fix relative import
parent
84351d57
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/transformers/utils/backbone_utils.py
src/transformers/utils/backbone_utils.py
+1
-1
No files found.
src/transformers/utils/backbone_utils.py
View file @
d218a2e5
...
@@ -21,7 +21,7 @@ from typing import TYPE_CHECKING, Iterable, List, Optional, Tuple, Union
...
@@ -21,7 +21,7 @@ from typing import TYPE_CHECKING, Iterable, List, Optional, Tuple, Union
if
TYPE_CHECKING
:
if
TYPE_CHECKING
:
from
.configuration_utils
import
PretrainedConfig
from
.
.configuration_utils
import
PretrainedConfig
class
BackboneType
(
enum
.
Enum
):
class
BackboneType
(
enum
.
Enum
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment