Update router/src/config.rs

This commit is contained in:
Nicolas Patry 2024-04-22 18:40:28 +02:00
parent f2ea123ccd
commit 60d2757c36

View File

@ -88,7 +88,6 @@ impl LlavaNext {
let patch_size = self.vision_config.patch_size; let patch_size = self.vision_config.patch_size;
assert!(image_size % patch_size == 0); assert!(image_size % patch_size == 0);
let npatches = image_size / patch_size; let npatches = image_size / patch_size;
println!("{npatches} {image_size} {patch_size}");
let (num_patch_height, num_patch_width) = let (num_patch_height, num_patch_width) =
get_anyres_image_grid_shape(height, width, &self.image_grid_pinpoints, image_size); get_anyres_image_grid_shape(height, width, &self.image_grid_pinpoints, image_size);