Skip to content

Commit

Permalink
Fix mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
EricLBuehler committed May 19, 2024
1 parent 65ca3d2 commit 1d5f9f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mistralrs-core/src/pipeline/cache_manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ impl Cache {
let (k, v) = match &*cache {
None => (k, v),
Some((k_cache, v_cache)) => {
if slow_cat {
if !slow_cat {
let k = candle_nn::ops::kvconcat(k_cache, &k, 2)?.contiguous()?;
let v = candle_nn::ops::kvconcat(v_cache, &v, 2)?.contiguous()?;
(k, v)
Expand Down

0 comments on commit 1d5f9f3

Please sign in to comment.