Commit Graph

13522 Commits

Author SHA1 Message Date
CalamitousFelicitousness e7d2e28d3d feat(pipelines): wire native_spec for arches missing single_file_model entry
ChronoEdit, HunyuanImage, Kandinsky5, LongCat, Ovis, NucleusMoE, Bria,
BriaFibo. Each inherits from_single_file via FromOriginalModelMixin
but has no SINGLE_FILE_LOADABLE_CLASSES entry; calling it crashed with
"FromOriginalModelMixin is currently only compatible with [...]".

TransformerSpec(cls=...) for each. Bria specs in
pipelines/bria/__init__.py; the rest are module-level in
model_<arch>.py since they have no package directory.
2026-05-31 00:24:33 +01:00
CalamitousFelicitousness d01d637d94 refactor(wanai): retire bespoke load_transformer, route through generic
The 40-line hand-rolled loader was generic.load_transformer plus a
VACE/standard class switch and a hardcoded GGUF rejection. Switch moves
to load_wan; GGUF rejection removed (generic handles it via
GGUFQuantizationConfig).

No native_spec passed: WanTransformer3DModel has a working diffusers
converter, so from_single_file via generic stays correct.
2026-05-31 00:24:33 +01:00
CalamitousFelicitousness b681cccccb feat(ernie): register ERNIE_SPEC for native dispatch
ErnieImageTransformer2DModel has no from_single_file; selecting an
Ernie finetune in the UNET dropdown previously crashed with
"is not a valid JSON file" from from_pretrained.

Probe of jibMixErnie_v20.safetensors: 409/409 keys overlap with the
model state dict after stripping model.diffusion_model., zero missing
or unexpected. Spec is the minimum TransformerSpec(cls=...).
2026-05-31 00:24:33 +01:00
CalamitousFelicitousness 98fba8ddc3 feat(pipelines): wire native_spec dispatch in generic.load_transformer
New native_spec=None kwarg. When set and the UNET dropdown points at a
.safetensors, dispatches to native_transformer.load (threading
allow_quant/dtype/modules_to_not_convert/modules_dtype_dict). Pipelines
without a spec stay on cls.from_single_file unchanged.
2026-05-31 00:24:33 +01:00
CalamitousFelicitousness cec6d0dce5 refactor(anima): port anima_transformer to native_transformer
217-line bespoke loader collapses to a 40-line ANIMA_SPEC in
pipelines/anima/__init__.py (Cosmos converter + llm_adapter sibling +
Cosmos 1.0 forbidden marker).

Drop the class-keyed REGISTRY: Anima and raw Cosmos share
CosmosTransformer3DModel but need different specs. Specs pass via
explicit native_spec= kwarg; make_default_spec(cls) covers the
auto-converter case.
2026-05-31 00:24:33 +01:00
CalamitousFelicitousness 08ad6196d0 feat(pipelines): add native_transformer for single-file DiT loading
Read .safetensors, strip prefix, partition siblings, run optional
converter, from_config + load_state_dict + validate, dtype/quant/offload.
Per-arch knobs via TransformerSpec(cls, subfolder, prefixes, converter,
siblings, acceptable_missing, forbidden_markers). SiblingSpec covers
bundled components like Anima's llm_adapter. 36 offline tests.
2026-05-31 00:24:33 +01:00
CalamitousFelicitousness 5b321d2071 refactor(lora): update importers for native_adapter rename
5 pipeline files + 2 test files. Mechanical substitution. 141/141
adapter tests pass.
2026-05-31 00:24:33 +01:00
CalamitousFelicitousness 7cd6b6be79 refactor(lora): rename native_loader to native_adapter
Frees the name for pipelines/native_transformer. Module covers the full
LyCORIS adapter family (LoRA/LoKR/LoHA/OFT/IA3/GLoRA/Norm/Full), not
just LoRA.
2026-05-31 00:24:33 +01:00
Vladimir Mandic a0531c70fd add new attention dispatcher
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-05-29 21:10:56 +02:00
Vladimir Mandic d2d9f7caea captioning improvements and cleanup
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-05-29 21:10:56 +02:00
Vladimir Mandic e9be7e929f Merge pull request #4881 from liutyi/dev
fix clean ipex install error and community ZIT models covers
2026-05-29 18:03:42 +02:00
Oleksandr Liutyi 964ae59078 fix resonantsky models paths, regenerate preview with metadata 2026-05-29 12:42:02 +00:00
Vladimir Mandic db1444ecba update kanvas
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-05-29 10:29:21 +02:00
Oleksandr Liutyi 214a88ce32 fix clean ipex install error (not found intel-cmplr-lib-rt==2025.3.2) 2026-05-29 08:28:45 +00:00
Vladimir Mandic 06545baa00 force reinstall transformers/diffusers
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-05-29 07:11:46 +02:00
Vladimir Mandic f2069e6264 fix kanvas not triggering image change notification
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-05-28 23:22:53 +02:00
Vladimir Mandic 5a4a1ff2a1 cleanup
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-05-28 12:11:01 +02:00
Vladimir Mandic 89e728c9d5 refactor uv support
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-05-28 11:54:08 +02:00
Vladimir Mandic 1bd00e4e80 update readme
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-05-27 19:27:30 +02:00
Vladimir Mandic 8b2e8dc0bf retry workflow
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-05-27 19:14:19 +02:00
Vladimir Mandic e3fdf43f2f retry workflow
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-05-27 19:08:41 +02:00
Vladimir Mandic 1d5491704a retry workflow
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-05-27 18:58:38 +02:00
Vladimir Mandic e11d288e0f retry workflow
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-05-27 18:39:27 +02:00
Vladimir Mandic 17cf58d87a retry workflow
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-05-27 17:30:11 +02:00
Vladimir Mandic e48f879242 retry workflow
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-05-27 17:25:37 +02:00
Vladimir Mandic ef127e37b2 retry workflow
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-05-27 17:22:13 +02:00
Vladimir Mandic 4c41226651 retry workflow
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-05-27 17:19:29 +02:00
Vladimir Mandic b1bb1cfe2d retry workflow
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-05-27 17:09:01 +02:00
Vladimir Mandic c66367b3ab retry workflow
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-05-27 17:02:50 +02:00
Vladimir Mandic 7d02ededd3 retry workflow
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-05-27 16:41:52 +02:00
Vladimir Mandic 0e99be5de2 lint fix
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-05-27 16:31:59 +02:00
Vladimir Mandic 40effbae16 retry workflow
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-05-27 16:22:38 +02:00
Vladimir Mandic 1e720e29e1 fix workflow order
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-05-27 16:15:58 +02:00
Vladimir Mandic b33ed4c95a trigger workflow
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-05-27 16:10:15 +02:00
Vladimir Mandic dc1f48d693 another
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-05-27 15:51:47 +02:00
Vladimir Mandic e992804fd0 another action update
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-05-27 15:45:38 +02:00
Vladimir Mandic 57c5bc1943 another action try
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-05-27 15:40:23 +02:00
Vladimir Mandic bbaafd8c87 typo
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-05-27 15:36:42 +02:00
Vladimir Mandic b366ea8000 update github workflows
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-05-27 15:35:17 +02:00
Vladimir Mandic 0125968885 update readme
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-05-27 15:11:25 +02:00
Vladimir Mandic cdb3d50ce6 update readme/changelog
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-05-27 13:41:08 +02:00
Vladimir Mandic 9d1ee38225 Merge pull request #4875 from resonantsky/dev
Added Diving Z-Image-Turbo and Unstable Revolution Z-Image-Turbo
2026-05-26 19:58:41 +02:00
resonantsky d309e2587a Update extras field to specify steps as 8 2026-05-26 15:59:20 +02:00
resonantsky 53ba8116ac Delete Z-Image-Turbo NSFW entry
Removed Z-Image-Turbo NSFW entry from reference community data.
2026-05-26 12:53:48 +02:00
resonantsky 16e7d9333f Added Diving Z-Image-Turbo and Unstable Revolution Z-Image-Turbo 2026-05-26 12:51:43 +02:00
Vladimir Mandic 4906ce3078 patch lens again
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-05-25 16:57:20 +02:00
Vladimir Mandic 5038ae4186 patch lens
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-05-25 16:30:36 +02:00
Vladimir Mandic da6929e022 Merge pull request #4874 from liutyi/dev
Microsoft Lens reference Images
2026-05-25 15:33:32 +02:00
Oleksandr Liutyi 4c404a7177 Microdoft Lens reference Images 2026-05-25 13:08:27 +00:00
Vladimir Mandic b61c89a137 add submit alias
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-05-25 10:55:56 +02:00