Commit Graph

12468 Commits (9de84792b4c4ae644fe84df73e97ecffac01a163)

Author SHA1 Message Date
Oleksandr Liutyi 9de84792b4 FireRed Edit preview image 2026-02-20 17:40:28 +00:00
Vladimir Mandic 6fdd3a53cf reduce mandatory requirements
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-02-18 17:53:08 +01:00
Vladimir Mandic d6bbfe3dc2 experimental python==3.14 support
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-02-17 22:08:36 +01:00
Vladimir Mandic ab44e59bd1
Merge pull request #4653 from liutyi/dev
Anima and Unipc 3 DMD preview with metadata
2026-02-17 18:31:08 +01:00
Oleksandr Liutyi 859072c683 Unipic3-DMD preview 2026-02-17 17:12:40 +00:00
Oleksandr Liutyi 84c95442ee Anima preview with metadata 2026-02-17 11:25:54 +00:00
vladmandic e307ef5e1b update todo
Signed-off-by: vladmandic <mandic00@live.com>
2026-02-17 09:09:25 +01:00
vladmandic 71afd3fb6f handle missing preview
Signed-off-by: vladmandic <mandic00@live.com>
2026-02-17 09:02:42 +01:00
vladmandic 0d0996878d fix ltx2-i2v
Signed-off-by: vladmandic <mandic00@live.com>
2026-02-17 08:50:11 +01:00
vladmandic bcd2e76597 add skywork-unipic3
Signed-off-by: vladmandic <mandic00@live.com>
2026-02-17 08:38:39 +01:00
vladmandic 3dde41faa5 cleanup previews and add firered
Signed-off-by: vladmandic <mandic00@live.com>
2026-02-17 08:19:23 +01:00
vladmandic 73b90c5228 redo all locales
Signed-off-by: vladmandic <mandic00@live.com>
2026-02-14 21:48:06 +01:00
Vladimir Mandic 6876d2b84d
Merge pull request #4649 from awsr/hashing-followup
Hashing fix followup
2026-02-14 11:02:35 +01:00
awsr dd776936d6
Remove previous error handler
- New fallback seems to be more stable than previous tries.
2026-02-13 22:53:53 -08:00
awsr 254198360f
Only add to cache if hash is available 2026-02-13 21:23:55 -08:00
awsr 792d2a4d99
Add fallback counter 2026-02-13 21:23:54 -08:00
awsr 43f134d9f9
Keep error handling within GalleryFile 2026-02-13 21:23:54 -08:00
Vladimir Mandic 2b460dd624
Merge pull request #4646 from awsr/patch-2
Remove debugging console log
2026-02-12 21:38:57 +01:00
awsr bce97efbf8
Remove debugging console log 2026-02-12 12:23:51 -08:00
Vladimir Mandic 82e91439bf update modernui
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-02-12 11:52:41 +00:00
vladmandic b1679152a0 update changelog
Signed-off-by: vladmandic <mandic00@live.com>
2026-02-12 12:51:26 +01:00
Vladimir Mandic 31ec4cb6e0
Merge pull request #4644 from awsr/patch-2
Add progress bar fallback if hashing fails
2026-02-12 12:46:29 +01:00
awsr e683884d5f
Move trigger back to correct location 2026-02-12 03:41:44 -08:00
awsr 9f9d67713d
Fix error message display 2026-02-12 03:41:00 -08:00
awsr 6971f3438c
Implement error method for gallery progress
Handle instances when Web Crypto API is not available.
2026-02-12 03:40:02 -08:00
Vladimir Mandic 63c5e493be add software version of sha256
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-02-12 11:34:28 +00:00
Vladimir Mandic c25c35ebb3 live preview ui sizing
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-02-12 10:15:30 +00:00
vladmandic ae8a6257c4 typo
Signed-off-by: vladmandic <mandic00@live.com>
2026-02-12 10:37:40 +01:00
vladmandic ccd3e2e489 cleanup settings
Signed-off-by: vladmandic <mandic00@live.com>
2026-02-12 10:30:39 +01:00
vladmandic 88db926ecd remove clip as requirement
Signed-off-by: vladmandic <mandic00@live.com>
2026-02-12 08:40:10 +01:00
vladmandic 3ee816888e reduce logging on prompt apply
Signed-off-by: vladmandic <mandic00@live.com>
2026-02-11 18:37:35 +01:00
vladmandic cf5e1e0df2 cleanup convert
Signed-off-by: vladmandic <mandic00@live.com>
2026-02-11 18:09:57 +01:00
vladmandic da1cf2f996 refactor image methods
Signed-off-by: vladmandic <mandic00@live.com>
2026-02-11 12:29:00 +01:00
vladmandic 0ed64ec195 cleanup
Signed-off-by: vladmandic <mandic00@live.com>
2026-02-11 11:34:40 +01:00
vladmandic 3a4efcc444 update pyproject.toml
Signed-off-by: vladmandic <mandic00@live.com>
2026-02-11 11:28:01 +01:00
vladmandic 1b4f94660f cleanup
Signed-off-by: vladmandic <mandic00@live.com>
2026-02-11 11:15:59 +01:00
Vladimir Mandic 41f206dec9
Merge pull request #4637 from CalamitousFelicitousness/refactor/remove-face-restoration
Refactor/remove face restoration
2026-02-11 11:12:34 +01:00
vladmandic 78c58e0d70 update precommit
Signed-off-by: vladmandic <mandic00@live.com>
2026-02-11 11:12:21 +01:00
CalamitousFelicitousness 8563e2a853 refactor: restore codeformer_model.py to avoid merge conflicts 2026-02-11 09:59:55 +00:00
vladmandic b4e5b563c6 update lint rules
Signed-off-by: vladmandic <mandic00@live.com>
2026-02-11 10:47:07 +01:00
vladmandic 73a5d55022 cleanup
Signed-off-by: vladmandic <mandic00@live.com>
2026-02-11 10:12:37 +01:00
vladmandic 8561da6f8c cleanup
Signed-off-by: vladmandic <mandic00@live.com>
2026-02-11 10:02:41 +01:00
vladmandic 967974ade7 merge cleanup
Signed-off-by: vladmandic <mandic00@live.com>
2026-02-11 09:57:37 +01:00
vladmandic 3ae9909b2a update sharpfin usage
Signed-off-by: vladmandic <mandic00@live.com>
2026-02-11 09:57:37 +01:00
CalamitousFelicitousness dc8ecb0a64 refactor: address remaining PR #4640 review comments
- Remove _get_device_dtype() indirection, inline device/dtype at call sites
- Remove commented-out fallback blocks and try/finally wrappers
- Add modules/sharpfin to ruff and pylint excludes in pyproject.toml
- Fix import ordering in joytag.py and pixelart.py
2026-02-11 09:57:37 +01:00
CalamitousFelicitousness 162651cbdb refactor: address PR #4640 review comments
Changes based on vladmandic and Disty0 feedback:

- Fix logging: use direct `from installer import log` instead of lazy _get_log()
- Remove unused is_available() function
- Remove defensive getattr() calls in _resolve_kernel/_resolve_linearize
- Simplify _get_device_dtype() to use devices module directly
- Refactor to_pil() with single Image.fromarray() call and explicit mode
- Add cross-platform fallback: sharpfin only runs on CUDA, falls back to
  PIL/F.interpolate for other devices (CPU, MPS, OpenVINO)
- Replace lambdas with functools.partial in functional.py for torch.compile safety
- Add modules/sharpfin to pylint ignore-paths (vendored code)
2026-02-11 09:57:37 +01:00
CalamitousFelicitousness 76aa949a26 refactor: integrate sharpfin for high-quality image resize
Vendor sharpfin library (Apache 2.0) and add centralized wrapper
module (images_sharpfin.py) replacing torchvision tensor/PIL
conversion and resize operations throughout the codebase.

- Add modules/sharpfin/ vendored library with MKS2021, Lanczos3,
  Mitchell, Catmull-Rom kernels and optional Triton sparse acceleration
- Add modules/images_sharpfin.py wrapper with to_tensor(), to_pil(),
  pil_to_tensor(), normalize(), resize(), resize_tensor()
- Add resize_quality and resize_linearize_srgb settings
- Add MKS2021 and Lanczos3 upscaler entries
- Replace torchvision.transforms.functional imports across 18 files
- to_pil() auto-detects HWC/BHWC layout, adds .round() before uint8
- Sparse Triton path falls back to dense GPU on compilation failure
- Mixed-axis resize splits into two single-axis scale() calls
- Masks and non-sRGB data always use linearize=False
2026-02-11 09:57:37 +01:00
Vladimir Mandic 2c4d0751d9
Merge pull request #4613 from CalamitousFelicitousness/feat/caption-improvements-v2_backup
Caption system overhaul V2
2026-02-11 09:33:29 +01:00
CalamitousFelicitousness 80014fac7c fix(caption): address PR review feedback
- Remove superfluous SimpleNamespace import in cli/api-caption.py, use Map instead
- Drop _ prefix from internal helper functions in modules/api/caption.py
- Move DeepDanbooru model path to top-level models folder instead of nesting under CLIP
2026-02-11 02:50:06 +00:00
CalamitousFelicitousness 139e331d80 style(caption): fix lint warnings across caption module
- Rename shadowing import in waifudiffusion batch to avoid F823/E0606
- Fix import order in cli/api-caption.py (stdlib before third-party)
- Rename local variable shadowing function name in cli/api-caption.py
- Remove unnecessary global statement in devices.bypass_sdpa_hijacks
2026-02-11 02:50:06 +00:00