Introduction
Get Started
Prepare your data
Cerebras PyTorch API
cerebras_pytorch
cerebras_pytorch.amp
cerebras_pytorch.optim
cerebras_pytorch.sparse
cerebras_pytorch.metrics
Cerebras Model Zoo
Cerebras Guides
Fundamentals
Support
Functions
create_fixed_sparse_attention_mask
Create GPT-3 Fixed Sparse mask.
previous
modelzoo.transformers.pytorch.gpt2.scripts.fold_mup
next
modelzoo.transformers.pytorch.gpt2.sparse_mask.create_fixed_sparse_attention_mask