We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1f2ad5 commit 324d8a5Copy full SHA for 324d8a5
pytorch_lightning/accelerators/cpu.py
@@ -48,7 +48,7 @@ def auto_device_count() -> int:
48
return 1
49
50
51
-def get_cpu_process_metrics() -> Dict[str, float]:
+def get_cpu_process_metrics() -> dict[str, float]:
52
if not _PSUTIL_AVAILABLE:
53
raise ModuleNotFoundError(
54
"`get_cpu_process_metrics` requires `psutil` to be installed. "
0 commit comments