[qwen-vl] Standardize config (#37268)
* update * fix tests * fixup * update * skip this one * fixup * fix
This commit is contained in:
committed by
GitHub
parent
4f96081aad
commit
3bc44eaaee
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user