Skip to main content

PrefetchDepthScenario

Data scenarios · Implementation: mlsysim/engine/scenario_definitions/data.py.

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

Ready batches that cover each tier’s tail read, and host memory at a safety depth.

Notes

Equation: Compose mlsysim.solvers.PrefetchDepthModel.

Assumptions: The stated fields are inputs to mlsysim.solvers.PrefetchDepthModel; its documented validity regime, units, and modeling choices apply unchanged.

Excludes: This scenario adds no measurement, empirical calibration, or mechanisms beyond mlsysim.solvers.PrefetchDepthModel.

References

Derivation: this scenario binds its input fields to the referenced implementation contracts: mlsysim.solvers.PrefetchDepthModel. The methods below identify any additional arithmetic.

Examples

>>> from mlsysim import Scenarios
>>> case = Scenarios.PrefetchDepthByTier
>>> type(case.result).__name__
'PrefetchDepthResult'

Attributes

Name Description
batch_bytes
compute_time
consumers_per_node
result Evaluate this scenario through mlsysim.solvers.PrefetchDepthModel.solve. Equation:
safety_depth
tail_latencies

compute_time

Type: Quantity.

Declared default: required.

tail_latencies

Type: Dict[str, Quantity].

Declared default: required.

batch_bytes

Type: Quantity.

Declared default: required.

safety_depth

Type: int.

Declared default: required.

consumers_per_node

Type: int.

Declared default: required.

result

engine.scenario_types.PrefetchDepthScenario.result

Evaluate this scenario through mlsysim.solvers.PrefetchDepthModel.solve. Equation: pass the stated fields to that implementation; its contract defines the calculation and feasibility tests. Units: each returned field follows the referenced result schema; no independent equation is evaluated by this wrapper.

Back to top