Files
cs249r_book/mlsysim/docs/api/solvers.NetworkRooflineModel.qmd
2026-05-31 15:05:17 -04:00

37 lines
1.0 KiB
Plaintext

# solvers.NetworkRooflineModel { #mlsysim.solvers.NetworkRooflineModel }
```python
solvers.NetworkRooflineModel()
```
Analyzes the Distributed Performance Bounds (The Network Wall).
This model elevates the single-node Roofline analysis to the fleet scale.
It calculates the Communication Intensity (CI) of a workload and identifies
if the fleet is Compute-Bound (Wall 1) or Network-Bound (Wall 2).
Literature Source:
1. Reddi et al. (2025), "Machine Learning Systems," Volume 2, Chapter 1.
2. Williams et al. (2009), "Roofline Model." (Theoretical basis)
3. Ghose et al. (2019), "A Survey of Communication-Efficient Distributed
Training."
## Methods
| Name | Description |
| --- | --- |
| [solve](#mlsysim.solvers.NetworkRooflineModel.solve) | Solves for the distributed performance bound. |
### solve { #mlsysim.solvers.NetworkRooflineModel.solve }
```python
solvers.NetworkRooflineModel.solve(
model,
fleet,
precision='fp16',
efficiency=0.5,
)
```
Solves for the distributed performance bound.