From 521fa25bb2723c9c7ec372a544619c935f797279 Mon Sep 17 00:00:00 2001 From: noobyalan Date: Sun, 30 Aug 2026 02:30:11 +0200 Subject: [PATCH] docs: fix mixed precision argument in examples --- examples/README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/README.md b/examples/README.md index 069dd7c284a..28a1c7f22cd 100644 --- a/examples/README.md +++ b/examples/README.md @@ -52,7 +52,7 @@ To run it in each of these various modes, use the following commands: python ./nlp_example.py # from a server with a GPU ``` - with fp16 (mixed-precision) - * from any server by passing `mixed_precison=fp16` to the `Accelerator`. + * from any server by passing `mixed_precision=fp16` to the `Accelerator`. ```bash python ./nlp_example.py --mixed_precision fp16 ``` @@ -150,13 +150,13 @@ To run it in each of these various modes, use the following commands: python ./cv_example.py # from a server with a GPU ``` - with fp16 (mixed-precision) - * from any server by passing `mixed_precison=fp16` to the `Accelerator`. + * from any server by passing `mixed_precision=fp16` to the `Accelerator`. ```bash - python ./cv_example.py --data_dir path_to_data --mixed_precison fp16 + python ./cv_example.py --data_dir path_to_data --mixed_precision fp16 ``` * from any server with Accelerate launcher ```bash - accelerate launch --mixed_precison fp16 ./cv_example.py --data_dir path_to_data + accelerate launch --mixed_precision fp16 ./cv_example.py --data_dir path_to_data - multi CPUs (requires Open MPI, Intel MPI, or MVAPICH) * With Accelerate config and launcher, run the following from node 0: ```bash