Commit Graph

8091 Commits (0e0b607cfaabf59167e3ab2a44d491b4e4e1b08e)

Author SHA1 Message Date
awsr e7d7894130
Prevent redundant traceback display 2026-01-23 16:43:58 -08:00
awsr 3343d2e05f
Update and rewrite to use contextlib 2026-01-23 04:56:27 -08:00
Disty0 50c65ed990 Update OpenVINO to 2025.4.1 2026-01-23 14:43:42 +03:00
Disty0 8d6bfcd827 Update SDNQ 2026-01-23 14:39:07 +03:00
vladmandic b8bac68915 use base steps as-is for non sd/sdxl models
Signed-off-by: vladmandic <mandic00@live.com>
2026-01-23 10:12:11 +01:00
vladmandic a673ed2411 support comments in wildcard files
Signed-off-by: vladmandic <mandic00@live.com>
2026-01-23 10:07:38 +01:00
Vladimir Mandic 69685f198d
Merge pull request #4584 from awsr/processing-updates
Processing updates
2026-01-23 09:19:47 +01:00
Vladimir Mandic a47e2ff62f
Merge pull request #4569 from CalamitousFelicitousness/feat/wd14-tagger
feat(caption): add WD14 tagger with Booru Tags tab
2026-01-23 09:17:19 +01:00
Vladimir Mandic 51e148cd2c
Merge pull request #4583 from ryanmeador/video-element-names
fix elem_ids for some video controls
2026-01-23 09:15:13 +01:00
Vladimir Mandic 1f2b0aa56d
Merge pull request #4568 from CalamitousFelicitousness/fix/skip-params-aliases
fix(settings): support aliases in metadata skip params
2026-01-23 09:14:27 +01:00
awsr 0310dc8fd6
Fix naming, use Exception as parent class 2026-01-22 21:39:20 -08:00
vladmandic 2bfdb605cd Merge branch 'dev' of https://github.com/vladmandic/sdnext into dev 2026-01-22 19:52:08 +01:00
vladmandic 01db4d8140 use refiner/detail steps as-is for non sd/sdxl models
Signed-off-by: vladmandic <mandic00@live.com>
2026-01-22 19:50:16 +01:00
vladmandic 0073fa55e3 fix detailer double save
Signed-off-by: vladmandic <mandic00@live.com>
2026-01-22 19:38:37 +01:00
awsr 65d8c9e7f2
Implement limiting system for excessive errors 2026-01-22 03:37:52 -08:00
awsr 747ec86eb9
Fix if cls is None 2026-01-21 18:16:47 -08:00
awsr b9b36ed962
Update typing 2026-01-21 18:15:20 -08:00
awsr 418f27266e
Add compatibility fallback just in case 2026-01-21 16:57:58 -08:00
awsr 3298f3db9a
Rework prompt parsing/processing
- Return consistent structure
2026-01-21 16:57:05 -08:00
Ryan Meador e6eeb22a81 fix/add element names for some video controls that were duplicate/missing 2026-01-21 19:53:11 -05:00
awsr fe20635d0f
Minor readability improvement 2026-01-21 16:41:05 -08:00
awsr 2f8976e28d
Type standardization in `processing_class` 2026-01-21 16:35:19 -08:00
awsr 6344db1b09
Enforce typing for `geninfo` 2026-01-21 16:20:53 -08:00
awsr c2c32d7847
Improve/update types and data handling 2026-01-21 14:13:00 -08:00
Oleksandr Liutyi 4a089fb6e4 Qwen layered settings typo 2026-01-21 19:12:43 +00:00
CalamitousFelicitousness 26c679f9e7 refactor(caption): remove unused _device tracking property 2026-01-21 11:56:07 +00:00
CalamitousFelicitousness 6b10f0df4f refactor(caption): address PR review feedback
Rename WD14 module and settings to WaifuDiffusion:
- Rename wd14.py to waifudiffusion.py
- Rename WD14Tagger class to WaifuDiffusionTagger
- Rename WD14_MODELS constant to WAIFUDIFFUSION_MODELS
- Rename settings: wd14_model -> waifudiffusion_model,
  wd14_character_threshold -> waifudiffusion_character_threshold
- Update all log messages from "WD14" to "WaifuDiffusion"

Code quality improvements:
- Simplify threshold parameter defaulting using `or` operator
- Extract save_output logic into _save_tags_to_file() helper with
  isolated error handling to prevent single file failures from
  impacting entire batch
- Fix timing log format consistency (remove 's' suffix)
2026-01-21 11:56:07 +00:00
CalamitousFelicitousness becb19319d refactor(caption): unify tagger settings and reorganize Caption Tab UI
Consolidate WD14 and DeepBooru tagger settings into unified options:
- Merge wd14_general_threshold + deepbooru_score_threshold → tagger_threshold
- Merge wd14_include_rating + deepbooru_include_rating → tagger_include_rating
- Rename interrogate_score → tagger_show_scores
- Rename tagger_escape → tagger_escape_brackets
- Rename CLiP → OpenCLiP in caption type choices

UI reorganization:
- Add Interrogate tab to Caption Tab with default caption type selector
- Move interrogate_offload to Model Offloading section as "Offload caption models"
- Hide Interrogate settings section (all settings now in Caption Tab UI)
- Update locale_en.json for OpenCLiP naming

Code improvements:
- DeepBooru tag_multi() now accepts same parameters as WD14 for unified interface
- Fix setting references in interrogate.py for consolidated settings
- Add comprehensive tagger test suite (cli/test-tagger.py)
2026-01-21 11:56:07 +00:00
CalamitousFelicitousness 656e86a962 refactor(caption): consolidate interrogate settings into Caption Tab UI
Hide all CLiP, VLM, and Tagger settings from Settings > Interrogate page
while keeping them in shared.opts for persistence. Caption Tab UI becomes
the single control point with change handlers that save directly to config.

Changes:
- Hide OpenCLiP, VLM, and Tagger settings with visible=False
- Add change handlers to save settings when UI controls change
- Rename "Booru Tags" tab to "Tagger", update choice labels
- Update interrogate.py to use unified tagger interface with all settings
2026-01-21 11:56:07 +00:00
CalamitousFelicitousness 09b8fe9761 feat(caption): integrate DeepBooru into unified Booru Tagger UI
Add DeepBooru as a model option alongside WD14 models in the Booru Tags
tab, with dynamic UI that disables inapplicable controls.

Changes:
- Create modules/interrogate/tagger.py as unified adapter module
- Add batch, load/unload, get_models functions to deepbooru.py
- Update ui_caption.py to use unified tagger interface
- Consolidate shared tagger settings in shared.py
- Add implementation plan for future settings consolidation

UI behavior:
- Model dropdown shows DeepBooru + all WD14 models
- Character threshold and include rating disabled for DeepBooru
- All controls re-enable when WD14 model selected
2026-01-21 11:56:07 +00:00
CalamitousFelicitousness db97c42320 feat(caption): add WD14 tagger with Booru Tags tab
Add SmilingWolf's WD14/WaifuDiffusion tagger models for anime/illustration
tagging as a new "Booru Tags" tab in the Caption panel.

- Support 9 models (v2 and v3 variants) via HuggingFace
- ONNX backend chosen due to safetensors v3 variants exhibiting
  unacceptable accuracy loss
- Separate thresholds for general/character tags
- Batch processing with progress bar
- Consolidate debug env var to SD_INTERROGATE_DEBUG
2026-01-21 11:56:07 +00:00
Seunghoon Lee 40e366acf7
rocm hipblaslt detection fix 2026-01-21 17:07:39 +09:00
vladmandic b54d3eb07b Merge branch 'dev' of https://github.com/vladmandic/sdnext into dev 2026-01-21 08:45:58 +01:00
vladmandic bfbe4af598 fix lora load
Signed-off-by: vladmandic <mandic00@live.com>
2026-01-21 08:45:45 +01:00
Vladimir Mandic a5367308bc
Merge pull request #4577 from awsr/patch-1
Re-enable file deletion
2026-01-21 08:02:28 +01:00
awsr ffa2150d42
Re-enable file deletion 2026-01-20 22:07:44 -08:00
CalamitousFelicitousness 694e2f0427 fix(settings): support aliases in metadata skip params
The "Restore from metadata: skip params" setting previously required
exact metadata parameter names (e.g., "Batch-2" instead of "batch_size").
This was confusing because metadata names differ from Python variables
and UI labels.

Changes:
- Auto-populate param_aliases from component labels and elem_ids
- Expand user input with aliases in should_skip()
- Support normalized names so "Batch" skips both "Batch-1" and "Batch-2"

Users can now enter any of these formats (case-insensitive):
- Python variable names: batch_size, cfg_scale, clip_skip
- UI labels: Batch size, CFG scale, Clip skip
- Metadata names: Batch-2, CFG scale, Clip skip
- Normalized names: Batch (skips both Batch-1 and Batch-2)
2026-01-21 00:56:26 +00:00
vladmandic 84ad7bf20b improve wrap_gradio_call
Signed-off-by: vladmandic <mandic00@live.com>
2026-01-20 18:56:49 +01:00
vladmandic a7b69cd805 fix get_fixed_seed
Signed-off-by: vladmandic <mandic00@live.com>
2026-01-20 18:33:39 +01:00
vladmandic bb1e62f2ae fix_seed
Signed-off-by: vladmandic <mandic00@live.com>
2026-01-20 18:32:19 +01:00
vladmandic b3a99274e2 enhance SD_DEVICE_DEBUG
Signed-off-by: vladmandic <mandic00@live.com>
2026-01-20 18:12:05 +01:00
vladmandic cbc5ada65e Merge branch 'dev' of https://github.com/vladmandic/sdnext into dev 2026-01-20 17:30:24 +01:00
vladmandic b82132c17d cleanup
Signed-off-by: vladmandic <mandic00@live.com>
2026-01-20 17:30:22 +01:00
James58899 f77361f49a
Fix rocm triton windows patch 2026-01-20 20:58:04 +08:00
vladmandic f9aa2591e5 fix gallery save/delete
Signed-off-by: vladmandic <mandic00@live.com>
2026-01-20 09:53:20 +01:00
vladmandic 8cf27dffdb allow unsafe ssl context for downloads
Signed-off-by: vladmandic <mandic00@live.com>
2026-01-19 17:36:01 +01:00
vladmandic ae357a5e49 fix handling of p.seeds
Signed-off-by: vladmandic <mandic00@live.com>
2026-01-19 11:35:21 +01:00
vladmandic cc0b0e8e3d cleanup todo
Signed-off-by: vladmandic <mandic00@live.com>
2026-01-19 11:10:05 +01:00
vladmandic e8a158f4f5 refactor prompt set
Signed-off-by: vladmandic <mandic00@live.com>
2026-01-19 10:51:28 +01:00
Vladimir Mandic 204bee6d2b
Merge pull request #4567 from CalamitousFelicitousness/fix/lora-null-description
fix(ui): handle null description in network info JSON
2026-01-19 08:12:29 +01:00
CalamitousFelicitousness 66607c48e1 fix(ui): handle null description in network info JSON
Use both default parameter and `or ''` fallback to handle missing
keys and explicit null values in LoRA info JSON files.
2026-01-19 01:26:44 +00:00
vladmandic 16293375dc lora native stack improvements
Signed-off-by: vladmandic <mandic00@live.com>
2026-01-18 10:06:03 +01:00
vladmandic e0ea7c9d94 cleanup
Signed-off-by: vladmandic <mandic00@live.com>
2026-01-18 07:25:54 +01:00
Vladimir Mandic 857083ff49
Merge pull request #4560 from CalamitousFelicitousness/docs/lora-settings-hints
docs(i18n): improve LoRA settings hints and labels
2026-01-18 07:10:17 +01:00
CalamitousFelicitousness 983e396f64 docs(i18n): improve LoRA settings hints and labels
- Add detailed hints explaining LoRA fuse behavior and model reload warning
- Add hints for force reload, diffusers fuse, and quantization precision options
- Improve clarity of auto-apply tags and hash metadata hints
- Comment out unimplemented lora_quant setting
2026-01-18 03:57:43 +00:00
awsr d49c484af4
Use correct import for `piexif.helper` 2026-01-17 03:57:53 -08:00
awsr 1f3ee826ed
Fix pyright: reportOptionalMemberAccess 2026-01-17 03:31:48 -08:00
awsr bcc889d257
Fix and update layout switching 2026-01-17 03:31:07 -08:00
awsr 182bbc36a3
Avoid mixing types 2026-01-17 03:29:12 -08:00
Vladimir Mandic d934920c23 cleanup
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-01-16 17:34:34 +00:00
Vladimir Mandic 05b919f35b ltx2 improvements
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-01-16 17:31:56 +00:00
CalamitousFelicitousness b4a3a117f1 fix(shared): truncate descriptions 2026-01-16 16:24:05 +00:00
CalamitousFelicitousness 761ea1c327 feat(settings): add base path support for output folders
Change "Images folder" and "Grids folder" settings to act as base paths
that combine with specific folder settings, rather than replacing them.

- Add resolve_output_path() helper function to modules/paths.py
- Update all output path usages to use combined base + specific paths
- Update gallery API to return resolved paths with display labels
- Update gallery UI to show short labels with full path on hover

Example: If base is "C:\Database\" and specific is "outputs/text",
the resolved path becomes "C:\Database\outputs\text"

Edge cases handled:
- Empty base path: uses specific path directly (backward compatible)
- Absolute specific path: ignores base path
- Empty specific path: uses base path only
2026-01-16 16:24:05 +00:00
vladmandic b3d65f4559 logging cleanup
Signed-off-by: vladmandic <mandic00@live.com>
2026-01-16 11:32:09 +01:00
vladmandic 952696ab20 more cleanup
Signed-off-by: vladmandic <mandic00@live.com>
2026-01-16 10:58:09 +01:00
vladmandic 32b8b082e2 cleanup logging
Signed-off-by: vladmandic <mandic00@live.com>
2026-01-16 10:36:02 +01:00
vladmandic 66fc59ceb7 load error trace
Signed-off-by: vladmandic <mandic00@live.com>
2026-01-16 10:06:02 +01:00
vladmandic 680fddc036 disable fallback on models with custom loaders
Signed-off-by: vladmandic <mandic00@live.com>
2026-01-16 09:59:42 +01:00
vladmandic 0d90d95bf6 lint and safeguard glm
Signed-off-by: vladmandic <mandic00@live.com>
2026-01-16 09:40:48 +01:00
vladmandic f444679fc1 lint
Signed-off-by: vladmandic <mandic00@live.com>
2026-01-16 08:56:30 +01:00
CalamitousFelicitousness eaa8dbcd42 fix: correct comments and cleanup model descriptions
- Fix Klein text encoder comment to specify correct sizes per variant
- Lock TAESD decode logging behind SD_PREVIEW_DEBUG env var
- Fix misleading comment about FLUX.2 128-channel reshape (is fallback)
- Remove VRAM requirements from model descriptions in reference files
2026-01-16 03:24:39 +00:00
CalamitousFelicitousness 5e2bc01367 fix(taesd): remove unused variable warning 2026-01-16 03:06:48 +00:00
CalamitousFelicitousness c605a1bb62 feat(taesd): add FLUX.2 preview support
Enable live preview during FLUX.2 and FLUX.2 Klein image generation
using the TAE FLUX.2 decoder from madebyollin/taesd.

- Add dedicated TAE entries (FLUX.1, FLUX.2, SD3) that auto-select
  based on model type, making the dropdown only affect SD/SDXL models
- Add FLUX.2 latent unpacking in callback to convert packed
  [B, seq_len, 128] format to spatial [B, 32, H, W] for preview
- Support FLUX.2's 32 latent channels (vs 16 for FLUX.1/SD3)
2026-01-16 03:01:52 +00:00
CalamitousFelicitousness fe99d3fe5d feat: add FLUX.2 Klein model support
Add support for FLUX.2 Klein distilled models (4B and 9B variants):

- Add pipeline loader for Flux2KleinPipeline
- Add model detection for 'flux.2' + 'klein' patterns
- Add pipeline mapping in shared_items
- Add shared Qwen3ForCausalLM text encoder handling:
  - 4B variants use Z-Image-Turbo's Qwen3-8B
  - 9B variants use FLUX.2-klein-9B's Qwen3-14B
- Add reference entries for distilled (4B, 9B) and base models
- Update diffusers commit for Flux2KleinPipeline support
2026-01-16 01:35:20 +00:00
Aleri Kaisattera 12098eea15
Fix 2026-01-15 16:49:18 +06:00
Aleri Kaisattera 4edcb6bec1
Add Kandinsky Image 5 and CogView 2026-01-15 16:48:27 +06:00
Aleri Kaisattera f3948b6244
Merge branch 'dev' into taesd-expand 2026-01-15 16:42:40 +06:00
Vladimir Mandic 30da7803b5 futureproof
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-01-15 09:29:26 +00:00
vladmandic 71d3482168 cleanup model types
Signed-off-by: vladmandic <mandic00@live.com>
2026-01-15 08:30:48 +01:00
vladmandic 387b3c7c36 split reference.json
Signed-off-by: vladmandic <mandic00@live.com>
2026-01-15 08:23:07 +01:00
Vladimir Mandic d35658536b
Merge pull request #4548 from CalamitousFelicitousness/feat/glm-image-support
add GLM-Image pipeline support
2026-01-15 08:01:32 +01:00
Aleri Kaisattera b262d1445a
Expand TAESD previews to a few more models 2026-01-14 22:00:29 +06:00
Disty0 c2bc47e0c1 SDNQ expose Dyn quant on settings 2026-01-14 16:54:50 +03:00
Disty0 034b0844fe register sdnq classes 2026-01-14 16:25:56 +03:00
Disty0 784cda80aa update sdnq 2026-01-14 16:23:26 +03:00
vladmandic 4dbdee10e3 switch lora logic and improve ui networks filter
Signed-off-by: vladmandic <mandic00@live.com>
2026-01-14 10:31:21 +01:00
Vladimir Mandic ff06011349
Merge pull request #4547 from awsr/typing
Typing and related
2026-01-14 08:38:21 +01:00
CalamitousFelicitousness 3f259cff9a add GLM-Image pipeline support
- Add GLM-Image (zai-org/GLM-Image) model detection and loading
- Custom pipeline loader with proper component handling:
  - ByT5 text encoder (cannot use shared T5 due to different hidden size)
  - Vision-language encoder (9B AR model)
  - DiT transformer (7B)
- Fix EOS token early stopping in AR generation
- Add AR token generation progress tracking with terminal progress bar
- Fix uninitialized audio variable in processing
- Add TAESD support for GLM-Image (using f1 variant)
2026-01-14 03:33:49 +00:00
awsr 494dd1c4b1
Remove unnecessary typing 2026-01-13 16:54:17 -08:00
awsr 6335130ca5
Rewrite to satisfy type checker 2026-01-13 16:44:54 -08:00
awsr b2798b15db
Improved Options init 2026-01-13 16:08:58 -08:00
awsr 071ba20cc3
Trim leading and trailing space from doc 2026-01-13 15:41:30 -08:00
awsr 56d90b629c
Reorder imports 2026-01-13 15:33:29 -08:00
awsr de52f6bfda
Update ui_models.py 2026-01-13 15:33:18 -08:00
awsr 1dffdc17a9
Revert classvar removal. Simplify and update 2026-01-13 14:30:34 -08:00
Vladimir Mandic 8500156888 improve queue management
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-01-13 12:58:14 +00:00
awsr cf41ba15d9
More robust type enforcement 2026-01-13 04:10:35 -08:00
awsr 3654d0fa18
Update typing, remove incorrect typing 2026-01-13 04:09:58 -08:00
awsr 6cec9828e8
Fix OptionInfo typing
Warning: This effectively disables type checking for `shared.opts`
2026-01-13 04:08:48 -08:00
awsr 08c871e8d1
Remove unused class vars 2026-01-13 04:08:48 -08:00
awsr a30229c6f0
Type update and minor consolidation 2026-01-13 02:23:19 -08:00
awsr ec86e52ded
Correct type enforcement 2026-01-13 02:11:58 -08:00
awsr 2394a7fac1
Ignore false positives with static typing 2026-01-13 02:10:38 -08:00
awsr 1a083a54f4
Use generic type 2026-01-13 02:08:11 -08:00
Vladimir Mandic e7809b11cd reapply offload hooks on diffusers lora load
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-01-13 10:07:30 +00:00
vladmandic f21a943028 gallery save/delete checks
Signed-off-by: vladmandic <mandic00@live.com>
2026-01-13 09:57:22 +01:00
awsr 3c9e349176
Explicit conversion to `list` 2026-01-12 14:39:36 -08:00
awsr 8932f11837
Use `cast` to resolve type error
No impact during runtime
2026-01-12 14:38:30 -08:00
Vladimir Mandic 33e0d0f9ed ltx2 vae fix
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-01-12 18:40:25 +00:00
vladmandic 5e4ed9c9bb fix ltx2
Signed-off-by: vladmandic <mandic00@live.com>
2026-01-12 17:12:13 +01:00
vladmandic 280da2c10b cleanup
Signed-off-by: vladmandic <mandic00@live.com>
2026-01-12 16:14:32 +01:00
CalamitousFelicitousness ca3aecef2d Revert: btn_generate.click call removal 2026-01-12 14:12:44 +00:00
CalamitousFelicitousness 9f6e34371f revert: restore state tracking in control/run.py 2026-01-12 14:12:44 +00:00
CalamitousFelicitousness 2fd52ae230 fix(control): ensure state cleanup runs reliably
Fix control tab getting stuck in running state
after generation completes.
2026-01-12 14:12:44 +00:00
vladmandic e4e863fd6d lint and update diffusers
Signed-off-by: vladmandic <mandic00@live.com>
2026-01-12 12:31:29 +01:00
CalamitousFelicitousness e881faa2fb feat(vlm): align default generation settings
Update default settings for both Prompt Enhance and VQA:
- max_tokens: 512 (prompt enhance)
- do_sample: True
- temperature: 0.8

These defaults provide better output quality with more creative
variation while maintaining coherent results.
2026-01-12 00:17:20 +00:00
CalamitousFelicitousness 0659759e90 fix(vqa): improve unload logging consistency
Add before/after debug messages when unloading VQA model to match
the pattern used in prompt enhance for better debugging visibility.
2026-01-12 00:17:20 +00:00
Vladimir Mandic c1f9646eaa
Merge pull request #4541 from awsr/save-update
Update config saving
2026-01-11 13:05:29 +01:00
awsr 418134b820
Update default filename handling 2026-01-10 14:53:07 -08:00
awsr 7e947e8150
Update saving 2026-01-10 13:58:13 -08:00
awsr 0faabffc14
Simplify options init/save/load 2026-01-10 13:27:38 -08:00
Disty0 fa2917a6be cleanup 2026-01-10 20:48:36 +03:00
Disty0 f4d87d6cdf fix ltx2 fp64 on alchemist 2026-01-10 20:46:03 +03:00
vladmandic a6a5b9ff54 ltx image cond
Signed-off-by: vladmandic <mandic00@live.com>
2026-01-10 12:56:42 +01:00
vladmandic ffe1e2a861 cleanup
Signed-off-by: vladmandic <mandic00@live.com>
2026-01-10 11:32:32 +01:00
vladmandic 85332594fc triton test reduce verbosity
Signed-off-by: vladmandic <mandic00@live.com>
2026-01-10 10:32:13 +01:00
vladmandic 2cba0d8fe0 explictly disable hires for detailer pass
Signed-off-by: vladmandic <mandic00@live.com>
2026-01-10 10:26:51 +01:00
vladmandic b386675c06 ltx-2 prototype
Signed-off-by: vladmandic <mandic00@live.com>
2026-01-10 09:31:59 +01:00
vladmandic 9261b65beb add Qwen-Image-2512-SDNQ-4bit-dynamic
Signed-off-by: vladmandic <mandic00@live.com>
2026-01-10 08:47:28 +01:00
vladmandic ec007a3018 add laplace beta scheduler
Signed-off-by: vladmandic <mandic00@live.com>
2026-01-10 08:41:27 +01:00
CalamitousFelicitousness 1aab61aa47
Cleanup 2026-01-10 03:08:22 +00:00
CalamitousFelicitousness 9fe9d9521c fix(cloud): support three Google GenAI auth modes, use UI settings only 2026-01-09 00:30:55 +00:00
Disty0 47dcab3522 update sdnq 2026-01-09 00:34:32 +03:00
vladmandic 49e09e625c update diffusers
Signed-off-by: vladmandic <mandic00@live.com>
2026-01-08 09:27:49 +01:00
vladmandic 899514c5b8 lint update
Signed-off-by: vladmandic <mandic00@live.com>
2026-01-08 08:51:35 +01:00
vladmandic 7fe09db97e cleanup offload calls
Signed-off-by: vladmandic <mandic00@live.com>
2026-01-08 08:35:25 +01:00
vladmandic a36cd157ec force move to device if offload=none
Signed-off-by: vladmandic <mandic00@live.com>
2026-01-08 08:18:41 +01:00
Ryan Meador c1c4d6e0ee prevent accelerate from recreating keys such as and so that the VAE decode will progress. resolves #4526 2026-01-07 22:19:11 -05:00
vladmandic 8d03d7c5b2 hidiffusion tracing
Signed-off-by: vladmandic <mandic00@live.com>
2026-01-07 15:27:14 +01:00
vladmandic 1a39b82fea switch processing class not restoring params
Signed-off-by: vladmandic <mandic00@live.com>
2026-01-07 11:35:13 +01:00
Seunghoon Lee fa85b267a5
clean up 2026-01-07 15:01:39 +09:00
Seunghoon Lee 9195116e46
zluda init 2026-01-07 14:59:42 +09:00
Seunghoon Lee 7426386c09
clean up 2026-01-07 14:58:45 +09:00
Seunghoon Lee f71c11e5c1
hipblaslt log 2026-01-07 13:58:04 +09:00
vladmandic 3ec1f604d2 cleanup label
Signed-off-by: vladmandic <mandic00@live.com>
2026-01-06 10:57:45 +01:00
vladmandic f08aaef7c2 auto-display input-media on send-to
Signed-off-by: vladmandic <mandic00@live.com>
2026-01-06 10:29:58 +01:00
vladmandic 8e1b03b095 Merge branch 'dev' of https://github.com/vladmandic/sdnext into dev 2026-01-06 08:12:45 +01:00
vladmandic 18e141e6e4 add qwen-2512 prequants
Signed-off-by: vladmandic <mandic00@live.com>
2026-01-06 08:07:22 +01:00
Seunghoon Lee f4b592ac3a
fix windows hipblaslt check 2026-01-06 11:32:04 +09:00
vladmandic 7f9cc66045 fix decode-image exception
Signed-off-by: vladmandic <mandic00@live.com>
2026-01-05 20:07:33 +01:00
vladmandic a846a90fca exception handler
Signed-off-by: vladmandic <mandic00@live.com>
2026-01-05 19:27:37 +01:00
vladmandic 458391eb5e Merge branch 'dev' of https://github.com/vladmandic/sdnext into dev 2026-01-05 15:10:55 +01:00
vladmandic e7e2063f67 fix image sizing
Signed-off-by: vladmandic <mandic00@live.com>
2026-01-05 15:10:53 +01:00
Seunghoon Lee 91c4aa1ad4
handle rocm packages even on linux 2026-01-05 18:41:53 +09:00
vladmandic cfc620a08a force align width/height to vae scale factor
Signed-off-by: vladmandic <mandic00@live.com>
2026-01-05 09:42:37 +01:00
Seunghoon Lee 1aac6baadd
check for hipblaslt when using rocm package 2026-01-05 14:03:50 +09:00
vladmandic 87429b19ca kanvas add send-to functionality
Signed-off-by: vladmandic <mandic00@live.com>
2026-01-04 19:37:10 +01:00
vladmandic deb59c60fc add SD_VAE_DEFAULT
Signed-off-by: vladmandic <mandic00@live.com>
2026-01-04 17:55:01 +01:00
awsr df9dad5c7e
Add attachment point for non-ModernUI 2026-01-04 00:37:43 -08:00
Seunghoon Lee 9dce5cac9f
clean up 2026-01-03 21:09:02 +09:00
Seunghoon Lee 49965dfda8
get_hip_arch_name -> get_hip_agent, use amdhip64_7.dll served within rocm package 2026-01-03 21:00:36 +09:00
Seunghoon Lee 0158e61814
minor fix 2026-01-03 20:43:22 +09:00
Seunghoon Lee 14aa94345c
use gfx1100-dgpu for dgpus 2026-01-03 20:41:54 +09:00
vladmandic b9c18452f2 unify hip get arch name
Signed-off-by: vladmandic <mandic00@live.com>
2026-01-03 08:22:19 +01:00
vladmandic f6289206d8 startup sequence optimizations
Signed-off-by: vladmandic <mandic00@live.com>
2026-01-03 07:54:05 +01:00
vladmandic 4e8b0f83b4 lint
Signed-off-by: vladmandic <mandic00@live.com>
2026-01-01 16:33:49 +01:00
vladmandic 49578171c5 fix wildcards with folder specifier
Signed-off-by: vladmandic <mandic00@live.com>
2026-01-01 11:13:56 +01:00
Vladimir Mandic 2404a3cb85
Merge branch 'dev' into dev 2026-01-01 10:53:41 +01:00
Vladimir Mandic 6b1978406b
Merge pull request #4507 from awsr/ext-table
Extension table update
2026-01-01 10:28:52 +01:00
Tillerz f0d67ea816
Merge branch 'vladmandic:dev' into dev 2025-12-31 12:26:29 +01:00
Oliver Hertel 6985faf5f2 weighted wildcards fix: ignore token weights 2025-12-31 12:16:28 +01:00
awsr 4de810b15d
Minor cleanup of function for installing from URL 2025-12-31 00:33:51 -08:00
awsr 632cf64d70
Update regex 2025-12-30 16:35:32 -08:00
awsr a8bce14ee7
Remove unused icons 2025-12-30 16:26:49 -08:00
awsr d14c64caa2
UI update
- Remove headers for "enable" and "status"
- Set status icon width to 1rem
- Remove `if_modern()`
2025-12-30 16:24:47 -08:00
awsr 67c5384d97
Standardize SVG input to minimal format
- Remove newlines
- Convert multiple spaces to just a single space
- Remove space between tags
- Remove surrounding whitespace
2025-12-30 14:06:24 -08:00
vladmandic f7bb9f54fc Merge branch 'dev' of https://github.com/vladmandic/sdnext into dev 2025-12-30 22:15:12 +01:00
vladmandic 0a8f5f2aa3 fix todo metadata
Signed-off-by: vladmandic <mandic00@live.com>
2025-12-30 22:15:09 +01:00
Oliver Hertel ab9d3332e9 allow weights for wildcards: {red:0.3|green:0.7} 2025-12-30 21:31:09 +01:00
Disty0 8e34866238 SDNQ fix outdated PyTorch 2025-12-30 21:29:41 +03:00
vladmandic 595b07aef4 update base models
Signed-off-by: vladmandic <mandic00@live.com>
2025-12-30 18:36:02 +01:00
awsr cae3249757
Ensure styling works correctly with display:block 2025-12-30 00:41:52 -08:00
awsr 24da36282e
Update extension table layout
- Use icons on Modern UI to better fit being in a narrow sidebar. (Full labels kept for Standard UI)
- Swap Status and Enabled columns.
- Improve status and enabled element spacing on Standard UI.
- Minor readability improvements to extension information.
- *Internal*: Add `if_modern()`  function to `shared.py` to switch between two inputs depending on whether the Modern UI is being used or not.
2025-12-30 00:10:13 -08:00
awsr e22f807f93
Update `make_wrappable_html` function 2025-12-29 23:45:20 -08:00
awsr a5b7531d00
Update ui_symbols.py
- Fix wrong warning code in comment.
- Replace all instances of `currentColor` when stylizing.
- Enforce proper SVGSymbol usage.
2025-12-29 15:43:12 -08:00
awsr 69865cf620
Fix regex and lru_cache 2025-12-28 16:59:57 -08:00
awsr 811ff45f21
Set default svg_bullet display to block 2025-12-28 16:56:16 -08:00
awsr e1a4331a21
Update configurable symbols
- Support additional properties.
- Cached values.
2025-12-28 16:55:55 -08:00
awsr 0a20b58170
Merge branch 'dev' into ext-table 2025-12-28 14:28:51 -08:00
awsr 5df4b093d3
Make seconds optional and only show them in logs 2025-12-28 14:25:36 -08:00
Disty0 5e934a12a2 sdnq cleanup unused args 2025-12-28 20:08:58 +03:00
Vladimir Mandic 8bbe0aa239
Merge pull request #4505 from awsr/time-fixes
Functionality update to extensions handling
2025-12-28 15:06:06 +01:00
awsr 5a9a5d4f68
Add word break tags to snake_case and camelCase names
Otherwise these are not normally considered word-wrapping points.
2025-12-28 04:22:21 -08:00
awsr be954a9812
Use helper function 2025-12-28 03:21:28 -08:00
awsr 39e9bbed1b
Update message
Bad data message will be handled by a different update to `readfile`
2025-12-28 03:14:44 -08:00
awsr 7c01fd71de
Don't warn about file if not reading from a file
Leave that up to the other log messages
2025-12-28 03:10:22 -08:00
awsr 89fd729d74
Restore accidental deletion 2025-12-28 03:02:39 -08:00
awsr 66f55a7d7c
Better data handling 2025-12-28 02:59:51 -08:00
awsr 70081e0d74
Fix default value 2025-12-28 02:38:17 -08:00
awsr 691ace3543
Add warning messages 2025-12-28 02:25:43 -08:00
awsr 6761ebd2a7
Remove sending `force` argument
`git_fetch()` un-sets the `have_info_from_repo` flag so it's not needed
2025-12-28 02:01:20 -08:00
awsr f1414b0d61
Update log message 2025-12-28 01:33:11 -08:00
awsr 96e9cdae31
Fix update availability logic
Bug that was hidden by the other bug that was fixed on this line. (See PR https://github.com/vladmandic/sdnext/pull/4501)
2025-12-28 01:32:37 -08:00
awsr 885cbcd118
Finalize utility format and usage
- Renamed to `format_dt`
- Only show values in UTC and omit "UTC" display
2025-12-28 01:25:23 -08:00
awsr 4d3dfac0a0
Add timestamp-to-UTC datetime util 2025-12-28 00:10:35 -08:00
awsr d05ad24309
Fix reversed logic 2025-12-27 18:51:40 -08:00
awsr b25bfb6cba
More robust time string handling 2025-12-27 17:11:27 -08:00
awsr 214d84feea
Ensure information is actually updated
I'm assuming this is what was intended because otherwise there would be no reason to refresh information again after updating.
2025-12-27 16:44:20 -08:00
awsr 4bd9d20972
TZ-aware and time formatting 2025-12-27 16:44:19 -08:00
awsr 4649e7a865
Switch to type-safe file loading 2025-12-27 16:44:19 -08:00
awsr 1e4b1cbbae
Add helper functions 2025-12-27 16:44:19 -08:00
awsr 816d05b072
Use consistent default values/types 2025-12-27 16:44:19 -08:00
Disty0 259a38a2ed fix sdnq lora 2025-12-27 23:07:53 +03:00
Disty0 b852ff42ef SDNQ fix wrong fp8 mm type is set 2025-12-27 17:27:05 +03:00
Disty0 db59d2b507 SDNQ handle packed floats in fp mm 2025-12-27 16:29:18 +03:00
Vladimir Mandic 95eeeb614f
Merge pull request #4501 from awsr/time-fixes
Fix time comparison order
2025-12-27 08:50:28 +01:00
awsr 2e1e141a39
Add short version of checkpoint titles
Fixes compatibility with some extensions, including updated adetailer.
2025-12-26 20:54:49 -08:00
Disty0 448e7b7735 replace the default fp6 type 2025-12-27 02:10:12 +03:00
awsr 39fc355d2f
Fix time comparison order 2025-12-26 15:08:42 -08:00
Vladimir Mandic 9b891944b5
Merge pull request #4500 from awsr/js-import-fix
Fix incorrect variable check
2025-12-26 22:32:54 +01:00
Disty0 761fb82685 fix missing comma 2025-12-26 21:27:57 +03:00
Disty0 22b9e69a3e cleanup whitespace 2025-12-26 21:18:56 +03:00
Disty0 fd6c89a626 cleanup 2025-12-26 21:16:55 +03:00
awsr d58d109407
Fix incorrect variable check 2025-12-26 09:25:25 -08:00
Disty0 e7fa690321 cleanup 2025-12-26 20:10:55 +03:00
Disty0 4a4784eafa SDNQ add new stack of custom floating point types and remove irrelevant qtypes from the ui list 2025-12-26 20:09:17 +03:00
vladmandic bb13aabe17 add ovis-image
Signed-off-by: vladmandic <mandic00@live.com>
2025-12-26 08:05:25 +01:00
Disty0 f37fa88824 remove ModuleList and ModuleDict from no_split_module_classes 2025-12-25 14:30:37 +03:00
Vladimir Mandic 0b1e6d2d3c improve offloading
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-12-25 10:24:02 +00:00
vladmandic 3a96c514c4 cleanup
Signed-off-by: vladmandic <mandic00@live.com>
2025-12-24 15:10:43 +01:00
vladmandic 93e3658b8d cleanup auth login msg
Signed-off-by: vladmandic <mandic00@live.com>
2025-12-24 10:50:39 +01:00
vladmandic fab224c4df zimage-controlnet-union initial code
Signed-off-by: vladmandic <mandic00@live.com>
2025-12-24 10:42:42 +01:00
vladmandic a319a98e59 error handling of meta embeds
Signed-off-by: vladmandic <mandic00@live.com>
2025-12-23 10:23:14 +01:00
Disty0 471b6dc1b7 SDNQ add siglip_embedder to ZImage skip keys 2025-12-23 04:32:54 +03:00
vladmandic 72b533a52a cleanup layered again
Signed-off-by: vladmandic <mandic00@live.com>
2025-12-22 22:52:56 +01:00
vladmandic b5a5efaf62 cleanup
Signed-off-by: vladmandic <mandic00@live.com>
2025-12-22 22:14:12 +01:00
vladmandic 4c43d9a1e6 cleanup qwen
Signed-off-by: vladmandic <mandic00@live.com>
2025-12-22 22:08:49 +01:00
vladmandic 2a33d9f1a8 add qwen-image-layered
Signed-off-by: vladmandic <mandic00@live.com>
2025-12-22 21:24:27 +01:00
vladmandic a78a99f0ff use balanced for auto-detected 4gb gpu
Signed-off-by: vladmandic <mandic00@live.com>
2025-12-22 21:03:46 +01:00
vladmandic dde91321b9 genai exception handling and lint all
Signed-off-by: vladmandic <mandic00@live.com>
2025-12-22 20:29:50 +01:00
vladmandic 4c35d3887e nvml warn once
Signed-off-by: vladmandic <mandic00@live.com>
2025-12-22 09:17:15 +01:00
awsr dfe6e889d8
Fix imports 2025-12-20 01:42:03 -08:00
awsr 1a5f7ef642
Update OptionInfo import 2025-12-20 00:34:09 -08:00
awsr 148f16daed
Move LegacyOption back to shared_legacy.py
Seems like Python doesn't actually consider it a circular import in this instance.
2025-12-20 00:31:13 -08:00
awsr b0dc758099
Change Mapping type to dict 2025-12-19 23:52:47 -08:00
awsr 4d4cf0cef1
Update options typing 2025-12-19 21:22:50 -08:00
awsr 072cab438d
Use Any type for `default` for now 2025-12-19 19:17:52 -08:00
awsr e2c5fc0a21
Add simple docstring 2025-12-19 15:46:16 -08:00
awsr f8b812b68e
Add Callable type annotation to `onchange` 2025-12-19 00:30:11 -08:00
awsr 878f2f5aa6
Use True/False instead of True/None 2025-12-19 00:22:57 -08:00