Skip to content

Commit 3748e7e

Browse files
Fix regression.
1 parent 8ebf2d8 commit 3748e7e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

comfy_extras/nodes_model_advanced.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ def calculate_denoised(self, sigma, model_output, model_input):
2626
class ModelSamplingDiscreteDistilled(comfy.model_sampling.ModelSamplingDiscrete):
2727
original_timesteps = 50
2828

29-
def __init__(self, model_config=None):
30-
super().__init__(model_config)
29+
def __init__(self, model_config=None, zsnr=None):
30+
super().__init__(model_config, zsnr=zsnr)
3131

3232
self.skip_steps = self.num_timesteps // self.original_timesteps
3333

0 commit comments

Comments
 (0)