remove not related code
This commit is contained in:
parent
7dc9d9e27e
commit
5dfb1f597b
@ -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():
|
||||||
|
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user