mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-11 12:24:53 +00:00
Update router/src/config.rs
This commit is contained in:
parent
f2ea123ccd
commit
60d2757c36
@ -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);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user