include/entropic/types/backend_capability.h¶
include/entropic/types/backend_capability.h
Enums
BackendCapability
Capabilities that an inference backend may or may not support.
The engine queries capabilities before using optional features. A backend that does not support a capability returns graceful errors (not crashes) if the feature is invoked anyway.
KV_CACHE0HIDDEN_STATE1STREAMING2RAW_COMPLETION3GRAMMAR4LORA_ADAPTERS5MULTI_SEQUENCE6TOKENIZER7LOG_PROBS8VISION9SPECULATIVE_DECODING10PROMPT_CACHING11AUDIO12_COUNT
entropic::BackendInfo
Backend metadata for introspection.
std::string entropic::BackendInfo::name
Backend identifier (e.g. "llama.cpp", "axcl")
std::string entropic::BackendInfo::version
Backend version string.
std::string entropic::BackendInfo::compute_device
"cuda", "vulkan", "cpu", "npu"
std::string entropic::BackendInfo::model_format
"gguf", "axmodel", "onnx", etc.
std::string entropic::BackendInfo::architecture
Architecture family of the loaded model.
"transformer", "gdn", "mamba", "rwkv", "hybrid", "unknown" Populated after load(). Empty when COLD.
int entropic::BackendInfo::max_context_length
Maximum context length.
For transformers: fixed window from model metadata. For recurrent: -1 (theoretically unlimited, practically memory-bound).
size_t entropic::BackendInfo::vram_bytes
VRAM consumed by loaded model (bytes). 0 if COLD.
size_t entropic::BackendInfo::ram_bytes
RAM consumed by loaded model (bytes). 0 if COLD.
size_t entropic::BackendInfo::parameter_count
Number of parameters (from model metadata).
std::string entropic::BackendInfo::quantization
Quantization type (e.g. "IQ3_XXS", "Q8_0", "fp16").