Infrastructure, Distributed Training & Scaling · Problem 3 of 4
Implement a 1F1B pipeline-schedule simulator reporting the bubble fraction for given (stages, micro-batches).
Implement the function/class skeleton in the editor. Any correct approach is accepted.
def simulate_1f1b(p, m, f_cost=1, b_cost=1):
raise NotImplementedErrorReady when you are
Submit your solution and a structured review appears here — verdict, score, and concrete feedback. Any correct approach passes.
Implement a 1F1B pipeline-schedule simulator reporting the bubble fraction for given (stages, micro-batches).
Implement the function/class skeleton in the editor. Any correct approach is accepted.