9445 Commits

Author SHA1 Message Date
Vladimir Mandic 489cbf8048 lora: keep parsed network data through pipeline
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-09-13 16:31:16 +02:00
Vladimir Mandic 5ffc71bd39 increase progress timeout
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-09-13 13:59:24 +02:00
Vladimir Mandic 01e7897621 guard against null config
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-09-13 13:44:53 +02:00
Vladimir Mandic c3a75363b9 lint
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-09-13 13:08:34 +02:00
Vladimir Mandic 70beb1ee7c add minimax-nunchaku-lite
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-09-13 12:49:57 +02:00
Vladimir Mandic 03bc3159ec remove theme code from ext
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-09-13 11:24:08 +02:00
Vladimir Mandic e89f63b7e0 fix circular imports changing theme back to default
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-09-13 10:28:22 +02:00
Vladimir Mandic da5d934f1f Merge branch 'dev' into feat/filter-sampler-upscaler-choices 2026-09-13 07:41:53 +02:00
Vladimir Mandic e6d5efa97f autocomplete dont fetch disabled networks
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-09-13 07:40:53 +02:00
Vladimir Mandic b8f60b7237 update modernui
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-09-12 21:05:57 +02:00
Vladimir Mandic 9fd32084de metadata fix wildcard info
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-09-12 20:36:28 +02:00
Vladimir Mandic 07b4cbbd3d ui restyling
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-09-12 13:43:37 +02:00
Yifan Chen bae986e90b address selection filter review feedback 2026-09-12 00:08:08 -07:00
Vladimir Mandic cf7e2042b1 Merge pull request #5085 from li-lizhe/fix/hardcoded-cuda-cu_seqlens
fix(framepack): use text_mask.device instead of hardcoded cuda in get_cu_seqlens
2026-09-12 07:34:35 +02:00
li-lizhe 7d6a98bc62 fix(framepack): use text_mask.device instead of hardcoded cuda
get_cu_seqlens creates a cu_seqlens tensor with device="cuda",
which crashes on non-CUDA devices (e.g. Ascend NPU raises
"Torch not compiled with CUDA enabled"). Create it on the same
device as the input text_mask instead, which is device-agnostic.
2026-09-12 09:08:48 +08:00
Vladimir Mandic c3fa079aad fix dtype inspect
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-09-11 10:24:34 +02:00
Vladimir Mandic 3f7a494b81 add minimax-8bit
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-09-11 10:12:51 +02:00
Vladimir Mandic f12818fc74 modular handle module with remote-code
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-09-11 10:12:51 +02:00
Vladimir Mandic fd0a332c77 tweaks
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-09-11 01:05:51 +02:00
Vladimir Mandic 82810b6c4a update handle git errors
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-09-10 21:36:41 +02:00
Vladimir Mandic a4aefdb093 minimax crop init/last to aspect ratio, update logging, prompt strip on lora parse, video prompt enhance consider image
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-09-10 21:17:45 +02:00
Vladimir Mandic 9a9c70c6d3 lora debug logging and support minimax-ref2va
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-09-10 19:59:34 +02:00
Vladimir Mandic b0aa61ff21 cleanup
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-09-10 18:33:47 +02:00
Vladimir Mandic 799f10f49d fix list vs str
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-09-10 12:29:46 +02:00
Vladimir Mandic b0c21c5448 dlss xyz grid
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-09-10 10:50:52 +02:00
Vladimir Mandic df163f3f35 fix prompt enhance api with vision
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-09-10 09:03:07 +02:00
Vladimir Mandic 1cdcdb21b5 dlss initial stable
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-09-09 14:29:41 +02:00
Yifan Chen 37767b3bbc fix lint for shared module import 2026-09-08 22:33:23 -07:00
Vladimir Mandic 23b800a99b stricter lint
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-09-08 10:18:29 +02:00
Vladimir Mandic 5f127650ea fix test pass
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-09-08 09:03:14 +02:00
Vladimir Mandic ce01461bf5 update logging
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-09-08 08:45:53 +02:00
CalamitousFelicitousness c904585f87 fix(prompt): cache list prompts again
0dbe27c37 keyed the prompt cache on the negative prompt and the cfg flag
and hashed both prompts to tuples for it. The positive prompt was hashed
before the list check that builds the key, so a list prompt, which is what
every pipeline passes, was never stored or found and the text encoder ran
on every generation. Only the negative prompt needs hashing.
2026-09-08 03:06:46 +01:00
CalamitousFelicitousness c389ce92d0 fix(models): keep pipelines whose class already serves the requested task
get_diffusers_task reports image-to-image for any class that diffusers
registers under both the text-to-image and image-to-image tables, so every
text-to-image generation on such a model (Klein, FLUX.2, Kontext,
Qwen-Image-Edit, LongCat) went through AutoPipeline.from_pipe and came back
as a new object. The prompt cache is keyed on the pipeline identity, so the
text encoder ran again on every image. set_diffuser_pipe now returns the
pipeline unchanged when its class is registered for the requested task.
2026-09-08 03:06:33 +01:00
CalamitousFelicitousness fa7243b239 fix(processing): round init images to a pipeline-declared multiple
The init-image snap rounds to the VAE factor, but the LLaDA pipeline needs
16 for its transformer patch and 32 when editing, since the source image is
halved for the semantic encoder. The pipeline now declares patch_size for
the shared rounding and init_image_multiple for input images, and
get_vae_scale_factor honours the latter when an init image is present.
check_inputs reads the same attributes.
2026-09-08 02:32:47 +01:00
CalamitousFelicitousness 619a25eea6 fix(offload): key the group stats report by component
A checkpoint-name key survives unload, so a reload of the same checkpoint
never printed the per-module stats block again, even with a different
quantization. Each component now carries its own reported stamp: a task
switch rebuilds the pipe around the same modules and stays quiet, while a
reload or a component swap brings new modules and reports them.
2026-09-07 22:35:38 +01:00
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 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 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 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 9b06cfef80 add llada editing
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-09-05 13:36:18 +02:00