clip : (minicpmv) Re-enable upscaling of images smaller than the CLIP image size (#13237)
This commit is contained in:
parent
e0f572c846
commit
b6e4ff69b8
1 changed files with 1 additions and 1 deletions
|
@ -2561,7 +2561,7 @@ struct llava_uhd {
|
|||
|
||||
// no pinpoints, dynamically calculate the grid size (e.g. minicpmv)
|
||||
|
||||
auto best_size = get_best_resize(original_size, slice_size, patch_size, has_slices);
|
||||
auto best_size = get_best_resize(original_size, slice_size, patch_size, !has_slices);
|
||||
res.overview_size = best_size;
|
||||
|
||||
if (!has_slices) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue