From 94093fbea042000c36fb7184c1344880b3fe1a2f Mon Sep 17 00:00:00 2001 From: vincentme <11166542+vincentme@users.noreply.github.com> Date: Fri, 6 Sep 2024 17:14:10 +0800 Subject: [PATCH] fix typo of precision help doc --- docs/source-fabric/fundamentals/launch.rst | 2 +- src/lightning/fabric/cli.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/source-fabric/fundamentals/launch.rst b/docs/source-fabric/fundamentals/launch.rst index f8c0deecf4e25..81b6cd9d186f1 100644 --- a/docs/source-fabric/fundamentals/launch.rst +++ b/docs/source-fabric/fundamentals/launch.rst @@ -116,7 +116,7 @@ This is essentially the same as running ``python path/to/your/script.py``, but i machine. --precision [16-mixed|bf16-mixed|32-true|64-true|64|32|16|bf16] Double precision (``64-true`` or ``64``), - full precision (``32-true`` or ``64``), half + full precision (``32-true`` or ``32``), half precision (``16-mixed`` or ``16``) or bfloat16 precision (``bf16-mixed`` or ``bf16``) diff --git a/src/lightning/fabric/cli.py b/src/lightning/fabric/cli.py index 5ca46ba331622..7c81afa916196 100644 --- a/src/lightning/fabric/cli.py +++ b/src/lightning/fabric/cli.py @@ -140,7 +140,7 @@ def _main() -> None: type=click.Choice(get_args(_PRECISION_INPUT_STR) + get_args(_PRECISION_INPUT_STR_ALIAS)), default=None, help=( - "Double precision (``64-true`` or ``64``), full precision (``32-true`` or ``64``), " + "Double precision (``64-true`` or ``64``), full precision (``32-true`` or ``32``), " "half precision (``16-mixed`` or ``16``) or bfloat16 precision (``bf16-mixed`` or ``bf16``)" ), )