Getting Started
Concepts
Model Zoo
CS Torch
cerebras.pytorch
cerebras.pytorch.amp
cerebras.pytorch.optim
cerebras.pytorch.sparse
cerebras.pytorch.metrics
Cluster Monitoring
Fundamentals
Support
Functions
sample_tokens
Function used to sample tokens, if needed.
previous
cerebras.modelzoo.common.utils.model.attention_utils.StridedSparseAttentionBuilder
next
cerebras.modelzoo.common.utils.model.generation_utils.sample_tokens