RANK_TABLE_FILE Generation Method

The processor resource configuration file (RANK_TABLE_FILE) for distributed communication of Ascend AI Processors needs to be generated.

Ascend HCCL RANK_TABLE_FILE provides cluster information about Ascend distributed training jobs. To build this file, download the hccl_tools.py script and refer to the README file.

# Generate rank_table_file for 8-device training.
python hccl_tools.py --device_num "[0,8)"