From 2c4791542436bbcdb17711ae4f57084588443fd0 Mon Sep 17 00:00:00 2001 From: ydshieh Date: Fri, 13 Dec 2024 19:39:05 +0100 Subject: [PATCH] it's Friday night, let cross finger --- src/transformers/models/kosmos2_5/configuration_kosmos2_5.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/transformers/models/kosmos2_5/configuration_kosmos2_5.py b/src/transformers/models/kosmos2_5/configuration_kosmos2_5.py index a0dbb0349e6ced..d70020661120a1 100644 --- a/src/transformers/models/kosmos2_5/configuration_kosmos2_5.py +++ b/src/transformers/models/kosmos2_5/configuration_kosmos2_5.py @@ -268,6 +268,7 @@ class Kosmos2_5Config(PretrainedConfig): model_type = "kosmos-2.5" is_composition = True + sub_configs = {"text_config": Kosmos2_5TextConfig, "vision_config": Kosmos2_5VisionConfig} def __init__( self,