solvers.NetworkRooflineModel

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 Solves for the distributed performance bound.

solve

solvers.NetworkRooflineModel.solve(
    model,
    fleet,
    precision='fp16',
    efficiency=0.5,
)

Solves for the distributed performance bound.

Back to top