diff --git a/src/lightning/fabric/utilities/throughput.py b/src/lightning/fabric/utilities/throughput.py index d96673df64..0688bf9ead 100644 --- a/src/lightning/fabric/utilities/throughput.py +++ b/src/lightning/fabric/utilities/throughput.py @@ -223,7 +223,7 @@ class ThroughputMonitor(Throughput): logger = ... fabric = Fabric(logger=logger) - throughput = ThroughputMonitor() + throughput = ThroughputMonitor(fabric) t0 = time() for i in range(1, 100): do_work()