mirror of
				https://github.com/pytorch/pytorch.git
				synced 2025-11-04 08:00: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
				
			@ -151,7 +151,7 @@ def _get_async_or_non_blocking(function_name, non_blocking, kwargs):
 | 
			
		||||
#     serialize the *state_dict* of a model, not the model itself
 | 
			
		||||
#     (since this is more stable to code changes affecting the model
 | 
			
		||||
#     serialization), and the state dict saves "data" only, thus
 | 
			
		||||
#     stripping the the backward hooks.  In some cases, hooks are
 | 
			
		||||
#     stripping the backward hooks.  In some cases, hooks are
 | 
			
		||||
#     essential to the well-functioning of a model (e.g., DDP),
 | 
			
		||||
#     but DDP already manages readding the hooks!
 | 
			
		||||
#
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user