| 366 | } |
| 367 | |
| 368 | void Model::update_kv_cache(CactusGraph* gb, size_t seq_len) { |
| 369 | kv_cache_.update_from_graph(gb, cache_k_output_nodes_, cache_v_output_nodes_, |
| 370 | seq_len, config_.num_layers); |
| 371 | } |
| 372 | |
| 373 | void Model::remove_thinking_tokens(const std::vector<std::pair<size_t, size_t>>& ranges) { |
| 374 | for (auto it = ranges.rbegin(); it != ranges.rend(); ++it) |
no test coverage detected