mirror of
				https://github.com/facebookresearch/sam2.git
				synced 2025-11-04 11:32:12 +08:00 
			
		
		
		
	nits
This commit is contained in:
		
							parent
							
								
									c692a7743d
								
							
						
					
					
						commit
						b3eaddab6f
					
				@ -980,9 +980,7 @@ class SAM2VideoPredictorVOS(SAM2VideoPredictor):
 | 
				
			|||||||
        self._compile_all_components()
 | 
					        self._compile_all_components()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    def _compile_all_components(self):
 | 
					    def _compile_all_components(self):
 | 
				
			||||||
        print(
 | 
					        print("Compiling all components for VOS setting. First time may be very slow.")
 | 
				
			||||||
            "Compiling all components for for vos setting. First time may be very slow."
 | 
					 | 
				
			||||||
        )
 | 
					 | 
				
			||||||
        self.memory_encoder.forward = torch.compile(
 | 
					        self.memory_encoder.forward = torch.compile(
 | 
				
			||||||
            self.memory_encoder.forward,
 | 
					            self.memory_encoder.forward,
 | 
				
			||||||
            mode="max-autotune",
 | 
					            mode="max-autotune",
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user