[qwen-vl] Standardize config (#37268)

* update

* fix tests

* fixup

* update

* skip this one

* fixup

* fix
This commit is contained in:
Raushan Turganbay
2025-04-17 09:38:12 +02:00
committed by GitHub
parent 4f96081aad
commit 3bc44eaaee
13 changed files with 202 additions and 55 deletions

View File

@@ -345,6 +345,7 @@ def check_attribute_being_used(config_class, attributes, default_value, source_s
# common and important attributes, even if they do not always appear in the modeling files
attributes_to_allow = [
"initializer_range",
"bos_index",
"eos_index",
"pad_index",
@@ -355,6 +356,7 @@ def check_attribute_being_used(config_class, attributes, default_value, source_s
"image_seq_length",
"video_seq_length",
"image_size",
"text_config", # may appear as `get_text_config()`
"use_cache",
"out_features",
"out_indices",