mirror of
				https://github.com/pytorch/pytorch.git
				synced 2025-11-04 16:04:58 +08:00 
			
		
		
		
	Fix typo under torch directory (#110824)
This PR fixes typo `the the` of comments and exception messages in files under `torch` directory. Pull Request resolved: https://github.com/pytorch/pytorch/pull/110824 Approved by: https://github.com/H-Huang
This commit is contained in:
		
				
					committed by
					
						
						PyTorch MergeBot
					
				
			
			
				
	
			
			
			
						parent
						
							d1c157c598
						
					
				
				
					commit
					b5f9696d81
				
			@ -955,7 +955,7 @@ class DistributedTest:
 | 
			
		||||
 | 
			
		||||
            with self.assertRaisesRegex(
 | 
			
		||||
                RuntimeError,
 | 
			
		||||
                "The new group's rank should be within the the world_size set by init_process_group",
 | 
			
		||||
                "The new group's rank should be within the world_size set by init_process_group",
 | 
			
		||||
            ):
 | 
			
		||||
                dist.new_subgroups_by_enumeration(
 | 
			
		||||
                    ranks_per_subgroup_list=[[0, 1], [world_size, 2]]
 | 
			
		||||
@ -971,7 +971,7 @@ class DistributedTest:
 | 
			
		||||
 | 
			
		||||
            with self.assertRaisesRegex(
 | 
			
		||||
                ValueError,
 | 
			
		||||
                "The new group's rank should be within the the world_size set by init_process_group",
 | 
			
		||||
                "The new group's rank should be within the world_size set by init_process_group",
 | 
			
		||||
            ):
 | 
			
		||||
                dist.new_subgroups_by_enumeration(
 | 
			
		||||
                    ranks_per_subgroup_list=[[-1, -2], [-3, -4]]
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user