Commit Graph

14622 Commits

Author SHA1 Message Date
Yifan Chen a174e94183 feat(ui): filter generated sampler and upscaler lists 2026-09-07 08:29:37 -07:00
Vladimir Mandic fe03d7b38e add grok to cloud models
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-09-07 09:20:58 +02:00
Vladimir Mandic 0a94b2d8ae update changelog/todo
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-09-07 07:38:03 +02:00
Vladimir Mandic 5c88e16222 Merge pull request #5079 from ryanmeador/dev
fix: honor offline mode in model loaders
2026-09-07 05:50:14 +02:00
Vladimir Mandic 92e2229cd9 Merge pull request #5078 from Anai-Guo/fix/todo-dead-mps-branch
fix(todo): drop the unreachable duplicate cuda branch in init_generator
2026-09-07 05:49:30 +02:00
Ryan Meador 6013110e96 fix: honor offline mode in model loaders 2026-09-06 10:10:36 -04:00
CalamitousFelicitousness ddec927c90 fix(vae): read the scale factor off the autoencoder instance
get_vae_scale_factor knew the ratio only for the pipeline and VAE class
names in its table and fell back to 8 for everything else. A repo that
subclasses a video autoencoder misses the table, so the request size was
rounded to a smaller multiple than the pipeline uses and the latent
preview unpack failed on heights that are not a multiple of 32.
diffusers video autoencoders carry spatial_compression_ratio on the
instance; use it before the default.
2026-09-06 07:08:24 +01:00
Tai An 8b738636d0 fix(todo): drop the unreachable duplicate branch in init_generator
The third branch repeats `device.type == "cuda"`, so it can never run, and
it cannot be enabled by correcting the condition either: the Generator API
rejects MPS outright. The repo's other copy of this helper,
modules/hidiffusion/utils.py, has cpu/cuda/else and no third branch.
2026-09-05 21:22:27 -07:00
CalamitousFelicitousness b434eb0c1b refactor(lora): route every bare key through the resolver
The parser no longer takes reference-name prefixes to tell bare
reference keys from bare diffusers keys. Any bare key carries the
sentinel and the arch resolver renames what it knows and passes the rest
through. Flux2 keeps its list for file-format detection only.
2026-09-06 04:25:44 +01:00
CalamitousFelicitousness 8b93d20b1a refactor(lora): drive the minimax mapping from one vocabulary
Block leaves and standalone renames each live in one table; the block
resolver and the musubi unflatten patterns are derived from them.
2026-09-06 04:25:44 +01:00
CalamitousFelicitousness 783b66c3be refactor(lora): offer unknown bare keys to the resolver
A bare key that matches no known prefix is parsed with the
bare-diffusers sentinel and handed to the resolver instead of being
dropped at parse time. The per-arch lists of bare diffusers prefixes are
gone, and a path that names no live module counts as unmapped.
2026-09-06 04:25:44 +01:00
CalamitousFelicitousness 1c91fb2047 refactor(lora): make the fused row reorder a chunk capability
A ChunkSpec can reorder equal row blocks of the rows it selects, so an
arch declares a swapped SwiGLU projection on the target instead of
permuting the state dict first. Only the LoRA family applies it; the
others skip a reordered target with a warning.
2026-09-06 04:25:44 +01:00
CalamitousFelicitousness 4a5dc98cb2 fix(lora): match the diffusers minimax lora converter
The reference fc1 is a fused [gate; value] SwiGLU projection and the
diffusers port stores [value; gate]. The native mapping did not swap the
halves, so gate and value deltas landed on each other's rows. The
mapping now also renames the standalone projections, reads a
metadata-only alpha, and accepts the musubi, peft dit and diffusers-named
layouts.
2026-09-06 04:25:44 +01:00
Vladimir Mandic e0a23b0c6e handle scipy
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-09-05 23:00:34 +02:00
Vladimir Mandic f446cca02d installer handler for numpy
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-09-05 22:54:56 +02:00
Vladimir Mandic 29de324ff7 update all google stuff
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-09-05 21:53:29 +02:00
CalamitousFelicitousness cd88d2ae34 fix(lora): route codebook layers on the mean level gap
SDNQ codebook layers keep their Lloyd levels in the scale slot, so reading
scale.mean() as the grid step returned the levels' near-zero mean and sent
sub-step deltas to requantize, where the grid erases them. grid_step returns
the mean adjacent-level gap for those layers and the plain scale mean otherwise.
2026-09-05 18:39:04 +01:00
Vladimir Mandic b59e693364 lint
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-09-05 13:43:09 +02:00
Vladimir Mandic 9b06cfef80 add llada editing
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-09-05 13:36:18 +02:00
Vladimir Mandic cb0aea8eb5 llada t2i
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-09-05 13:01:36 +02:00
Vladimir Mandic 6333be7b83 cleanups
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-09-05 12:42:01 +02:00
Vladimir Mandic 7b6a967203 explicit init api limiter
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-09-05 11:58:32 +02:00
Vladimir Mandic 58e72f50cc sort reference models
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-09-05 11:57:53 +02:00
Vladimir Mandic 14fd01f606 modular pipelines exception logging
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-09-05 10:14:23 +02:00
Vladimir Mandic 1e5592ba2e cleanup logging
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-09-05 10:01:55 +02:00
Vladimir Mandic 0455a9acaf reorder startup
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-09-05 09:49:28 +02:00
CalamitousFelicitousness 5875cdd29e feat(lora): remap anima 1.0 lora block indices onto depth-expanded checkpoints
Anima 2.9B interleaves twelve new blocks among the 28 of Anima 1.0, so a block
index trained against 1.0 names a different block on the expanded model. Every
such key still resolves, since blocks 0 to 27 exist either way, so the
mismatch was silent. The Anima loader now shifts base-depth indices onto the
blocks that carry those weights, keyed by (base depth, expanded depth) and
applied only when the transformer is expanded and the LoRA stays inside the
base depth. Transformer keys move; llm_adapter and text encoder keys keep
their own numbering.
2026-09-05 02:24:04 +01:00
CalamitousFelicitousness 6b92f2ba03 feat(model): add anima 2.9b as a base reference model
Anima-2.9B is a depth-expanded finetune of Anima 1.0 Base carrying 40
transformer blocks against the base repo's 28. The reference entry points at
the Diffusers conversion. Single-file releases load through the native loader:
TransformerSpec gains an infer_config hook, the Anima spec uses it to size
num_layers to the block indices in the file, and model_anima routes a
checkpoint-selected safetensors through the loader with the remaining
components from the base repo.
2026-09-05 01:45:49 +01:00
Vladimir Mandic 0dbe27c371 fix prompt caching
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-09-04 15:47:06 +02:00
Vladimir Mandic 653fbf4d51 update cuda backend to torch==2.14+cuda==13.2
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-09-04 10:08:07 +02:00
Vladimir Mandic 32852b006b fix lint
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-09-04 09:54:19 +02:00
Vladimir Mandic 1a47736c66 fix model-recompile keep state
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-09-04 09:49:12 +02:00
Vladimir Mandic b57d526b5b update numpy/scripy and add SD_SKIP_AUTOTUNE
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-09-04 07:52:46 +02:00
Vladimir Mandic 186afd4bac update openvino, refactor compile overrides, fix lora load
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-09-02 10:58:59 +02:00
Vladimir Mandic c06aa5b8c3 update changelog and todo
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-09-01 20:26:52 +02:00
Vladimir Mandic 1ae9f81fc5 Merge pull request #5076 from zjn20030811/fix/vdm-trailing-timesteps
Fix VDM trailing timestep spacing
2026-09-01 20:25:07 +02:00
nan f895b72863 Fix VDM trailing timestep spacing 2026-09-02 00:13:20 +08:00
Vladimir Mandic df495a0f8d minimax native lora handler
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-09-01 17:38:49 +02:00
Vladimir Mandic 49de7e9c86 reduce circular imports and improve lora tags
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-09-01 14:44:59 +02:00
Vladimir Mandic 7c1e985ee7 minimax unpack latents
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-09-01 13:17:03 +02:00
Vladimir Mandic f9cc197c57 improve network type/version mapping
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-09-01 09:58:24 +02:00
Vladimir Mandic cf1f721377 fix typo
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-08-31 17:18:20 +02:00
Vladimir Mandic bed6bfc530 minimax preview
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-08-31 17:13:11 +02:00
Vladimir Mandic b8ba831a56 minimax vae preview
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-08-31 14:40:40 +02:00
Vladimir Mandic dbd243fe06 refactor transformers hooks
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-08-31 13:06:02 +02:00
Vladimir Mandic db4ffcd8ef cleanup todo
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-08-31 09:55:02 +02:00
Vladimir Mandic 4f6575a8bf Merge pull request #5072 from Anai-Guo/fix/lumina-dimoo-attention-kwargs
fix(lumina): pass to_compute_mask, not use_cache, to LLaDABlock.attention
2026-08-31 09:46:30 +02:00
Vladimir Mandic 3991941e5e Merge branch 'dev' into fix/lumina-dimoo-attention-kwargs 2026-08-31 09:46:14 +02:00
Vladimir Mandic 94371a6215 Merge pull request #5071 from Anai-Guo/chore/rife-drop-orphaned-v3-modules
chore(rife): drop the two vendored v3 modules the v4.25 upgrade orphaned
2026-08-31 09:45:13 +02:00
Vladimir Mandic 51bb7e3a55 Merge branch 'dev' into chore/rife-drop-orphaned-v3-modules 2026-08-31 09:44:38 +02:00