From d61f6fecd4285d148b7ad34ab8d4b909844cbc30 Mon Sep 17 00:00:00 2001 From: Sebastian Raschka Date: Tue, 13 Feb 2024 13:59:25 -0600 Subject: [PATCH] Fix Fabric's ThroughputMonitor docs (#19464) --- src/lightning/fabric/utilities/throughput.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()