Skip to content

Commit

Permalink
Clippy fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
LaurentMazare committed Sep 30, 2024
1 parent 75d325a commit 31ed53e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion candle-transformers/src/models/pixtral/llava.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ impl Model {
}

pub fn encode_image(&self, image: &Tensor) -> Result<Tensor> {
let image_embeds = self.vision_tower.forward(&image)?;
let image_embeds = self.vision_tower.forward(image)?;
self.multi_modal_projector.forward(&image_embeds)
}

Expand Down

0 comments on commit 31ed53e

Please sign in to comment.