chore: include a minimum image for vlms when warming-up (#9528)
This commit is contained in:
@@ -180,6 +180,14 @@ class ModelConfig:
|
||||
self.is_audio_model = enable_multimodal and is_audio_model(
|
||||
self.hf_config.architectures
|
||||
)
|
||||
# TODO: requires further polishing
|
||||
self.is_image_understandable_model = enable_multimodal and hasattr(
|
||||
self.hf_config, "vision_config"
|
||||
)
|
||||
self.is_audio_understandable_model = enable_multimodal and hasattr(
|
||||
self.hf_config, "audio_config"
|
||||
)
|
||||
|
||||
self.is_multimodal_chunked_prefill_supported = (
|
||||
enable_multimodal
|
||||
and is_multimodal_chunked_prefill_supported(self.hf_config.architectures)
|
||||
|
||||
Reference in New Issue
Block a user