CalamitousFelicitousness
3208067259
test(api): improve caption API test coverage and validation
...
Add model architecture coverage tests:
- VQA model family detection for 19 architectures
- Florence special prompts test (<OD>, <OCR>, <CAPTION>, etc.)
- Moondream detection features test
- VQA architecture capabilities test
- Tagger model types and WD version comparison tests
Improve test validation:
- Add is_meaningful_answer() to reject responses like "."
- Verify parameters have actual effect (not just accepted)
- Show actual output traces in PASS/FAIL messages
- Fix prefill tests to verify keep_prefill behavior
Add configurable timeout:
- Default timeout increased to 300s for slow models
- Add --timeout CLI argument for customization
Other improvements:
- Add JoyCaption to recognized model families
- Reduce BLIP models to avoid reloading large models
- Better detection result validation for annotated images
2026-02-11 02:47:40 +00:00
CalamitousFelicitousness
f3c4fae440
test(api): add caption API test suite
...
Comprehensive test script for all Caption API endpoints:
- GET/POST /sdapi/v1/interrogate (OpenCLiP/DeepBooru)
- POST /sdapi/v1/vqa (VLM captioning)
- GET /sdapi/v1/vqa/models, /sdapi/v1/vqa/prompts
- POST /sdapi/v1/tagger
- GET /sdapi/v1/tagger/models
Usage: python cli/test-caption-api.py [--url URL] [--image PATH]
2026-02-11 02:47:40 +00:00
CalamitousFelicitousness
385532154f
Merge remote-tracking branch 'origin/dev' into refactor/remove-face-restoration
...
# Conflicts:
# .pylintrc
# .ruff.toml
2026-02-10 14:38:14 +00:00
vladmandic
7eb9b1cc5c
create tests folder
...
Signed-off-by: vladmandic <mandic00@live.com >
2026-02-10 14:31:53 +01:00
vladmandic
bd61633e14
switch to pyproject.toml for tool config
...
Signed-off-by: vladmandic <mandic00@live.com >
2026-02-10 13:51:51 +01:00
vladmandic
0d2e9fbf62
cleanup and update changelog
...
Signed-off-by: vladmandic <mandic00@live.com >
2026-02-09 18:20:10 +01:00
CalamitousFelicitousness
3d0edb4f8f
refactor: remove face restoration from CLI tools and XYZ grid
...
- Remove gfpgan/codeformer face template lines from cli/generate.py
- Remove gfpgan_visibility, codeformer_visibility, codeformer_weight
from cli/generate.json upscale config
- Simplify cli/process.py upscale_restore_image() to remove the
restore path and codeformer parameters
- Remove codeformer/gfpgan special cases from xyz_grid_shared.py
apply_detailer(), keep generic boolean parsing
- Remove p.restore_faces assignment from xyz_grid_on.py
2026-02-08 23:00:05 +00:00
Vladimir Mandic
bf1e763156
add attention benchmark
...
Signed-off-by: Vladimir Mandic <mandic00@live.com >
2026-02-07 13:37:09 +00:00
Oliver Hertel
9ebd05dc7b
test file for weighted lists
2026-02-07 09:57:19 +01:00
vladmandic
605d87cb2d
reorg cli
...
Signed-off-by: vladmandic <mandic00@live.com >
2026-02-05 10:33:42 +01:00
vladmandic
2d6cc5addb
metadata restore to always-on scrips
...
Signed-off-by: vladmandic <mandic00@live.com >
2026-02-05 10:21:49 +01:00
vladmandic
2ec79a1807
update changelog and todo
...
Signed-off-by: vladmandic <mandic00@live.com >
2026-02-04 14:10:17 +01:00
vladmandic
d9a2a21c8c
add sampler api endpoints
...
Signed-off-by: vladmandic <mandic00@live.com >
2026-02-04 13:08:31 +01:00
Vladimir Mandic
20aeb8b793
/sdapi/v1/xyz-grid
...
Signed-off-by: Vladimir Mandic <mandic00@live.com >
2026-01-31 11:04:50 +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
5abb794462
style(test): remove unused imports in test-tagger.py
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
vladmandic
8cf27dffdb
allow unsafe ssl context for downloads
...
Signed-off-by: vladmandic <mandic00@live.com >
2026-01-19 17:36:01 +01:00
vladmandic
0d90d95bf6
lint and safeguard glm
...
Signed-off-by: vladmandic <mandic00@live.com >
2026-01-16 09:40:48 +01:00
awsr
6d4b79659e
Linting
2026-01-02 18:47:46 -08:00
Vladimir Mandic
0b1e6d2d3c
improve offloading
...
Signed-off-by: Vladimir Mandic <mandic00@live.com >
2025-12-25 10:24:02 +00:00
vladmandic
b5f000ab8a
add xyz and script support to control api
...
Signed-off-by: vladmandic <mandic00@live.com >
2025-11-23 13:07:42 -05:00
Vladimir Mandic
d292c85df0
strong-enforce auth check on all api endpoints
...
Signed-off-by: Vladimir Mandic <mandic00@live.com >
2025-11-08 11:41:24 -05:00
Vladimir Mandic
3ae10dd0e1
add nvidia-chronoedit
...
Signed-off-by: Vladimir Mandic <mandic00@live.com >
2025-10-30 19:52:29 -04:00
Vladimir Mandic
4033567d4f
controlnet fixes and validation
...
Signed-off-by: Vladimir Mandic <mandic00@live.com >
2025-10-30 13:36:58 -04:00
Vladimir Mandic
203e46af0c
update reference sizes
...
Signed-off-by: Vladimir Mandic <mandic00@live.com >
2025-10-25 12:18:52 -04:00
Vladimir Mandic
ae25cb8880
linting
...
Signed-off-by: Vladimir Mandic <mandic00@live.com >
2025-09-25 14:33:21 -04:00
Vladimir Mandic
70319ee7db
lint
...
Signed-off-by: Vladimir Mandic <mandic00@live.com >
2025-08-27 09:52:28 -04:00
Vladimir Mandic
74da5095f0
fix and regenerate locales
...
Signed-off-by: Vladimir Mandic <mandic00@live.com >
2025-08-20 14:40:39 -04:00
Vladimir Mandic
2aa917b58e
add /sdapi/v1/modules endpoint
...
Signed-off-by: Vladimir Mandic <mandic00@live.com >
2025-08-12 15:09:08 -04:00
Vladimir Mandic
28ad5bb0c3
image download use real filename
...
Signed-off-by: Vladimir Mandic <mandic00@live.com >
2025-08-12 08:15:29 -04:00
Vladimir Mandic
6312b3d0ac
add Qwen3-4B-Instruct-2507 llm and Flash-FlowMatch scheduler
...
Signed-off-by: Vladimir Mandic <mandic00@live.com >
2025-08-11 16:35:16 -04:00
Vladimir Mandic
601645fa8f
fix hunyuandit
...
Signed-off-by: Vladimir Mandic <mandic00@live.com >
2025-08-11 16:05:39 -04:00
Vladimir Mandic
87bd347116
cleanup flux loader
...
Signed-off-by: Vladimir Mandic <mandic00@live.com >
2025-08-11 16:05:39 -04:00
Vladimir Mandic
c92e329234
fix cosmos-t2i
...
Signed-off-by: Vladimir Mandic <mandic00@live.com >
2025-08-11 16:05:39 -04:00
Vladimir Mandic
dc8a72947d
fix meissonic
...
Signed-off-by: Vladimir Mandic <mandic00@live.com >
2025-08-11 16:05:39 -04:00
Vladimir Mandic
e42a27a0e4
fix chroma
...
Signed-off-by: Vladimir Mandic <mandic00@live.com >
2025-08-11 16:05:39 -04:00
Vladimir Mandic
a181c18123
fix omnigen
...
Signed-off-by: Vladimir Mandic <mandic00@live.com >
2025-08-11 16:05:39 -04:00
Vladimir Mandic
562f4f2502
update qwen-lightning repo
...
Signed-off-by: Vladimir Mandic <mandic00@live.com >
2025-08-11 16:05:39 -04:00
Vladimir Mandic
c0489c6559
fix cogview
...
Signed-off-by: Vladimir Mandic <mandic00@live.com >
2025-08-11 16:05:39 -04:00
Vladimir Mandic
7aca434c25
lint
...
Signed-off-by: Vladimir Mandic <mandic00@live.com >
2025-08-11 16:05:39 -04:00
Vladimir Mandic
d7daefb8ac
update cogview links, fix auraflow and hidream loaders
...
Signed-off-by: Vladimir Mandic <mandic00@live.com >
2025-08-11 16:05:39 -04:00
Vladimir Mandic
2a85c05689
refactor pipeline loaders to generic methods and introduce te_shared_t5 option
...
Signed-off-by: Vladimir Mandic <mandic00@live.com >
2025-08-11 16:05:39 -04:00
Vladimir Mandic
5a9c52a48a
url(./html/svg/square.svg)
...
Signed-off-by: Vladimir Mandic <mandic00@live.com >
2025-08-10 07:13:04 -04:00
Vladimir Mandic
73049f7bb8
add load-checkpoint api endpoint and test all models script
...
Signed-off-by: Vladimir Mandic <mandic00@live.com >
2025-08-09 14:06:54 -04:00
Vladimir Mandic
44a20a47c1
update todo
...
Signed-off-by: Vladimir Mandic <mandic00@live.com >
2025-08-09 12:15:36 -04:00
Vladimir Mandic
9ef6baf2ed
use utf_16_be as primary metadata decoding
...
Signed-off-by: Vladimir Mandic <mandic00@live.com >
2025-08-08 07:36:11 -04:00
Vladimir Mandic
66456f3b4f
civitai search redesign prototype
...
Signed-off-by: Vladimir Mandic <mandic00@live.com >
2025-08-04 15:53:43 -04:00
Vladimir Mandic
e90ac68dcc
lint
...
Signed-off-by: Vladimir Mandic <mandic00@live.com >
2025-08-02 15:28:45 -04:00