Crate burn_central_runtime

Crate burn_central_runtime 

Source

Modules§

cli

Structs§

Args
ArtifactLoader
A loader for artifacts associated with a specific experiment in Burn Central.
CancelToken
A token that can be used to cancel an ongoing inference job.
EmitError
Error returned when emitting an item fails. The item of type T is returned to allow for potential retries.
ExecutionContext
The execution context for a routine, containing the necessary information to run it.
Executor
An executor that manages the execution of routines for different targets.
ExecutorBuilder
A builder for creating an Executor instance with registered routines.
In
Inference
Inference instance wrapping a single model and a handler routine.
InferenceBuilder
Entry point builder for an Inference instance.
InferenceJob
Concrete job containing fully specified execution parameters passed to the runtime.
InferenceJobBuilder
Internal job builder accumulating input + devices + optional state before conversion to an executable job.
JobHandle
Handle to a running inference job thread.
LoadedInferenceBuilder
Builder returned after a model has been loaded or supplied ready for registering a handler.
Model
ModelAccessor
Cloneable handle used to execute closures against the model on its host thread.
MultiDevice
Out
OutStream
Lightweight cloneable wrapper exposing an Emitter implementation to user handlers.
State
StateMissing
Marker type indicating the job state has not been supplied.
StateProvided
Marker type indicating the job state has been supplied.
StrappedInferenceJobBuilder
Builder returned by Inference::infer allowing configuration (devices, state) before executing the job via StrappedInferenceJobBuilder::run or spawning via StrappedInferenceJobBuilder::spawn.

Enums§

InferenceError
Errors that can occur during inference job execution.
RuntimeError

Traits§

Emitter
The sending side of an output stream for inference outputs.
Init
Trait for models that can be initialized from user-defined arguments.
IntoRoutine
Routine

Functions§

setup_logging