MCPcopy Create free account
hub / github.com/andrewkchan/deepseek.cpp / ~BlockMHA

Method ~BlockMHA

src/model.cpp:463–468  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

461}
462
463BlockMHA::~BlockMHA() {
464 if (_device == Device::CPU) {
465 delete[] _key_cache;
466 delete[] _value_cache;
467 }
468}
469
470double BlockMHA::active_bytes(size_t pos) const {
471 double bytes = Block::active_bytes(pos);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected