|
ember.cpp 0.1.0
C++ inference engine for Llama-family and paperkiln models (CPU, CUDA, WebAssembly)
|
Key-Value cache for a single transformer layer. More...
#include <model.h>

Public Attributes | |
| std::vector< float > | k |
| std::vector< float > | v |
Key-Value cache for a single transformer layer.
Stores the key and value tensors for attention mechanism, with optional CUDA support for GPU acceleration.
| std::vector<float> KVCacheLayer::k |
Definition at line 137 of file model.h.
Referenced by ember_ir::Interpreter::run_nodes().