MCPcopy Create free account
hub / github.com/evilsocket/cake / with_kv_cache

Method with_kv_cache

cake-core/src/models/common/cache.rs:133–135  ·  view source on GitHub ↗

Return true if kv-caching is enabled.

(&self)

Source from the content-addressed store, hash-verified

131
132 /// Return true if kv-caching is enabled.
133 pub fn with_kv_cache(&self) -> bool {
134 self.use_kv_cache
135 }
136
137 /// Return the cached cosine value for the given position and sequence length.
138 /// When `device` differs from the cache's own device, the result is copied

Callers 1

next_tokenMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected