From 47eb0a5530fbf763ca01f53f2a06f149d157dad5 Mon Sep 17 00:00:00 2001 From: caitianchi Date: Mon, 12 Aug 2024 21:16:01 +0800 Subject: [PATCH] fix num in convert --- examples/llava/minicpmv-convert-image-encoder-to-gguf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/llava/minicpmv-convert-image-encoder-to-gguf.py b/examples/llava/minicpmv-convert-image-encoder-to-gguf.py index 95a4bb71173f6..8d7e7204fe04f 100644 --- a/examples/llava/minicpmv-convert-image-encoder-to-gguf.py +++ b/examples/llava/minicpmv-convert-image-encoder-to-gguf.py @@ -562,7 +562,7 @@ def bytes_to_unicode(): "patch_size": 14, } -if minicpmv_version == 3: +if minicpmv_version == 2: vision_config = Idefics2VisionConfig(**default_vision_config) model = Idefics2VisionTransformer(vision_config) elif minicpmv_version == 3: