EfficiencyClaimGapScenario
Statistics scenarios · Implementation: mlsysim/engine/scenario_definitions/statistics.py.
Construct this scenario with keyword inputs. The fields below show the types and defaults declared by this class.
A datasheet operating point against a sustained one: operations per watt at each, and their ratio.
The gap is the product of the throughput fall and the power rise, so a reader who compares only the throughputs underestimates it.
Notes
Equation: The calculation members below define claimed_efficiency, sustained_efficiency, gap, rate_fall, power_rise.
Assumptions: Each supplied rate is paired with the power at that operating point.
Excludes: A prediction of sustained efficiency from datasheet peaks.
References
Derivation: A datasheet operating point against a sustained one: operations per watt at each, and their ratio. Each member records the corresponding algebra or named physics function.
Examples
Evaluate the named configuration and display a modeled result.
>>> from mlsysim import Scenarios
>>> case = Scenarios.DatasheetVersusSustainedEdgeChip
>>> value = case.gap
>>> print(f"{value:.3g}")
13.3Attributes
| Name | Description |
|---|---|
| claimed_efficiency | Claimed operation rate per watt, expressed as TOPS/W. |
| claimed_power | |
| claimed_rate | |
| gap | Dimensionless claimed-to-sustained efficiency ratio. |
| power_rise | Sustained power divided by claimed power, a dimensionless power multiplier. |
| rate_fall | Claimed rate divided by sustained rate, a dimensionless throughput gap. |
| sustained_efficiency | Sustained operation rate per watt, expressed as TOPS/W. |
| sustained_power | |
| sustained_rate |
claimed_rate
Type: Quantity.
Declared default: required.
claimed_power
Type: Quantity.
Declared default: required.
sustained_rate
Type: Quantity.
Declared default: required.
sustained_power
Type: Quantity.
Declared default: required.
claimed_efficiency
engine.scenario_types.EfficiencyClaimGapScenario.claimed_efficiency
Claimed operation rate per watt, expressed as TOPS/W.
Equation: (claimed_rate / claimed_power).to('TOPS/W').
sustained_efficiency
engine.scenario_types.EfficiencyClaimGapScenario.sustained_efficiency
Sustained operation rate per watt, expressed as TOPS/W.
Equation: (sustained_rate / sustained_power).to('TOPS/W').
gap
engine.scenario_types.EfficiencyClaimGapScenario.gap
Dimensionless claimed-to-sustained efficiency ratio.
Equation: (claimed_efficiency / sustained_efficiency).to('').magnitude.
rate_fall
engine.scenario_types.EfficiencyClaimGapScenario.rate_fall
Claimed rate divided by sustained rate, a dimensionless throughput gap.
Equation: (claimed_rate / sustained_rate).to('').magnitude.
power_rise
engine.scenario_types.EfficiencyClaimGapScenario.power_rise
Sustained power divided by claimed power, a dimensionless power multiplier.
Equation: (sustained_power / claimed_power).to('').magnitude.