mirror of
https://github.com/lllyasviel/stable-diffusion-webui-forge.git
synced 2026-03-07 14:09:47 +00:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user