Skip to main content

SilentSlowdownScenario

Communication scenarios · Implementation: mlsysim/engine/scenario_definitions/communication.py.

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

A run on fleet slowed a few percent by a degraded link, with no alarm.

slowdowns are stated per-step slowdowns; bandwidth_loss and communication_fraction give the no-overlap upper bound, where only the communicating share of the step stretches by 1 / (1 - loss).

Notes

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

Assumptions: Lost fractions allocate the fixed run’s billed device-time; the no-overlap example keeps computation fixed and stretches only communication.

Excludes: Root-cause inference and recovery dynamics are absent.

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.DegradedTransceiverRun1K
>>> float(round(case.device_hours, 4))
737280.0

Attributes

Name Description
bandwidth_loss
communication_fraction
device_hour_rate
device_hours Aggregate billed accelerator-time over the run. Equation: fleet accelerator count times
fleet
lost_cost Rental value of each allocated device-time loss. Equation: lost accelerator-hours times
lost_device_hours Allocated accelerator-time lost to each stated slowdown fraction. Equation:
no_overlap_slowdown Relative step-time increase when the communication share sees reduced bandwidth.
run_duration
slowdowns

fleet

Type: Fleet.

Declared default: required.

run_duration

Type: Quantity.

Declared default: required.

slowdowns

Type: Dict[str, float].

Declared default: required.

device_hour_rate

Type: Quantity.

Declared default: required.

bandwidth_loss

Type: float.

Declared default: required.

communication_fraction

Type: float.

Declared default: required.

device_hours

engine.scenario_types.SilentSlowdownScenario.device_hours

Aggregate billed accelerator-time over the run. Equation: fleet accelerator count times run duration. Units: accelerator-hours returned as a scalar.

lost_device_hours

engine.scenario_types.SilentSlowdownScenario.lost_device_hours

Allocated accelerator-time lost to each stated slowdown fraction. Equation: device_hours * fraction for each named case. Units: scalar accelerator-hours; this is fractional allocation, not a replayed schedule.

lost_cost

engine.scenario_types.SilentSlowdownScenario.lost_cost

Rental value of each allocated device-time loss. Equation: lost accelerator-hours times the hourly price. Units: USD per named case; the tariff is constant.

no_overlap_slowdown

engine.scenario_types.SilentSlowdownScenario.no_overlap_slowdown

Relative step-time increase when the communication share sees reduced bandwidth. Equation: 1 - f + f / (1 - bandwidth_loss) - 1, with f=communication_fraction. Units: dimensionless; compute and communication are sequential.

Back to top