Skip to content

Commit

Permalink
remove debug messages
Browse files Browse the repository at this point in the history
  • Loading branch information
ameroyer committed Feb 14, 2025
1 parent 9579726 commit f8d0a7e
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions candle-transformers/src/models/siglip.rs
Original file line number Diff line number Diff line change
Expand Up @@ -487,13 +487,8 @@ impl Module for VisionEmbeddings {
let resized_position_embedding = if num_patches_w == self.base_num_patches_per_side
&& num_patches_h == self.base_num_patches_per_side
{
print!("No position embeddings interpolation");
self.position_embedding.clone()
} else {
print!(
"Interpolating position embeddings to ({}, {})",
num_patches_h, num_patches_w
);
self.position_embedding
.interpolate2d(num_patches_h, num_patches_w)?
};
Expand Down

0 comments on commit f8d0a7e

Please sign in to comment.