summaryrefslogtreecommitdiff
path: root/candle-examples/examples/blip/main.rs
diff options
context:
space:
mode:
authorLaurent Mazare <laurent.mazare@gmail.com>2023-10-31 09:47:44 +0100
committerGitHub <noreply@github.com>2023-10-31 08:47:44 +0000
commitc12ad45562778ffff0cda6c623b4838a2ed1c57c (patch)
tree57d249d8cd21386cfb2764da67324c430e7a97b4 /candle-examples/examples/blip/main.rs
parent7d0202710bba5b95d5161bd81528e90f0a406acc (diff)
downloadcandle-c12ad45562778ffff0cda6c623b4838a2ed1c57c.tar.gz
candle-c12ad45562778ffff0cda6c623b4838a2ed1c57c.tar.bz2
candle-c12ad45562778ffff0cda6c623b4838a2ed1c57c.zip
Add a KV cache to marian decoding. (#1226)
Diffstat (limited to 'candle-examples/examples/blip/main.rs')
-rw-r--r--candle-examples/examples/blip/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/candle-examples/examples/blip/main.rs b/candle-examples/examples/blip/main.rs
index 45300feb..a1051a8e 100644
--- a/candle-examples/examples/blip/main.rs
+++ b/candle-examples/examples/blip/main.rs
@@ -149,6 +149,6 @@ pub fn main() -> anyhow::Result<()> {
if let Some(rest) = tokenizer.decode_rest().map_err(E::msg)? {
print!("{rest}");
}
-
+ println!();
Ok(())
}