nudles commented on a change in pull request #651: Add new example APIs URL: https://github.com/apache/singa/pull/651#discussion_r403806157
########## File path: src/api/dist_communicator.i ########## @@ -44,7 +44,7 @@ public: int totalMPIRanksInGlobal; int MPIRankInLocal; Communicator(int limit); - Communicator(int gpu_num, int gpu_per_node, const NcclIdHolder &holder, int limit); + Communicator(int gpu_num, int num_gpus, const NcclIdHolder &holder, int limit); Review comment: I think we can unify the terms, e.g., using <worker_id, num_workers> or <rank, local_rank and world_size> the first set is for distributed training; the second set is for communication. maybe the second set is better. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
