Skip to main content

Module sampler

Module sampler 

Source
Available on crate feature std only.
Expand description

Committed sample cursors and explicit topology-changing epoch continuation. Dataset-position recovery independent of GPU completion and loader prefetch.

Structs§

ConsolidatedSamplerState
Topology-independent continuation containing ONLY unconsumed epoch examples.
SamplerError
Invalid sampler configuration, incompatible continuation, or missing data.
SamplerState
Actual rank-local sample order and its committed cursor.
StatefulShardSampler
A data-shard iterator with separate issued and actually-consumed positions.

Enums§

SampleTail
Explicit handling of an epoch that does not divide the data rank count.