Skip to main content

StageEvent

One stage event of a model call: the stage's name, its own span on the steady clock in nanoseconds, and the payload its kind carries. The observer that receives it runs on the stage's thread and must return at once.

is_final (property)​

(self) -> bool

kind (property)​

(self) -> clika_runtime.modelverse._modelverse.StageEventKind

language (property)​

(self) -> str

media_count (property)​

(self) -> int

sample_rate (property)​

(self) -> int

samples (property)​

An Audio event's samples, a Float32 [S] tensor.

slot (property)​

The decoder's session slot on a pipeline stage; -1 on a handle's own.

stage (property)​

The stage: tokenize, prefill, decode, detokenize, vision; features, encode, decode; text, talker, codec.

t_end_ns (property)​

(self) -> int

t_start_ns (property)​

(self) -> int

text (property)​

(self) -> str

__init__​

__init__(self, /, *args, **kwargs)

Initialize self. See help(type(self)) for accurate signature.