Skip to content

Commit d68534a

Browse files
Alan ChuAlan Chu
authored andcommitted
update comment
1 parent f9f11c6 commit d68534a

File tree

1 file changed

+1
-1
lines changed
  • src/lightning/fabric/accelerators

1 file changed

+1
-1
lines changed

src/lightning/fabric/accelerators/cpu.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def _parse_cpu_cores(cpu_cores: Union[int, str]) -> int:
7777
:class:`~lightning.pytorch.trainer.trainer.Trainer`.
7878
7979
Args:
80-
cpu_cores: An int > 0.
80+
cpu_cores: An int > 0 or a string that can be converted to an int > 0.
8181
8282
Returns:
8383
An int representing the number of processes

0 commit comments

Comments
 (0)