Spaces:
Running
Running
Update README.md
Browse files
README.md
CHANGED
@@ -82,6 +82,7 @@ See Accelerate documentation for more information (multi-node, TPU, Sharded mode
|
|
82 |
You can use the Accelerate CLI to configure the Accelerate environment (Run `accelerate config` in your terminal) instead of using the `--multi_gpu and --num_processes` flags.
|
83 |
|
84 |
```bash
|
|
|
85 |
accelerate launch --multi_gpu --num_processes 2 --num_machines 1 translate.py \
|
86 |
--sentences_path sample_text/en.txt \
|
87 |
--output_path sample_text/en2es.translation.m2m100_1.2B.txt \
|
|
|
82 |
You can use the Accelerate CLI to configure the Accelerate environment (Run `accelerate config` in your terminal) instead of using the `--multi_gpu and --num_processes` flags.
|
83 |
|
84 |
```bash
|
85 |
+
# Use 2 GPUs
|
86 |
accelerate launch --multi_gpu --num_processes 2 --num_machines 1 translate.py \
|
87 |
--sentences_path sample_text/en.txt \
|
88 |
--output_path sample_text/en2es.translation.m2m100_1.2B.txt \
|