Commit Graph
4 Commits
Author SHA1 Message Date
WildAi 9b11bd70c1 fix(validation): /8 alignment + named validate_inputs params (v2.8.1) 2026-08-25 17:12:27 +03:00
WildAi 900ceda564 fix: resolve review issues W1-W9; suite green (1107 passed) 2026-08-25 16:09:05 +03:00
WildAi 74aa49fbe3 fix: replace validate_inputs with silent resolution snapping
- Remove validate_inputs() which caused per-input error spam in ComfyUI

- Add _snap_to_multiple() helper that rounds to nearest multiple of 16

- Apply snapping at top of apply_dype_to_model() for graceful UX

- width=1000 now silently becomes 1008 instead of blocking execution
2026-08-01 00:38:22 +03:00
WildAi a316d6cfc3 fix: resolve Z-Image inference crash, add test suite, code quality improvements
- Remove incompatible patchify_and_embed override for Lumina/Z-Image (API drift)

- Replace with lightweight scale-hint approach via wrapper function

- Fix bare except blocks with typed exceptions + logging (CRIT-001)

- Add validate_inputs() for resolution parameters (CRIT-002)

- Add type annotations to rope.py, base.py, patch_utils.py (IMP-001)

- Add DY-PI method (NTH-001)

- Add _axis_token_span caching (NTH-005)

- Rename category to model_patches/position_encoding (NTH-006)

- Document YaRN magic numbers with paper references (NTH-003)

- Add requires-comfyui, ruff config, pytest config to pyproject.toml

- Add 85 unit tests covering rope math, base class, model adapters, validation
2026-07-31 20:53:38 +03:00