pooya-davoodi-parasail commited on
Commit
11b0d55
·
verified ·
1 Parent(s): 3c31af6

Change max/min_pixels to longest/shortest_edge

Browse files

This is similar to https://huggingface.co/RedHatAI/Qwen2.5-VL-72B-Instruct-FP8-Dynamic/blob/main/preprocessor_config.json

Otherwise vllm fails to load the model.

Files changed (1) hide show
  1. preprocessor_config.json +2 -2
preprocessor_config.json CHANGED
@@ -22,8 +22,8 @@
22
  "resample": 3,
23
  "rescale_factor": 0.00392156862745098,
24
  "size": {
25
- "max_pixels": 12845056,
26
- "min_pixels": 3136
27
  },
28
  "temporal_patch_size": 2
29
  }
 
22
  "resample": 3,
23
  "rescale_factor": 0.00392156862745098,
24
  "size": {
25
+ "longest_edge": 12845056,
26
+ "shortest_edge": 3136
27
  },
28
  "temporal_patch_size": 2
29
  }