ScheduleConfig¶
Module: fast_llm.engine.schedule.config
Fields¶
breadth_first_micro_batches—core-
Type:
intDefault:1Number of micro-batches processed breadth-first, i.e., interleaved across model stages.
depth_first_micro_batches—core-
Type:
intDefault:1Number of micro-batches processed depth-first, i.e., each runs through all model stages before the next begins. This is the standard way to perform gradient accumulation.
data_batch_warn_time_ms—optional-
Type:
floatDefault:1000.0Warn if a batch takes too long to load.
micro_batch_splits—performance-
Type:
intDefault:1Number of splits for each micro-batch.
debug_schedule—logging-
Type:
boolDefault:FalseLog the whole schedule.
debug_send_recv—logging-
Type:
boolDefault:FalseLog the pipeline-parallel operations.
profile_schedule—logging-
Type:
boolDefault:FalseDetailed time table for the schedule execution (cpu and gpu times).
throttle_cpu—expert-
Type:
boolDefault:TrueAvoid scheduling too many operations in advance to limit memory fragmentation and prevent costly memory cache flushes.
throttle_cpu_delay—expert-
Type:
intDefault:1Synchronize with a cuda event registered this many steps before, to avoid a full synchronization.
throttle_cpu_rate—expert-
Type:
intDefault:1Number of schedule steps between each cpu throttling.