docs: fix a typo of precision (#20252)

This commit is contained in:
vincentme 2024-09-28 03:19:43 +08:00 committed by GitHub
parent 70f188b95c
commit 5be58f6271
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -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``)

View File

@ -140,7 +140,7 @@ if _CLICK_AVAILABLE:
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``)"
),
)