mirror of
				https://github.com/Wan-Video/Wan2.1.git
				synced 2025-11-04 06:15:17 +00:00 
			
		
		
		
	Merge fea47e70f7 into 7c81b2f27d
				
					
				
			This commit is contained in:
		
						commit
						e6efba88a5
					
				@ -712,9 +712,9 @@ class FlowUniPCMultistepScheduler(SchedulerMixin, ConfigMixin):
 | 
			
		||||
        self.timestep_list[-1] = timestep  # pyright: ignore
 | 
			
		||||
 | 
			
		||||
        if self.config.lower_order_final:
 | 
			
		||||
            this_order = min(self.config.solver_order,
 | 
			
		||||
            this_order = max(1, min(self.config.solver_order,
 | 
			
		||||
                             len(self.timesteps) -
 | 
			
		||||
                             self.step_index)  # pyright: ignore
 | 
			
		||||
                             self.step_index)) # pyright: ignore
 | 
			
		||||
        else:
 | 
			
		||||
            this_order = self.config.solver_order
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user