nemo_automodel.components.speculative.dspark.common
nemo_automodel.components.speculative.dspark.common
Module Contents
Classes
Functions
Data
API
Bases: Module
proj
Dataclass
Outputs for one DSpark training forward.
The sampler keeps anchors whose first draft target is enabled by
loss_mask. Later slots are supervised only while they remain inside
seq_len and form a contiguous enabled prefix. Dummy anchors can still
appear when a sample has too few valid anchors; they are masked out by
block_keep_mask and eval_mask.
aligned_target_logits
block_keep_mask
confidence_pred
draft_logits
eval_mask
target_ids