thunder.distributed.FSDPType
- class thunder.distributed.FSDPType(value)[source]
Bases:
EnumSpecifies the sharding strategy to be used for FSDP in Thunder.
- ZERO2[source]
Similar to
torch.distributed.fsdp.ShardingStrategy.SHARD_GRAD_OP.
- ZERO3[source]
Similar to
torch.distributed.fsdp.ShardingStrategy.FULL_SHARD.
- __init__()[source]
Attributes
Was this page helpful?
Thanks for the feedback.