UNet from Scratch

Now backend rewrite is about 50% finished.
Estimated finish is in 72 hours.
After that, many newer features will land.
This commit is contained in:
layerdiffusion
2024-08-01 21:19:41 -07:00
parent e3522c8919
commit bc9977a305
20 changed files with 1393 additions and 56 deletions

View File

@@ -108,7 +108,7 @@ def sampling_prepare(unet, x):
real_model = unet.model
percent_to_timestep_function = lambda p: real_model.model_sampling.percent_to_sigma(p)
percent_to_timestep_function = lambda p: real_model.prediction.percent_to_sigma(p)
for cnet in unet.list_controlnets():
cnet.pre_run(real_model, percent_to_timestep_function)