Skip to content

Commit 5be58f6

Browse files
authored
docs: fix a typo of precision (#20252)
1 parent 70f188b commit 5be58f6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/source-fabric/fundamentals/launch.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ This is essentially the same as running ``python path/to/your/script.py``, but i
116116
machine.
117117
--precision [16-mixed|bf16-mixed|32-true|64-true|64|32|16|bf16]
118118
Double precision (``64-true`` or ``64``),
119-
full precision (``32-true`` or ``64``), half
119+
full precision (``32-true`` or ``32``), half
120120
precision (``16-mixed`` or ``16``) or
121121
bfloat16 precision (``bf16-mixed`` or
122122
``bf16``)

src/lightning/fabric/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ def _main() -> None:
140140
type=click.Choice(get_args(_PRECISION_INPUT_STR) + get_args(_PRECISION_INPUT_STR_ALIAS)),
141141
default=None,
142142
help=(
143-
"Double precision (``64-true`` or ``64``), full precision (``32-true`` or ``64``), "
143+
"Double precision (``64-true`` or ``64``), full precision (``32-true`` or ``32``), "
144144
"half precision (``16-mixed`` or ``16``) or bfloat16 precision (``bf16-mixed`` or ``bf16``)"
145145
),
146146
)

0 commit comments

Comments
 (0)