forked from docs/doc-exports
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com> Co-authored-by: Lai, Weijian <laiweijian4@huawei.com> Co-committed-by: Lai, Weijian <laiweijian4@huawei.com>
2.1 KiB
2.1 KiB
How Do I Obtain RANK_TABLE_FILE on ModelArts for Distributed Training?
ModelArts automatically provides the RANK_TABLE_FILE file for you. Obtain the file location through environment variables.
- Open the notebook terminal and run the following command to view RANK_TABLE_FILE:
1env | grep RANK
- In a training job, add the following code to the first line of the training startup script to print the value of RANK_TABLE_FILE:
1os.system('env | grep RANK')
Parent topic: Functional Consulting