3 Commits

Author SHA1 Message Date
copilot-swe-agent[bot]
4ee7e8bfd4 Add .gitignore and remove pycache from repository
Co-authored-by: jags111 <5968619+jags111@users.noreply.github.com>
2026-02-03 23:01:03 +00:00
copilot-swe-agent[bot]
292b444099 Add IS_CHANGED method to TSC_LoRA_Stacker to fix lag
Co-authored-by: jags111 <5968619+jags111@users.noreply.github.com>
2026-02-03 23:00:48 +00:00
copilot-swe-agent[bot]
ffa6fde8f3 Initial plan 2026-02-03 22:58:16 +00:00
2 changed files with 12 additions and 21 deletions

27
.gitignore vendored
View File

@@ -1,23 +1,10 @@
# Python cache files # Python cache files
__pycache__/ __pycache__/
*.py[cod] *.pyc
*$py.class *.pyo
*.so *.pyd
# Distribution / packaging # Compiled files
.Python *.so
build/ *.dll
develop-eggs/ *.dylib
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
*.egg-info/
.installed.cfg
*.egg

View File

@@ -326,6 +326,10 @@ 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
@@ -506,7 +510,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:
smZ_cfg_denoiser.register_hooks() comfy.samplers.KSampler = smZ_cfg_denoiser.SDKSampler
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: