summaryrefslogtreecommitdiff
path: root/candle-transformers/src/models/moondream.rs
diff options
context:
space:
mode:
Diffstat (limited to 'candle-transformers/src/models/moondream.rs')
-rw-r--r--candle-transformers/src/models/moondream.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/candle-transformers/src/models/moondream.rs b/candle-transformers/src/models/moondream.rs
index e63fcf6e..cde59d43 100644
--- a/candle-transformers/src/models/moondream.rs
+++ b/candle-transformers/src/models/moondream.rs
@@ -167,7 +167,7 @@ impl VisionTransformer {
let blocks = (0..cfg.num_blocks)
.map(|i| {
VitBlock::new(
- vb.pp(&format!("blocks.{}", i)),
+ vb.pp(format!("blocks.{}", i)),
cfg.embed_dim,
cfg.num_heads,
cfg,