Commit Graph

8575 Commits

Author SHA1 Message Date
awsr 8ef8074467 Upgrade to typed NamedTuples 2026-03-28 16:57:59 -07:00
Disty0 06fe4c7f20 SDNQ cleanup triton_mm 2026-03-29 00:44:58 +03:00
Disty0 005eb789a3 SDNQ use combination config for Triton MM 2026-03-28 18:02:17 +03:00
vladmandic b86e357b8e update nunchaku code
Signed-off-by: vladmandic <mandic00@live.com>
2026-03-28 09:49:05 +01:00
vladmandic 611dfe4301 update nunchaku installer
Signed-off-by: vladmandic <mandic00@live.com>
2026-03-28 08:57:23 +01:00
awsr 1e9bef8d56 Type enforcement for ResGPU
Only tuples support typing a specific number of entries.
2026-03-27 14:15:44 -07:00
awsr fe7e4b40ff Update models to match actual behavior
- ResScripts
- ResEmbeddings
2026-03-27 14:12:39 -07:00
Disty0 6eadf40f33 SDNQ add ufp aliases 2026-03-27 21:31:36 +03:00
vladmandic b5e9fbc7b3 reorganize scripts/extensions
Signed-off-by: vladmandic <mandic00@live.com>
2026-03-27 14:00:46 +01:00
Vladimir Mandic ac17526715 Merge branch 'dev' into feat/tag-dictionaries 2026-03-27 10:55:20 +01:00
vladmandic 58f9902ffc fix typo
Signed-off-by: vladmandic <mandic00@live.com>
2026-03-27 08:02:44 +01:00
vladmandic 107e9f78a7 safe loader
Signed-off-by: vladmandic <mandic00@live.com>
2026-03-27 07:55:12 +01:00
awsr 775ff59fdb Update typing for model data access 2026-03-26 16:42:04 -07:00
CalamitousFelicitousness 6a7a879c77 fix(autocomplete): address PR review feedback
- Remove remote manifest fetch from startup dropdown population;
  list only locally available tag files via files_cache.list_files()
- Rename CLI utilities to tags-fetch, tags-prune, tags-manifest
- Replace create/destroy mirror div with persistent offscreen mirror
  for caret position measurement
- Add ResizeObserver to reposition dropdown on textarea resize
- Add autocomplete-mirror classname to measurement div
2026-03-26 19:46:23 +00:00
vladmandic 27205c295e lint
Signed-off-by: vladmandic <mandic00@live.com>
2026-03-26 08:11:42 +01:00
vladmandic 4a297d70f2 update diffusers/transformers
Signed-off-by: vladmandic <mandic00@live.com>
2026-03-26 08:10:04 +01:00
vladmandic 397631fb4c update constraints, patch loader and create ext exclude list
Signed-off-by: vladmandic <mandic00@live.com>
2026-03-26 07:21:50 +01:00
Vladimir Mandic 48e8b3a513 Merge pull request #4711 from awsr/pep484-plus
Final PEP 484 updates
2026-03-26 07:10:22 +01:00
CalamitousFelicitousness 97d3854e4b feat(autocomplete): add setting to toggle comma separator between tags 2026-03-26 01:56:57 +00:00
CalamitousFelicitousness d4d5bce3b9 feat(autocomplete): add native tag autocomplete for prompt textareas 2026-03-26 00:47:14 +00:00
CalamitousFelicitousness 5312265d27 refactor(autocomplete): rename dicts to autocomplete, relocate to models/ 2026-03-26 00:47:14 +00:00
CalamitousFelicitousness f3e0b4a86b feat(dicts): add remote dict management via HuggingFace
Add endpoints for browsing, downloading, and deleting dicts hosted on
HuggingFace. Manifest is fetched and cached from the remote repo to
show available dicts with download status and version comparison.

- /dicts/remote GET: list available dicts from HF manifest
- /dicts/{name}/download POST: download dict from HF with atomic write
- /dicts/{name} DELETE: remove local copy and evict cache
- ItemDictRemote model with downloaded/update_available flags
- Exclude manifest.json from local dict listing in all scan paths
2026-03-26 00:47:13 +00:00
CalamitousFelicitousness d26f8560c8 fix(dicts): move default dicts directory to data/dicts
Tag dictionaries are lookup data, not model weights — place them
alongside cache.json and metadata.json in the data/ folder instead
of inside the models directory.
2026-03-26 00:47:13 +00:00
CalamitousFelicitousness 9343768d78 feat(api): add tag dictionary API and settings for prompt autocomplete 2026-03-26 00:47:13 +00:00
awsr 1ac3359e20 Update sd_checkpoint.py 2026-03-25 16:56:51 -07:00
awsr 2675e68813 Revert minor change
Will re-implement in a separate PR
2026-03-25 13:55:56 -07:00
awsr 375591ecdd Revert non-critical changes
The following errors are re-introduced and will need follow-up:
- models.py, line 92
- sd_unet.py, line 41
- sd_models.py, line 1440
2026-03-25 13:47:27 -07:00
Disty0 a255e5bdcf SDNQ set sdnq_dequantize_fp32 to True by default 2026-03-25 21:46:17 +03:00
vladmandic b90558430e fix grid
Signed-off-by: vladmandic <mandic00@live.com>
2026-03-25 09:11:31 +01:00
vladmandic 400d284711 fix metadata parser
Signed-off-by: vladmandic <mandic00@live.com>
2026-03-25 07:32:37 +01:00
CalamitousFelicitousness 18568db41c Add native LoRA loading for Flux2/Klein models
Load Flux2/Klein LoRAs as native NetworkModuleLora objects, bypassing
diffusers PEFT. Handles kohya (lora_unet_), AI toolkit (diffusion_model.),
diffusers PEFT (transformer.), and bare BFL key formats with automatic
QKV splitting for double block fused attention weights.

Includes shape validation to reject architecture-mismatched LoRAs early.
Respects lora_force_diffusers setting to fall back to PEFT when needed.
2026-03-25 04:24:49 +00:00
Disty0 10942032a3 Add SDNQ_COMPILE_KWARGS env var 2026-03-25 02:10:58 +03:00
Disty0 11f3921832 SDNQ make dyn loss threshold auto selected by default 2026-03-25 01:47:59 +03:00
awsr ff247d8fd2 Merge branch 'dev' into RUF013 2026-03-24 07:12:51 -07:00
Disty0 d429e11d55 Update OpenVINO to 2026 and Torch to 2.11 2026-03-24 17:06:57 +03:00
vladmandic 53839e464c remove legacy quant loaders
Signed-off-by: vladmandic <mandic00@live.com>
2026-03-24 15:01:07 +01:00
vladmandic acf475ee45 update locales
Signed-off-by: vladmandic <mandic00@live.com>
2026-03-24 15:01:07 +01:00
Disty0 14c3cf9172 IPEX fix transformers and disable torch.tensor hijack 2026-03-24 16:58:53 +03:00
awsr fd1646cc37 Revert extra return statement 2026-03-24 06:28:39 -07:00
awsr 876e3b9897 RUF013 updates 2026-03-24 06:15:26 -07:00
awsr 1003926646 RUF013 updates and import updates 2026-03-24 06:08:15 -07:00
awsr 09ab19c438 RUF013 updates and formatting 2026-03-24 06:07:34 -07:00
awsr c4ebef29a9 RUF013 updates 2026-03-24 05:48:19 -07:00
awsr 3f830589d1 RUF013 updates and typing update 2026-03-24 05:19:51 -07:00
awsr f0bb0a921a RUF013 updates and value handling fix 2026-03-24 05:13:11 -07:00
awsr 62d2229520 RUIF013 updates and formatting 2026-03-24 05:12:18 -07:00
awsr 4f0fb7cc29 More RUF013 updates for processing_class 2026-03-24 05:00:41 -07:00
awsr fb853af4b0 RUF013 updates 2026-03-24 04:58:19 -07:00
Disty0 cff7f8d4a9 IPEX remove the use of lambdas 2026-03-24 14:36:58 +03:00
awsr 641321d7d2 RUF013 updates 2026-03-24 04:34:38 -07:00