remove not related code

This commit is contained in:
Kohaku-Blueleaf 2023-05-22 23:36:16 +08:00
parent 7dc9d9e27e
commit 5dfb1f597b
2 changed files with 0 additions and 2 deletions

View File

@ -41,7 +41,6 @@ def list_optimizers():
optimizers.clear() optimizers.clear()
optimizers.extend(new_optimizers) optimizers.extend(new_optimizers)
print(optimizers)
def apply_optimizations(): def apply_optimizations():

View File

@ -312,7 +312,6 @@ class KDiffusionSampler:
if p.sampler_noise_scheduler_override: if p.sampler_noise_scheduler_override:
sigmas = p.sampler_noise_scheduler_override(steps) sigmas = p.sampler_noise_scheduler_override(steps)
elif p.enable_custom_k_sched: elif p.enable_custom_k_sched:
print(p.k_sched_type, p.sigma_min, p.sigma_max, p.rho)
sigmas_func = k_diffusion_scheduler[p.k_sched_type] sigmas_func = k_diffusion_scheduler[p.k_sched_type]
sigmas_kwargs = { sigmas_kwargs = {
'sigma_min': p.sigma_min, 'sigma_min': p.sigma_min,