Skip to content

Commit 324d8a5

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent a1f2ad5 commit 324d8a5

File tree

1 file changed

+1
-1
lines changed
  • pytorch_lightning/accelerators

1 file changed

+1
-1
lines changed

pytorch_lightning/accelerators/cpu.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def auto_device_count() -> int:
4848
return 1
4949

5050

51-
def get_cpu_process_metrics() -> Dict[str, float]:
51+
def get_cpu_process_metrics() -> dict[str, float]:
5252
if not _PSUTIL_AVAILABLE:
5353
raise ModuleNotFoundError(
5454
"`get_cpu_process_metrics` requires `psutil` to be installed. "

0 commit comments

Comments
 (0)