diff --git a/zeus/monitor/energy.py b/zeus/monitor/energy.py index d4037f73..d485021a 100644 --- a/zeus/monitor/energy.py +++ b/zeus/monitor/energy.py @@ -194,6 +194,7 @@ def __init__( "for more information or disable CPU measurement by passing cpu_indices=[] to " "ZeusMonitor" ) from err + self.cpus = EmptyCPUs() # Resolve GPU indices. If the user did not specify `gpu_indices`, use all available GPUs. self.gpu_indices = (