Docs - fix typos
This commit is contained in:
omahs 2024-07-25 05:49:19 +02:00 коммит произвёл GitHub
Родитель 4102302a96
Коммит a4c87da0ac
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
2 изменённых файлов: 9 добавлений и 9 удалений

Просмотреть файл

@ -111,7 +111,7 @@ sb deploy [--docker-image]
| `--docker-username` | `None` | Docker registry username if authentication is needed. | | `--docker-username` | `None` | Docker registry username if authentication is needed. |
| `--host-file` `-f` | `None` | Path to Ansible inventory host file. | | `--host-file` `-f` | `None` | Path to Ansible inventory host file. |
| `--host-list` `-l` | `None` | Comma separated host list. | | `--host-list` `-l` | `None` | Comma separated host list. |
| `--host-password` | `None` | Host password or key passphase if needed. | | `--host-password` | `None` | Host password or key passphrase if needed. |
| `--host-username` | `None` | Host username if needed. | | `--host-username` | `None` | Host username if needed. |
| `--no-image-pull` | `False` | Skip pull and use local Docker image. | | `--no-image-pull` | `False` | Skip pull and use local Docker image. |
| `--output-dir` | `None` | Path to output directory, outputs/{datetime} will be used if not specified. | | `--output-dir` | `None` | Path to output directory, outputs/{datetime} will be used if not specified. |
@ -373,7 +373,7 @@ sb run [--config-file]
| `--get-info` | `False` | Collect system info. | | `--get-info` | `False` | Collect system info. |
| `--host-file` `-f` | `None` | Path to Ansible inventory host file. | | `--host-file` `-f` | `None` | Path to Ansible inventory host file. |
| `--host-list` `-l` | `None` | Comma separated host list. | | `--host-list` `-l` | `None` | Comma separated host list. |
| `--host-password` | `None` | Host password or key passphase if needed. | | `--host-password` | `None` | Host password or key passphrase if needed. |
| `--host-username` | `None` | Host username if needed. | | `--host-username` | `None` | Host username if needed. |
| `--no-docker` | `False` | Run on host directly without Docker. | | `--no-docker` | `False` | Run on host directly without Docker. |
| `--output-dir` | `None` | Path to output directory, outputs/{datetime} will be used if not specified. | | `--output-dir` | `None` | Path to output directory, outputs/{datetime} will be used if not specified. |

Просмотреть файл

@ -295,7 +295,7 @@ Enable current benchmark or not, can be overwritten by [`superbench.enable`](#su
### `timeout` ### `timeout`
Set the timeout value in seconds, the benchmarking will stop early if timeout is triggerred. Set the timeout value in seconds, the benchmarking will stop early if timeout is triggered.
* default value: none * default value: none
@ -336,16 +336,16 @@ A list of models to run, only supported in model-benchmark.
Parameters for benchmark to use, varying for different benchmarks. Parameters for benchmark to use, varying for different benchmarks.
There have four common parameters for all benchmarks: There are four common parameters for all benchmarks:
* run_count: how many times do user want to run this benchmark, default value is 1. * run_count: how many times does user want to run this benchmark, default value is 1.
* duration: the elapsed time of benchmark in seconds. It can work for all model-benchmark. But for micro-benchmark, benchmark authors should consume it by themselves. * duration: the elapsed time of benchmark in seconds. It can work for all model-benchmark. But for micro-benchmark, benchmark authors should consume it by themselves.
* log_raw_data: log raw data into file instead of saving it into result object, default value is `False`. Benchmarks who have large raw output may want to set it as `True`, such as `nccl-bw`/`rccl-bw`. * log_raw_data: log raw data into file instead of saving it into result object, default value is `False`. Benchmarks who have large raw output may want to set it as `True`, such as `nccl-bw`/`rccl-bw`.
* log_flushing: real-time log flushing, default value is `False`. * log_flushing: real-time log flushing, default value is `False`.
For Model-Benchmark, there have some parameters that can control the elapsed time. For Model-Benchmark, there are some parameters that can control the elapsed time.
* duration: the elapsed time of benchmark in seconds. * duration: the elapsed time of benchmark in seconds.
* num_warmup: the number of warmup step, should be positive integer. * num_warmup: the number of warmup steps, should be positive integer.
* num_steps: the number of test step. * num_steps: the number of test steps.
If `duration > 0` and `num_steps > 0`, then benchmark will take the least as the elapsed time. Otherwise only one of them will take effect. If `duration > 0` and `num_steps > 0`, then benchmark will take the least as the elapsed time. Otherwise only one of them will take effect.
@ -429,7 +429,7 @@ while `proc_num: 8, node_num: null` will run 32-GPU distributed training on all
Command prefix to use in the mode, in Python formatted string. Command prefix to use in the mode, in Python formatted string.
Available variables in formatted string includes: Available variables in formatted string include:
+ `proc_rank` + `proc_rank`
+ `proc_num` + `proc_num`