remove unused var

This commit is contained in:
Balladie 2025-08-20 18:38:22 +09:00
parent 4ce6a1dd99
commit 8c6c3e5e04

View File

@ -1344,7 +1344,6 @@ def res_multistep(model, x, sigmas, extra_args=None, callback=None, disable=None
s_in = x.new_ones([x.shape[0]]) s_in = x.new_ones([x.shape[0]])
model_sampling = model.inner_model.model_patcher.get_model_object('model_sampling') model_sampling = model.inner_model.model_patcher.get_model_object('model_sampling')
sigma_fn = partial(half_log_snr_to_sigma, model_sampling=model_sampling)
lambda_fn = partial(sigma_to_half_log_snr, model_sampling=model_sampling) lambda_fn = partial(sigma_to_half_log_snr, model_sampling=model_sampling)
sigmas = offset_first_sigma_for_snr(sigmas, model_sampling) sigmas = offset_first_sigma_for_snr(sigmas, model_sampling)