mirror of
https://github.com/jags111/efficiency-nodes-comfyui.git
synced 2026-03-21 13:12:13 -03:00
Update bnk_tiled_samplers.py
This commit is contained in:
committed by
GitHub
parent
ab8a2814f6
commit
ac40f67589
@@ -123,8 +123,8 @@ def sample_common(model, add_noise, noise_seed, tile_width, tile_height, tiling_
|
||||
# positive_copy = comfy.sample.convert_cond(positive)
|
||||
# negative_copy = comfy.sample.convert_cond(negative)
|
||||
#change made due to changes in omfy.sampler's 'convert cond' has been removed.. check if any error persists.
|
||||
positive_copy = positive[:]
|
||||
negative_copy = negative[:]
|
||||
positive_copy = comfy.sampler_helpers.convert_cond(positive)
|
||||
negative_copy = comfy.sampler_helpers.convert_cond(negative)
|
||||
modelPatches, inference_memory = comfy.sample.get_additional_models(positive_copy, negative_copy, model.model_dtype())
|
||||
comfy.model_management.load_models_gpu([model] + modelPatches, model.memory_required(noise.shape) + inference_memory)
|
||||
real_model = model.model
|
||||
|
||||
Reference in New Issue
Block a user