core.distributed.fsdp.src.megatron_fsdp.experimental.schedule#
Scheduling configuration for the minimal Megatron-FSDP path.
Module Contents#
Classes#
Control communication scheduling for one FSDP module. |
API#
- class core.distributed.fsdp.src.megatron_fsdp.experimental.schedule.SchedulePolicy#
Control communication scheduling for one FSDP module.
Noneprefetches one successor, preserving the default behavior.0disables prefetching. Positive values specify parameter-element budgets.- forward_prefetch_size: int | None#
None
- backward_prefetch_size: int | None#
None
- __post_init__() None#
Validate non-negative prefetch budgets.