[Model][Bugfix] Implicit model flags and reenable Phi-3-Vision (#5896)

This commit is contained in:
Cyrus Leung
2024-06-28 00:08:10 +08:00
committed by GitHub
parent e9d32d077d
commit 98cf2ed678
14 changed files with 26 additions and 32 deletions

View File

@@ -108,8 +108,6 @@ def _image_pixel_processor(
@MULTIMODAL_REGISTRY.register_dummy_data(_get_dummy_image_data)
class LlavaNextForConditionalGeneration(nn.Module, SupportsVision):
supports_vision = True
def __init__(self,
config: LlavaNextConfig,
vlm_config: VisionLanguageConfig,