Skip to main content

Crate laddu_runtime

Crate laddu_runtime 

Source
Expand description

Execution backends, dataset queries, and reduction support for compiled laddu models.

Structs§

BinSpec
Validated, monotonically increasing bin edges.
CpuBackend
Prepares compiled models for CPU execution.
CpuBatchCache
Materialized event-dependent values for one batch.
CpuCachedBatch
A cached event batch and its associated weights.
CpuCachedDataset
A dataset whose event-dependent model values are fully cached in memory.
CpuOptions
CPU-specific execution options.
CpuPlan
A compiled model prepared for CPU evaluation.
DatasetBin
A lazily filtered dataset corresponding to one bin.
DeviceIdentity
Stable information used to match a runtime accelerator to platform telemetry.
Execution
Resolved resources and policies used to execute models.
ExecutionOptions
Options used to construct an Execution context.
GpuOptions
GPU-specific execution options.
MemoryDecision
One memory-derived execution decision.
MemoryLease
A live memory reservation. Clones share one reservation.
MemoryPlan
Host and optional accelerator budgets for one execution.
MemoryPool
A resolved, reservable limit within one physical resource.
MemoryPoolReport
Report for one resolved pool.
MemoryReport
Report covering all resources in a MemoryState.
MemoryResource
Snapshot of one physical memory resource.
MemoryState
Live resource discovery and process-wide laddu reservation state.
PreparedDatasetStats
Fixed statistics collected when a dataset is prepared for repeated evaluation.
PreparedNormalization
Prepared sufficient statistics and their parameter-only contraction.
PreparedNormalizationDiagnostics
Runtime diagnostics for one compiler-native accepted normalization.
ProcessMemoryReport
Sampled operating-system memory counters for the current process.
ReductionEvaluation
The scalar value and free-parameter gradient produced by a reduction.
ValueGradient
A complex model value and its derivatives with respect to free parameters.

Enums§

CapacitySource
The basis used to obtain a resource’s capacity information.
Comparison
Comparison operation used by a dataset predicate.
CpuExecutionMode
CPU scalar-kernel execution strategy.
CpuPreparedDataset
A dataset prepared according to its CacheStorage policy.
Device
Device on which a model should execute.
ExecutionError
Error produced while resolving execution options.
GpuBackend
GPU implementation to use.
GpuDeviceSelector
Rule used to select a GPU device.
IntervalClosure
Determines which endpoints are included by an interval predicate.
JitPolicy
Policy controlling CPU just-in-time compilation.
MemoryBudget
A requested memory limit.
MemoryError
Errors produced while discovering or reserving memory.
MemoryResourceKind
Kind of physical memory resource.
NormalizationMode
Policy controlling compiler-native accepted normalization.
Precision
Numeric precision used to execute a model.
Predicate
Boolean expression used to select events from a dataset.
PreparedDataset
A dataset prepared for a concrete execution backend.
PreparedModel
A compiled model prepared for a concrete execution backend.
RuntimeError
Error produced while preparing or evaluating a model.
ThreadPolicy
Policy controlling CPU worker-thread use.

Traits§

DatasetExprExt
Expression-based query operations for datasets.
EventLookup
Supplies event-dependent scalar values for direct CPU evaluation.

Type Aliases§

RuntimeResult
Result type returned by runtime operations.