Commit Graph

12810 Commits

Author SHA1 Message Date
CalamitousFelicitousness 30d3415e9e feat(autocomplete): improve dropdown UX with match highlighting and caret positioning
Highlight matched query text in bold, add category name tooltips on
colored dots, position dropdown near the caret line instead of the
textarea bottom, and polish row styling with transitions and count badges.
2026-03-26 01:07:16 +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 a0a6a250e0 chore(dicts): minify all JSON files for consistency 2026-03-26 00:47:14 +00:00
CalamitousFelicitousness 838b972d11 chore(dicts): rename checkpoint to partial in fetch_dicts 2026-03-26 00:47:14 +00:00
CalamitousFelicitousness 728477b1d6 chore(lint) 2026-03-26 00:47:14 +00:00
CalamitousFelicitousness 7043e5719a chore(dicts): gitignore booru dicts, download on demand from HF
Large booru dicts (danbooru, e621, rule34, sankaku, idol) are hosted
on HuggingFace and downloaded on demand via /dicts/{name}/download.
Only curated dicts (art, photography, quality, negative) ship bundled.
2026-03-26 00:47:14 +00:00
CalamitousFelicitousness 36b2ed6bb7 feat(dicts): add curated dicts, pruning, and manifest generation
Add 4 curated vocabulary dicts (art, photography, quality, negative)
that ship bundled for out-of-the-box autocomplete. Add manifest.json
listing all dicts available on HuggingFace.

CLI tools:
- cli/prune_dicts.py: per-category pruning with configurable thresholds
- cli/gen_manifest.py: generate manifest from on-disk dict files
- cli/fetch_dicts.py: unified 14-category scheme, idol source, auto
  manifest regeneration after fetch

Fetch and prune auto-update manifest.json when one already exists.
2026-03-26 00:47:13 +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 0405689606 feat(dicts): add tag sources with separator support 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
Disty0 a255e5bdcf SDNQ set sdnq_dequantize_fp32 to True by default 2026-03-25 21:46:17 +03:00
Vladimir Mandic 688485018e Merge pull request #4708 from liutyi/dev
new reference images: GLM Image (+metadata) and FLUX2 Klein 9B KV (new)
2026-03-25 17:44:34 +01:00
Oleksandr Liutyi d16676518c new reference images: GLM Image (+metadata) and FLUX2 Klein 9B KV (new) 2026-03-25 16:18:15 +00:00
vladmandic 0b74796d94 basic ty config
Signed-off-by: vladmandic <mandic00@live.com>
2026-03-25 09:34:59 +01:00
vladmandic b90558430e fix grid
Signed-off-by: vladmandic <mandic00@live.com>
2026-03-25 09:11:31 +01:00
vladmandic 7a47b6bbdb update torch-cuda and create agents.md
Signed-off-by: vladmandic <mandic00@live.com>
2026-03-25 08:23:55 +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
Disty0 81cc9383b0 Update ROCm on Linux to Torch 2.11 + ROCm 7.2 2026-03-24 17:46:15 +03:00
vladmandic 78dbe18150 update todo/changelog
Signed-off-by: vladmandic <mandic00@live.com>
2026-03-24 15:21:40 +01:00
Vladimir Mandic 66d4d6ca3a Merge pull request #4706 from awsr/RUF013
RUF013 / PEP 484 compatibility update
2026-03-24 15:19:36 +01: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
Vladimir Mandic 62e629a3ac Merge pull request #4705 from resonantsky/dev
Added : Group Conv / CK Toggles (RDNA3/4+) per request
2026-03-24 15:03:03 +01: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 a6f6a37dea Add Ruff per-file-ignores 2026-03-24 06:16:13 -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
resonantsky 670ca3a644 ROCm: fix apply_env to clear _EXTRA_CLEAR_VARS; fix info table value cell color for light themes 2026-03-24 13:39:35 +02:00
Disty0 cff7f8d4a9 IPEX remove the use of lambdas 2026-03-24 14:36:58 +03:00
resonantsky 903869b337 Added :Group Conv / CK Toggles (RDNA3/4+) 2026-03-24 13:35:52 +02:00
awsr 641321d7d2 RUF013 updates 2026-03-24 04:34:38 -07:00
awsr 92960de8d6 RUF013 updates 2026-03-24 04:27:30 -07:00
awsr 6ab9b7bc62 RUF013 updates 2026-03-24 04:19:53 -07:00
Disty0 4f8260e670 Update IPEX to Torch 2.11 2026-03-24 14:17:24 +03:00
awsr 2d81bcdc69 RUF013 updates + type fixes 2026-03-24 04:12:14 -07:00