mirror of
https://github.com/huggingface/candle.git
synced 2025-06-15 10:26:33 +00:00
Clippy fix. (#1972)
This commit is contained in:
@ -79,7 +79,7 @@ impl TextGeneration {
|
||||
} else {
|
||||
self.model
|
||||
.text_model
|
||||
.forward_with_img(&input, &image_embeds)?
|
||||
.forward_with_img(&input, image_embeds)?
|
||||
};
|
||||
let logits = logits.squeeze(0)?.to_dtype(DType::F32)?;
|
||||
let logits = if self.repeat_penalty == 1. {
|
||||
|
Reference in New Issue
Block a user