mirror of
				https://github.com/Wan-Video/Wan2.1.git
				synced 2025-11-04 06:15:17 +00:00 
			
		
		
		
	fixed small issue with matanyone
This commit is contained in:
		
							parent
							
								
									ab614b09a6
								
							
						
					
					
						commit
						743f6911a1
					
				@ -944,6 +944,7 @@ class WanModel(ModelMixin, ConfigMixin):
 | 
			
		||||
        if torch.is_tensor(freqs) and freqs.device != device:
 | 
			
		||||
            freqs = freqs.to(device)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
        x_list = x
 | 
			
		||||
        joint_pass = len(x_list) > 1
 | 
			
		||||
        is_source_x = [ x.data_ptr() == x_list[0].data_ptr() and i > 0 for i, x in enumerate(x_list) ]
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										4
									
								
								wgp.py
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								wgp.py
									
									
									
									
									
								
							@ -6295,10 +6295,10 @@ def set_new_tab(tab_state, new_tab_no):
 | 
			
		||||
        else:
 | 
			
		||||
            vmc_event_handler(True)
 | 
			
		||||
    tab_state["tab_no"] = new_tab_no
 | 
			
		||||
    return gr.Tabs() 
 | 
			
		||||
 | 
			
		||||
def select_tab(tab_state, evt:gr.SelectData):
 | 
			
		||||
    set_new_tab(tab_state, evt.index)
 | 
			
		||||
    return gr.Tabs() 
 | 
			
		||||
    return set_new_tab(tab_state, evt.index)
 | 
			
		||||
 | 
			
		||||
def get_js():
 | 
			
		||||
    start_quit_timer_js = """
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user