Skip to main content

Module config

Module config 

Source
Expand description

Configuration types for Ferrum components

Structs§

BackendConfig
Backend configuration
BatchConfig
EngineConfig
Engine configuration
EngineModelConfig
KvCacheConfig
KV Cache configuration
MemoryCapacityBudget
Resolved device-wide memory budget consumed by runtime planning.
MemoryConfig
Memory management configuration
MonitoringConfig
PaddingConfig
Padding configuration
ReusableExecutionCaptureConfig
Product policy for bounded reusable-execution capture.
RuntimeKnobs
Engine runtime knobs the CLI/autosizer resolves and injects via the runtime-config snapshot. The continuous engine reads these from the typed config instead of std::env::vars(), so the env bridge stays at the composition root and tests can vary the knobs per EngineConfig.
SamplingConfig
SchedulerConfig
Scheduler configuration
SecurityConfig
Sampling configuration presets Security configuration
TokenizerConfig
Tokenizer configuration
TruncationConfig
Truncation configuration
VNextCheckpointCaptureConfig
Explicit diagnostic capture of semantic vNext activations. Product paths leave this unset; release tooling must supply a dedicated empty directory.
VNextTeacherForcingConfig
Bounded token history used only by explicit vNext checkpoint diagnostics.

Enums§

BackendType
Supported backend types
KvCacheDtype
KV Cache element dtype (Dim 5 polymorphism point).
KvCacheType
KV Cache implementation types
PaddingStrategy
Padding strategies
ReusableExecutionPreparationMode
When a supported backend prepares reusable device programs.
SchedulingPolicy
Scheduling policies
SequenceFitPolicy
Product policy for proving that a sequence fits before prefill admission.
TokenizerType
Tokenizer algorithms
TruncationStrategy
Truncation strategies
VNextDiagnosticFault
Explicit one-shot faults used to prove product-path failure attribution. These are never inferred and remain disabled in normal execution.

Constants§

DEFAULT_MAXIMUM_AUTOMATIC_EXACT_DECODE_WIDTH
Default upper bound for automatically generated exact decode capture widths.
MAXIMUM_REUSABLE_EXECUTION_STARTUP_CAPTURE_WIDTH
Non-configurable upper bound for startup decode capture width.
MAX_VNEXT_TEACHER_FORCED_TOKENS