CCalamitousFelicitousnessfeat(lora): run the full adapter family chain on every native arch
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
refactor(pipelines): move per-arch transformer specs into packages Specs for chrono, cogview, flux2_klein, glm, hunyuandit, hyimage, joy, kandinsky, longcat, nucleus, ovis, pixart and prx lived module-level in model_<arch>.py. Move each into pipelines/<arch>/__init__.py to match the layout used by anima, bria, ernie, f_lite, lens, qwen, step1x and vibe. Each model_<arch>.py now imports its spec lazily inside the load function, so the package only gets pulled in when that arch is actually loaded (kandinsky 2.x never goes through native dispatch and stays untouched). Also drop the "without this spec..." crash paragraph from the new package docstrings plus ernie/__init__.py and bria/__init__.py. | 3 个月前 | |
feat(ernie): img2img and inpainting support Diffusers ships only ErnieImagePipeline (txt2img). Adds two subclasses wrapping it: ErnieImageImg2ImgPipeline and ErnieImageInpaintPipeline, registered into the auto-pipeline mappings so set_diffuser_pipe swap finds them. Encode mirrors the upstream decode: vae.encode -> _patchify_latents -> BN-stats normalize using vae.bn.running_mean/running_var. Inpaint blends the denoised latent with a noise-level-matched init latent via callback_on_step_end. Verified end-to-end through hires upscale and yolo detailer with face and eye masks. | 4 个月前 | |
feat(lora): run the full adapter family chain on every native arch zimage, chroma, ernie and krea2 chained only lora/lokr/loha/oft while flux2 and anima ran all eight families, so ia3/glora/norm/full files (e.g. full-diff extractions with diff/diff_b keys) reported not loaded on the short-chain arches. The generic family loaders are arch-agnostic; wire the missing four into each chain. - add ia3/glora/norm/full wrappers and chain entries to the four arch modules, with matching suffix/marker re-exports - add a chain-level full-diff test per suite: zimage covers the legacy attention.out alias and the fused-qkv skip, chroma the proj rename, ernie the passthrough | 1 个月前 |