🐛 Describe the bug
def get_siglip_patch_grid_length(*, image_size: int, patch_size: int) -> int:
assert image_size % patch_size == 0
return image_size // patch_size
"vision_config": {
--
| "hidden_act": "gelu_pytorch_tanh",
| "hidden_size": 1152,
| "image_size": 384,
| "intermediate_size": 4304,
| "layer_norm_eps": 1e-06,
| "model_type": "siglip_vision_model",
| "num_attention_heads": 16,
| "num_hidden_layers": 27,
| "patch_size": 14