| 9 | namespace mllm::prefix_cache { |
| 10 | |
| 11 | Cache::Cache(const CacheOptions& options) |
| 12 | : options_(options), tree_(options.radix_tree_options), allocator_(options.allocator_options) {} |
| 13 | |
| 14 | void Cache::promote(const std::vector<int64_t>& token_ids, const std::vector<std::vector<vp_addr_t>>& key_cache_addresses, |
| 15 | const std::vector<std::vector<vp_addr_t>>& value_cache_addresses, int64_t extra_key) { |
nothing calls this directly
no outgoing calls
no test coverage detected