Skip to content

Commit

Permalink
fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
guschmue committed Feb 20, 2025
1 parent 15b251d commit f08f30a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/models/kv_cache.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ DefaultKeyValueCache::DefaultKeyValueCache(State& state)
: sb_kv_caches_[i]->CreateTensorOnStaticBuffer(shape_, type_));
// Zero the memory so we don't leak any data from the previous run
if (Device().GetType() != DeviceType::WEBGPU) {
// ort c api does have a method to update device memory - temporarily disable.
// ort c api does not have a method to update device memory - temporarily disable.
ByteWrapTensor(Device(), *presents_.back()).Zero();
}
}
Expand Down

0 comments on commit f08f30a

Please sign in to comment.