diff --git a/modules/impact/config.py b/modules/impact/config.py index 128aa9b..1de4647 100644 --- a/modules/impact/config.py +++ b/modules/impact/config.py @@ -1,7 +1,7 @@ import configparser import os -version_code = [7, 11, 5] +version_code = [7, 12] version = f"V{version_code[0]}.{version_code[1]}" + (f'.{version_code[2]}' if len(version_code) > 2 else '') dependency_version = 24 diff --git a/modules/impact/core.py b/modules/impact/core.py index 2abfd11..f5e4ef6 100644 --- a/modules/impact/core.py +++ b/modules/impact/core.py @@ -48,7 +48,7 @@ preview_bridge_last_mask_cache = {} current_prompt = None -SCHEDULERS = comfy.samplers.KSampler.SCHEDULERS + ['AYS SDXL', 'AYS SD1', 'AYS SVD', 'GITS[coeff=1.2]'] +SCHEDULERS = comfy.samplers.KSampler.SCHEDULERS + ['AYS SDXL', 'AYS SD1', 'AYS SVD', 'GITS[coeff=1.2]', 'LTXV[default]'] def is_execution_model_version_supported(): diff --git a/modules/impact/impact_pack.py b/modules/impact/impact_pack.py index b41c698..8b36a8c 100644 --- a/modules/impact/impact_pack.py +++ b/modules/impact/impact_pack.py @@ -2221,7 +2221,7 @@ class ImpactSchedulerAdapter: def INPUT_TYPES(s): return {"required": { "scheduler": (comfy.samplers.KSampler.SCHEDULERS, {"defaultInput": True, }), - "extra_scheduler": (['None', 'AYS SDXL', 'AYS SD1', 'AYS SVD', 'GITS[coeff=1.2]'],), + "extra_scheduler": (['None', 'AYS SDXL', 'AYS SD1', 'AYS SVD', 'GITS[coeff=1.2]', 'LTXV[default]'],), }} CATEGORY = "ImpactPack/Util" diff --git a/modules/impact/impact_sampling.py b/modules/impact/impact_sampling.py index ea1eb45..2a35894 100644 --- a/modules/impact/impact_sampling.py +++ b/modules/impact/impact_sampling.py @@ -27,6 +27,8 @@ def calculate_sigmas(model, sampler, scheduler, steps): sigmas = nodes.NODE_CLASS_MAPPINGS['AlignYourStepsScheduler']().get_sigmas(scheduler[4:], steps, denoise=1.0)[0] elif scheduler.startswith('GITS[coeff='): sigmas = nodes.NODE_CLASS_MAPPINGS['GITSScheduler']().get_sigmas(float(scheduler[11:-1]), steps, denoise=1.0)[0] + elif scheduler == 'LTXV[default]': + sigmas = nodes.NODE_CLASS_MAPPINGS['LTXVScheduler']().get_sigmas(20, 2.05, 0.95, True, 0.1)[0] else: sigmas = samplers.calculate_sigmas(model.get_model_object("model_sampling"), scheduler, steps) diff --git a/pyproject.toml b/pyproject.toml index bacda34..4be81dd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [project] name = "comfyui-impact-pack" description = "This extension offers various detector nodes and detailer nodes that allow you to configure a workflow that automatically enhances facial details. And provide iterative upscaler." -version = "7.11.5" +version = "7.12" license = { file = "LICENSE.txt" } dependencies = ["segment-anything", "scikit-image", "piexif", "transformers", "opencv-python-headless", "GitPython", "scipy>=1.11.4"]