Package-level declarations

Types

Link copied to clipboard

Per-execution gate that lets exactly one ExecutionAbortException escape an experiment execution. Construct one per training session / evaluation run and share it with every AbortPolicy.

Link copied to clipboard
fun interface AbortPolicy

A condition that may abort an execution based on the running cumulative LLM consumption.

Link copied to clipboard

Marker for an execution-level abort: the runner has decided to stop the current training session or evaluation run as a whole, rather than failing a single stage or leaf operation.

Link copied to clipboard
class SpendLimitExceededException(val configuredLimit: LLMConsumption, val consumedAtAbort: LLMConsumption) : ExecutionAbortException

Cumulative LLM consumption crossed the configured spend cap.