Skip to content

Commit

Permalink
fix editorconfig-checker
Browse files Browse the repository at this point in the history
  • Loading branch information
tc-mb committed Jan 18, 2025
1 parent 27d0ec8 commit 1366444
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/llava/minicpmv-convert-image-encoder-to-gguf.py
Original file line number Diff line number Diff line change
Expand Up @@ -558,7 +558,7 @@ def bytes_to_unicode():
elif minicpmv_version == 4:
emb_dim = 3584
block_count = 27

default_vision_config = {
"hidden_size": 1152,
"image_size": 980,
Expand All @@ -577,7 +577,7 @@ def bytes_to_unicode():
elif minicpmv_version == 4:
vision_config = SiglipVisionConfig(**default_vision_config)
model = SiglipVisionTransformer(vision_config)

processor = None
# if model.attn_pool is not None:
# model.attn_pool = torch.nn.Identity()
Expand Down

0 comments on commit 1366444

Please sign in to comment.