Skip to content

Commit 30f9d1f

Browse files
committed
Remove clone for dtype
1 parent 08d1d1c commit 30f9d1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backends/candle/src/models/qwen3.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ impl Qwen3Model {
438438
pool,
439439
pad_token_id: config.eos_token_id as u32,
440440
num_attention_heads: config.num_attention_heads,
441-
dtype: vb.dtype().clone(),
441+
dtype: vb.dtype(),
442442
device: vb.device().clone(),
443443
span: tracing::span!(tracing::Level::TRACE, "model"),
444444
})

0 commit comments

Comments
 (0)