Python class
DistributedTransformerBlock
DistributedTransformerBlock
class max.nn.DistributedTransformerBlock(attention, mlp, attention_norm, mlp_norm, devices)
Bases: Module
Stack of Attention, FeedForward, and RMSNorm layers.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!