Skip to content

error when using in llava-1.6-vicuna-7b #30

Description

@Sugar929

Great jobs!

I follow the setting in your paper:

model = visionzip(model, dominant=540, contextual=100)

lmms-eval throws an error,

File "VisionZip/visionzip/clip_encoder.py", line 80, in forward
contextual_tokens = target_hidden + aggregated_hidden
RuntimeError: The size of tensor a (37) must match the size of tensor b (100) at non-singleton dimension 1
2025-07-23 00:06:03.869 | ERROR    | __main__:cli_evaluate:357 - Error during evaluation: The size of tensor a (37) must match the size of tensor b (100) at non-singleton dimension 1. Please set `--verbosity=DEBUG` to get more information.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions