mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
remove unnecessary assertion
This commit is contained in:
parent
11d7e6b92f
commit
c6ae9f1176
@ -429,7 +429,6 @@ class Sampler(object):
|
||||
conditionings = [uc] + [c for c,weight in weighted_cond_list]
|
||||
weights = [1] + [weight for c,weight in weighted_cond_list]
|
||||
chunk_count = ceil(len(conditionings)/2)
|
||||
assert(len(conditionings)>=2, "need at least one uncond and one cond")
|
||||
deltas = None
|
||||
for chunk_index in range(chunk_count):
|
||||
offset = chunk_index*2
|
||||
|
Loading…
Reference in New Issue
Block a user