Skip to content

Commit ce4ffee

Browse files
authored
Fix typo in LFM-VL (#41742)
oops, remove untrelated commits
1 parent cb6f03f commit ce4ffee

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/transformers/generation/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1941,7 +1941,7 @@ def _supports_default_dynamic_cache(cls) -> bool:
19411941
"minimax",
19421942
"xlnet",
19431943
"lfm2",
1944-
"lfm2-vl",
1944+
"lfm2_vl",
19451945
]
19461946
)
19471947

src/transformers/models/lfm2_vl/configuration_lfm2_vl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ class Lfm2VlConfig(PreTrainedConfig):
5050
The downsample_factor factor of the vision backbone.
5151
"""
5252

53-
model_type = "lfm2-vl"
53+
model_type = "lfm2_vl"
5454
sub_configs = {"text_config": AutoConfig, "vision_config": AutoConfig}
5555

5656
def __init__(

0 commit comments

Comments
 (0)