Skip to content

Commit 7863232

Browse files
committed
clarify
1 parent 0ec6bce commit 7863232

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

convert_hf_to_gguf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1670,6 +1670,7 @@ def __init__(self, *args, **kwargs):
16701670
self.preprocessor_config = AutoImageProcessor.from_pretrained(vision_model_id).to_dict()
16711671
self.vision_arch = gguf.MODEL_ARCH.VISION_MOBILEVLM
16721672

1673+
# only tested with https://huggingface.co/HuggingFaceTB/SmolVLM-500M-Instruct
16731674
if "vision_config" in self.hparams and model_type == "idefics3":
16741675
self.vparams = self.hparams["vision_config"]
16751676
self.preprocessor_config = self.load_preprocessor_config(self.dir_model)

0 commit comments

Comments
 (0)