From 5e1826ae64cf82578f0c496d676b0d0b882a3e16 Mon Sep 17 00:00:00 2001 From: Extraltodeus Date: Tue, 27 Aug 2024 10:36:49 +0200 Subject: [PATCH] Update custom_samplers.py --- custom_samplers.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/custom_samplers.py b/custom_samplers.py index 8430e43..bbe84be 100644 --- a/custom_samplers.py +++ b/custom_samplers.py @@ -3,13 +3,6 @@ from comfy.k_diffusion.sampling import trange, to_d import comfy.model_patcher import comfy.samplers -""" -I wrote this logic initially to merge models. -If you want to use this for that, I do not recommand to subtract -the entire batch at once but to iterate manually unless you have -a ton of memory. -""" - @torch.no_grad() def fast_distance_weights(t,p=2): d = torch.zeros_like(t,device=t.device)