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 f9f11c6 commit d68534aCopy full SHA for d68534a
src/lightning/fabric/accelerators/cpu.py
@@ -77,7 +77,7 @@ def _parse_cpu_cores(cpu_cores: Union[int, str]) -> int:
77
:class:`~lightning.pytorch.trainer.trainer.Trainer`.
78
79
Args:
80
- cpu_cores: An int > 0.
+ cpu_cores: An int > 0 or a string that can be converted to an int > 0.
81
82
Returns:
83
An int representing the number of processes
0 commit comments