thunder.distributed.FSDPBucketingStrategy
- class thunder.distributed.FSDPBucketingStrategy(value)[source]
Bases:
EnumSpecify how we group parameters into a bucket for collective communication in fsdp.
- NONE[source]
Disables bucketing.
- LAYER[source]
Creates buckets per layer such as
torch.nn.Linearandtorch.nn.LayerNorm.
- BLOCK[source]
Creates buckets per block such as Transformer block.
- __init__()[source]
Attributes
Was this page helpful?
Thanks for the feedback.