Commit Graph
1 Commits
Author SHA1 Message Date
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