Commit Graph

14665 Commits

Author SHA1 Message Date
resonantsky 47a799e47c Merge branch 'vladmandic:dev' into dev 2026-09-11 13:59:36 +02:00
resonantsky 7484aee5d4 Linux quality fixes 2026-09-11 13:50:44 +02: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 85353e0d6a Merge pull request #5082 from resonantsky/dev
Add MIOpen logging support
2026-09-11 10:11:23 +02:00
Vladimir Mandic fd0a332c77 tweaks
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-09-11 01:05:51 +02:00
resonantsky 0e057c3d26 Merge branch 'vladmandic:dev' into dev 2026-09-10 23:16:55 +02:00
Vladimir Mandic 5c7e018fb8 change prompt enhance defaults
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-09-10 22:40:14 +02:00
Vladimir Mandic 59bb85408e dlss change defaults
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-09-10 22:06:11 +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 b0b0a2eb22 update changelog
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-09-10 21:20:44 +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
resonantsky 04c7b8b4b4 added some linux best practices 2026-09-10 19:45:18 +02:00
resonantsky db5d427b00 corrected float ms again again 2026-09-10 19:04:57 +02:00
resonantsky ecd39a672d corrected float ms again 2026-09-10 19:03:06 +02:00
resonantsky 34c6e19e86 corrected float ms 2026-09-10 18:55:10 +02:00
Vladimir Mandic b0aa61ff21 cleanup
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-09-10 18:33:47 +02:00
resonantsky f7bd883140 Time display identical to others in console. 2026-09-10 16:07:14 +02:00
resonantsky ba01d4fbf4 Fix MIOpen logger attribute initialization 2026-09-10 13:47:46 +02:00
resonantsky 1ad3a0cf28 Add MIOpen logging support 2026-09-10 13:16:39 +02:00
Vladimir Mandic d655d9788f fix lint
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-09-10 12:49:06 +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 d23faa1f32 dlss batch processing and setup logging
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-09-09 19:22:38 +02:00
Vladimir Mandic e2051bdf28 add ui loading diag
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-09-09 14:29:41 +02:00
Vladimir Mandic 94d4ccfaec codespell
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-09-09 14:29:41 +02:00
Vladimir Mandic 6928de6669 update changelog
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-09-09 14:29:41 +02:00
Vladimir Mandic 64b281e4af add dlss to postprocessing
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-09-09 14:29:41 +02:00
Vladimir Mandic 1cdcdb21b5 dlss initial stable
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-09-09 14:29:41 +02:00
Vladimir Mandic f51d56ad97 Merge pull request #5081 from liutyi/dev
LLaDA reference images
2026-09-09 13:50:06 +02:00
Oleksandr Liutyi abec701191 LLaDA reference images 2026-09-09 11:15:58 +00:00
Vladimir Mandic 2ef1a0c87b stricter ty
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-09-08 10:22:42 +02: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 51320d0289 fix(llada): initialize the rotary frequency buffer after loading
Transformers recreates non-persistent buffers with torch.empty_like during
the meta-device load and leaves them to _init_weights, which here covered
only Linear and Embedding. The text encoder therefore ran with uninitialized
memory as its rotary frequencies: a different table on every load, and
non-finite embeddings whenever the garbage overflowed at longer positions.
The initializer now recomputes inv_freq for the rotary module.
2026-09-08 01:24:51 +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
CalamitousFelicitousness 8619dbc0af test(offload): address the split offload modules in the placement role tests
The group offload functions live in sd_offload_group, sd_offload_utils and
sd_offload_state rather than modules.sd_offload, so the tests and their
monkeypatches now import and patch those modules directly.
2026-09-07 22:32:54 +01: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