Skip to main content

ScalingOverheadScenario

Training scenarios · Implementation: mlsysim/engine/scenario_definitions/training.py.

Construct this scenario with keyword inputs. The fields below show the types and defaults declared by this class.

A planned speedup when communication and coordination take a share of the scaled step.

Notes

Equation: Use the dimensional products, ratios, or selection rules documented on the calculated properties below.

Assumptions: The overhead fraction describes the scaled step, so the useful fraction multiplies the ideal speedup.

Excludes: An overhead fraction measured against baseline time cannot be substituted unchanged.

References

Derivation: the calculated properties below state their defining arithmetic and units. They are scenario accounting or input-selection rules, not independently measured relationships.

Examples

>>> from mlsysim import Scenarios
>>> case = Scenarios.CoordinationOverheadExample
>>> round(case.realized_speedup, 4)
1.8

Attributes

Name Description
overhead_fraction
planned_speedup
realized_speedup Planned speedup reduced by the scaled step’s overhead share. Equation: ``planned_speedup

planned_speedup

Type: float.

Declared default: required.

overhead_fraction

Type: float.

Declared default: required.

realized_speedup

engine.scenario_types.ScalingOverheadScenario.realized_speedup

Planned speedup reduced by the scaled step’s overhead share. Equation: planned_speedup * (1 - overhead_fraction). Units: dimensionless; the overhead fraction belongs to the new step, not the baseline.

Back to top