Update Backend

Update Backend
This commit is contained in:
lllyasviel
2023-10-25 09:40:13 -07:00
parent bb965067e0
commit 38e70cebcc
11 changed files with 288 additions and 252 deletions
+1 -1
View File
@@ -342,7 +342,7 @@ def process_diffusion(positive_cond, negative_cond, steps, switch, width, height
sigma_max = float(sigma_max.cpu().numpy())
print(f'[Sampler] sigma_min = {sigma_min}, sigma_max = {sigma_max}')
modules.patch.globalBrownianTreeNoiseSampler = BrownianTreeNoiseSampler(
modules.patch.BrownianTreeNoiseSamplerPatched.global_init(
empty_latent['samples'].to(fcbh.model_management.get_torch_device()),
sigma_min, sigma_max, seed=image_seed, cpu=False)