Skip to content

Commit d61f6fe

Browse files
authored
Fix Fabric's ThroughputMonitor docs (#19464)
1 parent 3fbc29b commit d61f6fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lightning/fabric/utilities/throughput.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ class ThroughputMonitor(Throughput):
223223
224224
logger = ...
225225
fabric = Fabric(logger=logger)
226-
throughput = ThroughputMonitor()
226+
throughput = ThroughputMonitor(fabric)
227227
t0 = time()
228228
for i in range(1, 100):
229229
do_work()

0 commit comments

Comments
 (0)