Commit Graph

241 Commits

Author SHA1 Message Date
Concedo 7a69646196 qwen3tts support languages 2026-07-27 22:45:04 +08:00
Concedo 304bd3d119 no host by default 2026-07-27 21:03:34 +08:00
Wagner Bruna fd44ba2c61 sd: sync with master-795-87a0177 (#2338)
* sd: sync with master-782-b290693

* sd: sync with master-788-8a51eb9

* sd: sync with master-789-5114672

* sd: sync with master-795-87a0177

* sd: expose ref_image_args and make it trigger edit mode
2026-07-25 19:04:50 +08:00
Wagner Bruna 1f9dd9c398 sd: sync with master-775-b5d8120 (#2321)
* sd: expose extra_sample_args parameter

* sd: sync with master-773-1b04283

* sd: sync with master-775-b5d8120
2026-07-13 20:42:22 +08:00
Wagner Bruna e11d3ddef0 sd: sync with master-767-885f01a (#2310)
* sd: minor API path handling cleanup

* sd: sync with master-749-b11c95a

* sd: use original API parameters at the internal C++ API

* sd: split_mode and auto_fit backend support

* sd: sync with master-758-c674225

* sd: sync with master-765-bb84971

* sd: sync with master-767-885f01a
2026-07-08 17:08:19 +08:00
Concedo 1b36e7f606 option to save tts as mp3, currently slightly bugged 2026-06-18 22:16:29 +08:00
Concedo eb05dd5fab support audio to video for ltx 2.3 2026-06-17 23:50:08 +08:00
Wagner Bruna fdc9c96124 sd: sync with master-685-19bdfe2 (#2265)
* sd: sync with master-682-b3d56d0

* sd: sync with master-685-19bdfe2

* sd: enable layer streaming
2026-06-13 11:14:44 +08:00
Concedo 40084bb1f8 mtp drafting added (+1 squashed commits)
Squashed commits:

[b0fa1a6de] wip 1
2026-06-11 15:25:49 +08:00
Concedo 14b7da5e44 allow reversing the reference image 2026-05-31 23:08:58 +08:00
Concedo 5dc1a89001 support final frame 2026-05-30 09:27:51 +08:00
Concedo 48a6d161a5 add fps controls 2026-05-29 23:18:14 +08:00
Concedo 13663730a9 ltx wip 2026-05-28 22:45:24 +08:00
Concedo 4bbbd55be6 rpc implementation is complete 2026-05-23 17:11:30 +08:00
Concedo f85cc79526 make swa default on models that support it. removed --useswa, added --noswa 2026-05-22 23:38:33 +08:00
Wagner Bruna f85a747dc0 sd: add backend support for max_vram (#2221) 2026-05-21 11:51:00 +08:00
Wagner Bruna 592d12d0a3 sd: support for CLIP and VAE on different devices (#2184)
* sd: generalize internal interfaces to place generation on CPU

* sd: backend support for multi-device selection

* sd: frontend support for multi-device selection

* add deprecated flags to avoid breaking old cli args

---------

Co-authored-by: Concedo <39025047+LostRuins@users.noreply.github.com>
2026-05-19 21:51:23 +08:00
Concedo de2c5f1cef detokenize add special token ids 2026-05-17 17:04:47 +08:00
Wagner Bruna f273fd35b9 sd: sync to master-601-eeac950 (#2206)
* sd: sync to master-601-eeac950

* sd: add mmap support
2026-05-16 11:23:10 +08:00
AlpinDale c03302b670 feat: add a primitive form of continuous batching (#2167)
* feat: add a primitive form of continuous batching

* fix: deadlock in batching fallback

* fix: windows build

* chore: suppress the contbatch arg from --help

* feat: batch-aware rep_pen_slope

* fix: automatically disable shifting when batching is enabled

* fix: mixed-path state corruption

* fix: attempt to fully separate the two pipelines

* added a semaphore to prevent non-batchable requests from starting while batched requests are running

---------

Co-authored-by: Concedo <39025047+LostRuins@users.noreply.github.com>
2026-05-10 17:50:31 +08:00
Wagner Bruna 25fab4113e refactor: handle GGML_VK_VISIBLE_DEVICES at the Python level (#2179)
All C++ handling code currently:
- build a comma-separated list from the info_vulkan array
- if GGML_VK_VISIBLE_DEVICES isn't set
  - set GGML_VK_VISIBLE_DEVICES to the list

Once set, GGML_VK_VISIBLE_DEVICES affects the whole process. So this
can be done in the same way at the Python level, before all loading
functions.

Caveat: load_model had the default `inputs.vulkan_info = "0"`,
so the default GPU would be "0" only when loading a text model.
2026-05-02 23:10:29 +08:00
Concedo 8b62e7b667 allow splitmode to be set independently, enable tensor parallelism 2026-05-02 16:41:28 +08:00
Wagner Bruna c04832bb2b sd: add eta support (#2164) 2026-04-25 19:04:13 +08:00
Concedo e5eab545f3 handle override jinja template 2026-04-19 00:30:28 +08:00
Concedo 17c754a5fc improved reasoning budget 2026-04-18 17:19:09 +08:00
Concedo 0b37cb9a57 added preliminary support for reasoning budget 2026-04-18 11:56:33 +08:00
Concedo 0251c6dbde added swa padding controls 2026-04-16 16:21:48 +08:00
Concedo 535df844dd touchup for min/max tokens ui 2026-04-16 14:56:22 +08:00
Llama c592bd01da Pass img_min_params and img_max_params to ctx_clip_params (#2133)
* Pass img_min_params and img_max_params to ctx_clip_params

These values determine the minimum and maximum size (in
tokens) of vision embeddings. The default value of -1
uses a model-dependent default size, for example for
Gemma 4 the default is a 280 token embedding. For higher
quality results (at the cost of using more memory and
slower speed) you can increase the size of the embedding
to 1120 tokens.

* Change dict to mydict to match change to method
2026-04-16 12:27:06 +08:00
Wagner Bruna e3c6227d46 sd: report back image generation parameters and metadata (#2062)
* sd: refactor image generation result handling

* sd: report back image generation metadata
2026-03-28 00:49:03 +08:00
Concedo c91f350ed5 increase max images, take images from the end instead of beginning if too many images 2026-03-26 23:03:52 +08:00
Concedo 0d50cafd8b added CustomVoice support 2026-03-23 18:50:08 +08:00
Concedo fdfb713d91 added --sdmaingpu allowing image models to be independently placed on any gpu 2026-03-21 17:34:12 +08:00
Wagner Bruna feea014774 sd: support for dynamic LoRA loading from a directory (#2036)
* backend support for controlling LoRA cache and fixed multipliers

The generation LoRA multipliers are now added to the initial
multipliers, so e.g. a merged LCM model will behave the same as
a normal model with a preloaded LCM LoRA.

* frontend support
2026-03-16 20:39:21 +08:00
Wagner Bruna b437d18319 add support for cache modes to accelerate image generation (#2021)
* sd: sync to master-525-d6dd6d7

* sd: add support for cache modes for inference acceleration

* keep gendefaults as a JSON object inside the config file

* covered more invalid cases on gendefaults parsing
2026-03-15 15:27:14 +08:00
Concedo 8f23b8d81e wip on ref audio, but it compiles 2026-03-12 23:46:10 +08:00
Concedo 3fd9648726 added mp3 support 2026-03-12 21:00:50 +08:00
Concedo 211d4fe632 lots of tweaks for ace step 2026-03-11 23:57:52 +08:00
Wagner Bruna 3f42ed1af7 support for customizing LoRA multipliers through the sdapi (#1982)
* fix corner case in sd_oai_transform_params

Also fix typo in the function name.

* support for customizing loaded LoRA multipliers

The `sdloramult` flag now accepts a list of multipliers, one for each
LoRA. If all multipliers are non-zero, LoRAs load as before, with no extra
VRAM usage or performance impact.

If any LoRA has a multiplier of 0, we switch to `at_runtime` mode, and these
LoRAs will be available to multiplier changes via the `lora` sdapi field and
show up in the `sdapi/v1/loras` endpoint. All LoRAs are still preloaded on
startup, and cached to avoid file reloads.

If the list of multipliers is shorter than the list of LoRAs, the multiplier
list is extended with the first multiplier (1.0 by default), to keep it
compatible with the previous behavior.

* support for `<lora:name:multiplier>` prompt syntax and metadata

* add a few tests for sanitize_lora_multipliers
2026-03-10 21:29:39 +08:00
Wagner Bruna 5c40f07d4a sd: sync to 0752cc9 (master-507-b314d80 +1) (#1999)
* sd: sync to 0752cc9 (master-507-b314d80 +1)

* sd: add flow-shift support to gendefaults
2026-02-28 12:22:32 +08:00
Concedo ba42f22fc8 stereo is working 2026-02-27 20:36:44 +08:00
Concedo 5c5fe55f7d bump kv overrides max (+1 squashed commits)
Squashed commits:

[9bc8212a0] bump kv overrides max
2026-02-26 00:24:53 +08:00
Concedo 11a85d62fc lowvram for music lm 2026-02-24 22:21:17 +08:00
Concedo 488c431331 not yet working 2026-02-24 17:47:50 +08:00
Concedo c2b0cb26a8 ace step codes api 2026-02-23 14:04:45 +08:00
Concedo 4be93db21c ace step codes generation now working 2026-02-23 00:27:26 +08:00
Concedo 13db5aee9e stub files for loading ace step 2026-02-22 23:15:08 +08:00
Concedo 2db018a1d7 qwen3tts support reference audio 2026-02-21 17:30:21 +08:00
Concedo bf3f2e1ba8 support loading multiple sd loras (up to 4 at once) 2026-02-19 13:57:58 +08:00
Concedo 349c461453 add stop reason for error 2026-02-04 20:23:18 +08:00