mirror of
				https://github.com/ml-explore/mlx.git
				synced 2025-11-04 10:38:10 +08:00 
			
		
		
		
	Fix run without distributed
This commit is contained in:
		@@ -168,7 +168,7 @@ struct GroupImpl {
 | 
			
		||||
    int success;
 | 
			
		||||
 | 
			
		||||
    // If we are expecting anyone to connect to us
 | 
			
		||||
    if (rank_ < peers.size() - 1) {
 | 
			
		||||
    if (rank_ + 1 < peers.size()) {
 | 
			
		||||
      // Create the socket to wait for connections from the peers
 | 
			
		||||
      int sock = socket(AF_INET, SOCK_STREAM, 0);
 | 
			
		||||
      if (sock < 0) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user