mirror of
https://github.com/jags111/efficiency-nodes-comfyui.git
synced 2026-05-07 09:06:44 -03:00
Compare commits
3 Commits
copilot/fi
...
copilot/fi
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d7577069e0 | ||
|
|
040aea25a1 | ||
|
|
cd682e645f |
27
.gitignore
vendored
27
.gitignore
vendored
@@ -1,10 +1,23 @@
|
|||||||
# Python cache files
|
# Python cache files
|
||||||
__pycache__/
|
__pycache__/
|
||||||
*.pyc
|
*.py[cod]
|
||||||
*.pyo
|
*$py.class
|
||||||
*.pyd
|
|
||||||
|
|
||||||
# Compiled files
|
|
||||||
*.so
|
*.so
|
||||||
*.dll
|
|
||||||
*.dylib
|
# Distribution / packaging
|
||||||
|
.Python
|
||||||
|
build/
|
||||||
|
develop-eggs/
|
||||||
|
dist/
|
||||||
|
downloads/
|
||||||
|
eggs/
|
||||||
|
.eggs/
|
||||||
|
lib/
|
||||||
|
lib64/
|
||||||
|
parts/
|
||||||
|
sdist/
|
||||||
|
var/
|
||||||
|
wheels/
|
||||||
|
*.egg-info/
|
||||||
|
.installed.cfg
|
||||||
|
*.egg
|
||||||
|
|||||||
@@ -326,10 +326,6 @@ class TSC_LoRA_Stacker:
|
|||||||
FUNCTION = "lora_stacker"
|
FUNCTION = "lora_stacker"
|
||||||
CATEGORY = "Efficiency Nodes/Stackers"
|
CATEGORY = "Efficiency Nodes/Stackers"
|
||||||
|
|
||||||
@classmethod
|
|
||||||
def IS_CHANGED(cls, **kwargs):
|
|
||||||
return float("nan")
|
|
||||||
|
|
||||||
def lora_stacker(self, input_mode, lora_count, lora_stack=None, **kwargs):
|
def lora_stacker(self, input_mode, lora_count, lora_stack=None, **kwargs):
|
||||||
|
|
||||||
# Extract values from kwargs
|
# Extract values from kwargs
|
||||||
@@ -510,7 +506,7 @@ class TSC_KSampler:
|
|||||||
rng_source, cfg_denoiser, add_seed_noise, m_seed, m_weight = script["noise"]
|
rng_source, cfg_denoiser, add_seed_noise, m_seed, m_weight = script["noise"]
|
||||||
smZ_rng_source.rng_rand_source(rng_source) # this function monkey patches comfy.sample.prepare_noise
|
smZ_rng_source.rng_rand_source(rng_source) # this function monkey patches comfy.sample.prepare_noise
|
||||||
if cfg_denoiser:
|
if cfg_denoiser:
|
||||||
comfy.samplers.KSampler = smZ_cfg_denoiser.SDKSampler
|
smZ_cfg_denoiser.register_hooks()
|
||||||
if add_seed_noise:
|
if add_seed_noise:
|
||||||
comfy.sample.prepare_noise = cg_mixed_seed_noise.get_mixed_noise_function(comfy.sample.prepare_noise, m_seed, m_weight)
|
comfy.sample.prepare_noise = cg_mixed_seed_noise.get_mixed_noise_function(comfy.sample.prepare_noise, m_seed, m_weight)
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user