You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mindspore/model_zoo/utils/hccl_tools/README.md

18 lines
544 B

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

# description
MindSpore distributed training launch helper utilty that will generate hccl config file.
# use
```
python hccl_tools.py --device_num "[0,8)"
```
output:
```
hccl_[device_num]p_[which device]_[server_ip].json
```
# Note
Please note that the Ascend accelerators used must be continuous, such [0,4) means to use four chips 0123; [0,1) means to use chip 0; The first four chips are a group, and the last four chips are a group. In addition to the [0,8) chips are allowed, other cross-group such as [3,6) are prohibited.