Set the vision num_heads to 2 so Flash Attention accepts the vision heads

#22
by qgallouedec HF Staff - opened
Files changed (1) hide show
  1. config.json +1 -1
config.json CHANGED
@@ -89,7 +89,7 @@
89
  "initializer_range": 0.02,
90
  "intermediate_size": 3420,
91
  "model_type": "qwen2_5_vl",
92
- "num_heads": 4,
93
  "out_hidden_size": 32,
94
  "patch_size": 14,
95
  "spatial_merge_size": 2,
 
89
  "initializer_range": 0.02,
90
  "intermediate_size": 3420,
91
  "model_type": "qwen2_5_vl",
92
+ "num_heads": 2,
93
  "out_hidden_size": 32,
94
  "patch_size": 14,
95
  "spatial_merge_size": 2,