We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ef4613b commit 7f823f8Copy full SHA for 7f823f8
1 file changed
convert_hf_to_gguf.py
@@ -4229,9 +4229,6 @@ def set_gguf_parameters(self):
4229
if fullatt_block_indexes[i] - fullatt_block_indexes[i - 1] != n_wa_pattern:
4230
raise ValueError(f"Invalid fullatt_block_indexes: {fullatt_block_indexes}")
4231
self.gguf_writer.add_vision_n_wa_pattern(n_wa_pattern)
4232
- elif model_type == "sarashina2_vision":
4233
- self.gguf_writer.add_clip_projector_type(gguf.VisionProjectorType.QWEN2VL)
4234
- self.gguf_writer.add_vision_spatial_merge_size(2)
4235
else:
4236
raise ValueError(f"Unknown QwenVL model type: {self.global_config['model_type']}")
4237
# default values below are taken from HF tranformers code
0 commit comments