Commit Graph

12129 Commits (cc0b0e8e3d65e8a703685a95a43c9010cdeb96d2)

Author SHA1 Message Date
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
vladmandic 9a62c47490 Merge branch 'dev' of https://github.com/vladmandic/sdnext into dev 2026-01-19 08:11:38 +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
Vladimir Mandic 2c5b082095
Merge pull request #4566 from liutyi/dev
FLUX.2-klein SDNQ Cover images
2026-01-18 17:06:02 +01:00
Oleksandr Liutyi 9e23e53340 FLUX.2-klein SDNQ Cover images 2026-01-18 15:29:39 +00:00
vladmandic 16293375dc lora native stack improvements
Signed-off-by: vladmandic <mandic00@live.com>
2026-01-18 10:06:03 +01:00
vladmandic 9e3b261836 Merge branch 'dev' of https://github.com/vladmandic/sdnext into dev 2026-01-18 07:30:14 +01:00
vladmandic 77612b746e refresh
Signed-off-by: vladmandic <mandic00@live.com>
2026-01-18 07:30:12 +01:00
Vladimir Mandic b460d1635a
Merge branch 'master' into dev 2026-01-18 07:27:08 +01:00
vladmandic ba74483e16 Merge branch 'dev' of https://github.com/vladmandic/sdnext into dev 2026-01-18 07:25:58 +01:00
vladmandic e0ea7c9d94 cleanup
Signed-off-by: vladmandic <mandic00@live.com>
2026-01-18 07:25:54 +01:00
Vladimir Mandic 6f5e576ea7
Merge pull request #4556 from CalamitousFelicitousness/feat/f2preq-ref
feat(flux2-klein): add SDNQ pre-quantized model support and reference images
2026-01-18 07:14:23 +01:00
Vladimir Mandic 13cddf13be
Merge pull request #4561 from CalamitousFelicitousness/fix/gallery-sort
fix(ui): improve gallery sorting and IndexedDB operations
2026-01-18 07:12:34 +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
Vladimir Mandic 779d4ca81f
Merge pull request #4559 from awsr/extra-networks-update
Fix layout switching + minor updates
2026-01-18 07:07:56 +01:00
CalamitousFelicitousness c07eddb58d fix(ui): improve gallery sorting and IndexedDB operations
- Enhance gallery sorting functionality
- Update IndexedDB operations for better reliability
2026-01-18 04:03:19 +00: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
CalamitousFelicitousness dd9001b20d fix(model_flux2_klein): update generic.py and pipeline 2026-01-17 21:36:44 +00:00
CalamitousFelicitousness 33ee04a9f3 feat(flux2-klein): add SDNQ pre-quantized model support and reference images
- Add Transformers v5 tokenizer compatibility fix for SDNQ Klein models
  Downloads missing vocab.json, merges.txt, tokenizer_config.json from
  Z-Image-Turbo when needed
- Detect SDNQ repos and disable shared text encoder to use pre-quantized
  weights from the SDNQ repo instead of loading from shared base model
- Update reference-quant.json with correct preview images and metadata
  for Klein SDNQ models
- Update reference-distilled.json with correct cfg_scale (1.0) for
  distilled Klein models per official HuggingFace documentation
- Add 6 Klein model preview images
2026-01-17 21:36:44 +00:00
Vladimir Mandic 4cb2f62846
Merge pull request #4557 from liutyi/dev
FLUX.2-klein cover images
2026-01-17 14:11:26 +01: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
Oleksandr Liutyi b0f607b03f FLUX.2-klein cover images 2026-01-17 10:41:07 +00: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
Vladimir Mandic 78e1dbdcb2
Merge pull request #4555 from CalamitousFelicitousness/feat/base-output-paths
Feat/base output paths
2026-01-16 18:29:36 +01: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 3dfa154281 cleanup
Signed-off-by: vladmandic <mandic00@live.com>
2026-01-16 09:49:46 +01:00
vladmandic df88b2478b update wiki
Signed-off-by: vladmandic <mandic00@live.com>
2026-01-16 09:43:58 +01:00
vladmandic 0d90d95bf6 lint and safeguard glm
Signed-off-by: vladmandic <mandic00@live.com>
2026-01-16 09:40:48 +01:00
vladmandic a8b9719e5e add flux2-klein sdnq prequantized
Signed-off-by: vladmandic <mandic00@live.com>
2026-01-16 09:00:30 +01:00
vladmandic f444679fc1 lint
Signed-off-by: vladmandic <mandic00@live.com>
2026-01-16 08:56:30 +01:00
Vladimir Mandic 39ee8bdad3
Merge pull request #4553 from CalamitousFelicitousness/feat/flux2-klein-support
Feat/flux2 klein support
2026-01-16 08:49:26 +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 749371364b lint 2026-01-16 03:03:47 +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
vladmandic 6f86cc633f Merge branch 'dev' of https://github.com/vladmandic/sdnext into dev 2026-01-15 21:20:37 +01:00
vladmandic c0dc5f510f update changelog
Signed-off-by: vladmandic <mandic00@live.com>
2026-01-15 21:20:34 +01:00