Commit Graph

13776 Commits

Author SHA1 Message Date
Vladimir Mandic 2b81eadecf add force dtype on load
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-06-20 09:38:50 +02:00
Vladimir Mandic 359280864a mps install torchsde
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-06-20 08:15:35 +02:00
Vladimir Mandic 37924d398e Merge pull request #4936 from Artheriax/dev
User option to enable/disable out-of-focus live previews
2026-06-20 08:09:50 +02:00
Disty0 440aa0d105 typing 2026-06-19 03:28:09 +03:00
Disty0 bd3eac047f SDNQ fix NPU accuracy 2026-06-19 02:59:21 +03:00
Disty0 7d14e814bd SDNQ revert NPU default 2026-06-19 01:55:06 +03:00
Disty0 38820cbbd9 SDNQ add NPU support and default to NPU on CPUs with OpenVINO 2026-06-19 00:12:22 +03:00
Pablo Hellmann bac713b45e Revert changes to dist files 2026-06-18 20:29:00 +02:00
Disty0 8a9f5c0761 sdnq fix use_contiguous_mm check with openvino 2026-06-18 20:03:47 +03:00
Disty0 5244f63554 SDNQ add OpenVINO MM for CPUs 2026-06-18 18:15:57 +03:00
Vladimir Mandic b18d12f8d2 Merge branch 'master' into dev 2026-06-18 11:49:04 +02:00
Vladimir Mandic 8d4ebcd5ef processors multiple fixes
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-06-18 11:45:34 +02:00
Vladimir Mandic 7c81bc2d50 lint fixes
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-06-18 11:45:34 +02:00
Vladimir Mandic b60c67ecd4 fix preview mapping
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-06-18 11:45:34 +02:00
Vladimir Mandic 6b02ac059d fix pulid
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-06-18 11:45:34 +02:00
Disty0 4b89d65639 Remove CPU from use_contiguous_mm 2026-06-17 22:10:50 +03:00
Pablo Hellmann 642a2be76f Add user option to enable/disable not-in-focus live previews 2026-06-17 16:08:37 +02:00
Pablo Hellmann 396b15e567 Revert "Adds per step based live preview as a option"
This reverts commit ecad61ce92.
2026-06-17 16:00:05 +02:00
Pablo Hellmann fbc1f66805 Revert "Ruff fixes"
This reverts commit 10145f7f2b.
2026-06-17 16:00:03 +02:00
Disty0 8214b044e3 SDNQ show a warining for no Triton instead and stop overriding matmul to false 2026-06-17 02:17:21 +03:00
Pablo Hellmann 10145f7f2b Ruff fixes 2026-06-16 20:23:06 +02:00
Pablo Hellmann ecad61ce92 Adds per step based live preview as a option 2026-06-16 20:20:18 +02:00
Pablo Hellmann 4dc0ec4401 Merge branch 'vladmandic:dev' into dev 2026-06-16 16:20:53 +02:00
Pablo Hellmann 07d5836679 Revert "Made live preview and progress tracker per step based with new UI setting"
This reverts commit 7bb0b06254.
2026-06-16 16:20:19 +02:00
Pablo Hellmann 653f525ba5 Revert "Better description of setting"
This reverts commit c13f7b174e.
2026-06-16 16:20:11 +02:00
Vladimir Mandic c2c36a8d76 Merge pull request #4937 from vladmandic/dev
merge dev
2026-06-16
2026-06-16 12:17:57 +02:00
Vladimir Mandic 37fc1da9ba update changelog
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-06-16 12:13:24 +02:00
Vladimir Mandic b0dd94ab8a fix tinyvae with anima
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-06-16 11:58:36 +02:00
Vladimir Mandic aba915ff44 update changelog
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-06-16 11:25:56 +02:00
CalamitousFelicitousness 0769d423a7 fix(upscale): make SeedVR2 generation_step patch idempotent
UpscalerSeedVR.load_model() rebinds the module-global
generation.generation_step (called by name inside generation_loop) to
the instance's model_step wrapper, keeping the previous value to call
back into. That global was never restored, so the second pass through
load_model() saved the wrapper itself as the "original", making
model_step() call itself -> RecursionError.

The second pass is reached on any model (re)load: with upscaler_unload
enabled (self.model reset to None after each run) every subsequent run
recurses, and switching SeedVR variants (self.model_loaded != model_name)
triggers it even without unload.

Stash the pristine generation_step on the module once and have the
wrapper call that, so repeated loads never wrap the wrapper.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-16 10:18:21 +01:00
Vladimir Mandic ccae78ca66 Potential fix for pull request finding 'CodeQL / Workflow does not contain permissions'
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2026-06-16 10:17:13 +02:00
Vladimir Mandic 25262146fb lint fix
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-06-16 10:16:17 +02:00
Vladimir Mandic d65180cde3 Merge branch 'master' into dev 2026-06-16 10:15:05 +02:00
Vladimir Mandic 6cc2a9582f Merge pull request #4935 from QualiaRain/fix/lora-network-shape-guard
fix(lora): guard self.shape for modules without a weight attribute
2026-06-16 09:01:24 +02:00
Vladimir Mandic 8f5759ac01 fix video prompt
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-06-16 08:47:19 +02:00
Vladimir Mandic d989bac108 Merge pull request #4932 from QualiaRain/fix/hypertile-hires-dimensions
fix(hypertile): correct width/height mapping in hires set_resolution
2026-06-16 08:37:43 +02:00
Vladimir Mandic 524c059b79 Merge pull request #4931 from QualiaRain/fix/controlnet-unit-guards
fix(control-units): list zimage controlnets under 'all'; fix LLLite output-block fall-through
2026-06-16 08:37:12 +02:00
Vladimir Mandic 9b3687ca55 Merge pull request #4930 from QualiaRain/fix/runtime-and-detect-guards
fix(runtime): capture bias dtype cast, coerce env seq-len to int, init pipeline before use
2026-06-16 08:36:11 +02:00
Vladimir Mandic b4079881ec Merge pull request #4929 from QualiaRain/fix/api-input-guards
fix(api): IP-adapter mask accumulation, null params, colon-in-password, raw allowed path
2026-06-16 08:35:35 +02:00
Vladimir Mandic d131606153 Merge pull request #4928 from QualiaRain/fix/lora-extract-component-selection
fix(lora-extract): stop overwriting the module selection list; fix dead no-LoRA guard
2026-06-16 08:33:09 +02:00
Vladimir Mandic cf64578f48 Merge pull request #4927 from QualiaRain/fix/control-video-frame-advance
fix(control): advance video frames via cap, not the always-None video var
2026-06-16 08:28:09 +02:00
Pablo Hellmann d6b4759108 Revert "Added wd-vit-tagger-v3 large variant"
This reverts commit 6b568014bd.
2026-06-16 03:38:16 +02:00
Pablo Hellmann c13f7b174e Better description of setting 2026-06-16 03:28:36 +02:00
Pablo Hellmann 7bb0b06254 Made live preview and progress tracker per step based with new UI setting 2026-06-16 03:18:37 +02:00
Pablo Hellmann 17cb853c2c Merge branch 'vladmandic:dev' into dev 2026-06-16 02:23:16 +02:00
Disty0 78243b70a4 sharpfin don't use antialias with area mode 2026-06-15 23:41:58 +03:00
QualiaRain 42a4b82c8e fix(lora): guard self.shape for modules without a weight attribute
NetworkModule.__init__ set self.shape only inside 'if hasattr(sd_module, weight)' but then used len(self.shape) unconditionally, raising AttributeError when a LoRA targets a weightless module. Default shape to None and skip the dora_norm_dims computation when absent.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-06-15 15:20:08 -04:00
QualiaRain 14a8eebbb8 fix(hypertile): correct width/height mapping in hires set_resolution
hr_upscale_to_x is the width dimension and hr_upscale_to_y the height (see processing_class.py); set_resolution assigned them transposed, producing swapped HyperTile geometry on non-square hires passes.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-06-15 15:20:07 -04:00
QualiaRain bbbb450884 fix(control-units): list zimage controlnets under 'all'; fix LLLite output-block fall-through
api_list_models omitted the 'or model_type == all' clause for zimage, so ZImage ControlNets never appeared in the all listing - added it to match every other family. lite_model used pass for the unimplemented root==output branch, which fell through to b = getattr(b, attn_name) with b unbound or stale from a prior iteration (UnboundLocalError or wrong-block patch); use continue to skip it.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-06-15 15:20:07 -04:00
QualiaRain a68da643f1 fix(runtime): capture bias dtype cast, coerce env seq-len to int, init pipeline before use
sd_hijack_accelerate.py: bias.to(weight.dtype) discarded its result (Tensor.to is not in-place), so the conv still received the mismatched bias. sd_hijack_te.py: os.environ.get returns a str when MAX_SEQUENCE_LENGTH is set, so max(int, str) raised TypeError (uncaught, before the try); coerce with int(). sd_detect.py: pipeline was referenced in 'if callable(pipeline)' but only assigned when cls is not None, raising UnboundLocalError for a model_index.json without _class_name.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-06-15 15:20:07 -04:00