Commit Graph
280 Commits
Author SHA1 Message Date
leejet 68eaff08b6 update ggml 2025-08-30 01:29:28 +08:00
leejet 08f4b18ed3 avoid build failure 2025-08-29 23:33:08 +08:00
leejet b05b2b29a3 Merge branch 'master' into wan 2025-08-29 23:08:32 +08:00
leejet 2410ce3dee avoid build failure on linux 2025-08-29 22:20:16 +08:00
leejet 27a2cfe1d9 sync: update ggml submodule url 2025-08-29 22:07:25 +08:00
leejet eb3fed8b52 add high noise lora support 2025-08-29 01:36:03 +08:00
leejet 6de680a94c add wan2.2 ti2v support 2025-08-29 00:08:42 +08:00
leejet 815e9fd6e1 add wan2.2 14B i2v support 2025-08-25 23:13:38 +08:00
leejet 079b393b6e add wan2.2 t2v support 2025-08-25 00:10:16 +08:00
leejet afef8cef9e introduce sd_sample_params_t 2025-08-24 17:20:41 +08:00
leejet cf48441345 fix wan2.1 i2v 2025-08-24 14:07:38 +08:00
leejet 9fcc85688d add diff lora support 2025-08-23 19:06:45 +08:00
leejet e69195d22f set default fps to 16 2025-08-23 14:41:14 +08:00
leejet 459fd4dbbc crop image before resize 2025-08-23 13:59:05 +08:00
leejet d83867b8e9 add wan2.1 i2v support 2025-08-23 12:37:15 +08:00
leejet 9b29de27a8 add offload params to cpu support 2025-08-17 03:13:16 +08:00
leejet b0833eb4d8 add wan gguf support 2025-08-16 00:46:49 +08:00
leejet 3a2840f9fb add wan2.1 t2v support 2025-08-15 00:37:30 +08:00
leejet 73f76e6d96 make wan a little faster 2025-08-10 18:29:30 +08:00
leejet 00f790d0e9 make flash attn work with wan 2025-08-10 17:52:59 +08:00
leejet 1d9ccea41a add wan2.1 t2i support 2025-08-10 17:07:17 +08:00
leejet bace0a08c4 add umt5 support 2025-08-09 16:07:04 +08:00
leejet 5f7d98884c add wan model support 2025-08-06 00:29:53 +08:00
leejet 5900ef6605 sync: update ggml, make cuda im2col a little faster 2025-08-03 01:29:40 +08:00
Danieleandleejet 5b8996f74a Conv2D direct support (#744)
* Conv2DDirect for VAE stage

* Enable only for Vulkan, reduced duplicated code

* Cmake option to use conv2d direct

* conv2d direct always on for opencl

* conv direct as a flag

* fix merge typo

* Align conv2d behavior to flash attention's

* fix readme

* add conv2d direct for controlnet

* add conv2d direct for esrgan

* clean code, use enable_conv2d_direct/get_all_blocks

* format code

---------

Co-authored-by: leejet <leejet714@gmail.com>
master-5b8996f
2025-08-03 01:25:17 +08:00
Wagner Bruna f7f05fb185 chore: avoid setting GGML_MAX_NAME when building against external ggml (#751)
An external ggml will most likely have been built with the default
GGML_MAX_NAME value (64), which would be inconsistent with the value
set by our build (128). That would be an ODR violation, and it could
easily cause memory corruption issues due to the different
sizeof(struct ggml_tensor) values.

For now, when linking against an external ggml, we demand it has been
patched with a bigger GGML_MAX_NAME, since we can't check against a
value defined only at build time.
master-f7f05fb
2025-08-03 01:24:40 +08:00
Seas0 6167e2927a feat: support build against system installed GGML library (#749) master-6167e29 2025-08-02 11:03:18 +08:00
leejet e3f9366857 add wan vae suppport 2025-08-02 11:00:33 +08:00
leejet f6b9aa1a43 refector: optimize the usage of tensor_types master-f6b9aa1 2025-07-28 23:18:29 +08:00
Wagner Brunaandone-lithe-rune 7eb30d00e5 feat: add missing models and parameters to image metadata (#743)
* feat: add new scheduler types, clip skip and vae to image embedded params

- If a non default scheduler is set, include it in the 'Sampler' tag in the data
embedded into the final image.
- If a custom VAE path is set, include the vae name (without path and extension)
in embedded image params under a `VAE:` tag.
- If a custom Clip skip is set, include that Clip skip value in embedded image
params under a `Clip skip:` tag.

* feat: add separate diffusion and text models to metadata

---------

Co-authored-by: one-lithe-rune <skapusniak@lithe-runes.com>
master-7eb30d0
2025-07-28 22:00:27 +08:00
stduhpf 59080d3ce1 feat: change image dimensions requirement for DiT models (#742) master-59080d3 2025-07-28 21:58:17 +08:00
R0CKSTAR 8c3c788f31 feat: upgrade musa sdk to rc4.2.0 (#732) 2025-07-28 21:51:11 +08:00
leejet f54524f620 sync: update ggml 2025-07-28 21:50:12 +08:00
leejet eed97a5e1d sync: update ggml master-eed97a5 2025-07-24 23:04:08 +08:00
Ettore Di Giacinto fb86bf4cb0 docs: add LocalAI to README's UIs (#741) 2025-07-24 22:39:26 +08:00
leejet bd1eaef93e fix: convert f64 to f32 and i64 to i32 when loading weights master-bd1eaef 2025-07-24 00:59:38 +08:00
Erik Scholz ab835f7d39 fix: correct head dim check and L_k padding of flash attention (#736) master-ab835f7 2025-07-24 00:57:45 +08:00
Daniele 26f3f61d37 docs: add sd.cpp-webui as an available frontend (#738) 2025-07-23 23:51:57 +08:00
Oleg Skutte 1896b28ef2 fix: make --taesd work (#731) master-1896b28 2025-07-15 00:45:22 +08:00
leejet 0739361bfe fix: avoid macOS build failed master-0739361 2025-07-13 20:18:10 +08:00
leejet ca0bd9396e refactor: update c api (#728) 2025-07-13 18:48:42 +08:00
stduhpfandleejet a772dca27a feat: add Instruct-Pix2pix/CosXL-Edit support (#679)
* Instruct-p2p support

* support 2 conditionings cfg

* Do not re-encode the exact same image twice

* fixes for 2-cfg

* Fix pix2pix latent inputs + improve inpainting a bit + fix naming

* prepare for other pix2pix-like models

* Support sdxl ip2p

* fix reference image embeddings

* Support 2-cond cfg properly in cli

* fix typo in help

* Support masks for ip2p models

* unify code style

* delete unused code

* use edit mode

* add img_cond

* format code

---------

Co-authored-by: leejet <leejet714@gmail.com>
master-a772dca
2025-07-12 15:36:45 +08:00
Wagner Bruna 6d84a30c66 feat: overriding quant types for specific tensors on model conversion (#724) master-6d84a30 2025-07-08 00:11:38 +08:00
stduhpf dafc32d0dd feat: add support for f64/i64 and clip_g diffusers model (#681) master-dafc32d 2025-07-06 23:24:55 +08:00
idostyle 225162f270 fix: mark encoder.embed_tokens.weight as unused tensor (#721) master-225162f 2025-07-06 23:10:10 +08:00
leejet b9e4718fac fix: correct --chroma-enable-t5-mask argument master-b9e4718 2025-07-06 11:11:47 +08:00
leejet 1ce1c1adca feat: make lora graph size variable master-1ce1c1a 2025-07-05 22:44:22 +08:00
stduhpf 19fbfd8639 feat: override text encoders for unet models (#682) master-19fbfd8 2025-07-04 22:19:47 +08:00
Wagner Bruna 76c72628b1 fix: fix a few typos on cli help and error messages (#714) master-76c7262 2025-07-04 22:15:41 +08:00
vmobilis 3bae667f3d fix: break the line after skipping tensors in VAE (#591) master-3bae667 2025-07-03 22:50:42 +08:00