From b3300ef207e3dd517ed4ec62ea103f4cf4e1bdfd Mon Sep 17 00:00:00 2001 From: Ettore Di Giacinto Date: Mon, 25 May 2026 16:49:37 +0000 Subject: [PATCH] fix(gallery/ltx-2.3): add diffusion_model flag to all variants MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit LTX-2.3 entries (dev / distilled, UD-Q4_K_M / Q4_K_M / Q8_0) were missing the `diffusion_model` option in their overrides. Without it, gosd.cpp routes the main GGUF through the regular `model_path` code path in sd.cpp, which doesn't apply the `model.diffusion_model.` tensor prefix. sd.cpp's LTX-2.3 architecture detection (`VERSION_LTXAV`) in get_sd_version checks for prefixed tensor names — without the prefix, detection fails and load_model returns "could not load model". This is the same bug we hit for Wan when the option was missing. Adding `- diffusion_model` to all six LTX-2.3 entries' option blocks makes load_model take the diffusion_model_path branch so detection succeeds. Assisted-by: Claude:claude-opus-4-7 --- gallery/index.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gallery/index.yaml b/gallery/index.yaml index 08c203349..08d410ac4 100644 --- a/gallery/index.yaml +++ b/gallery/index.yaml @@ -30844,6 +30844,7 @@ parameters: model: ltx-2.3-22b-dev-UD-Q4_K_M.gguf options: + - diffusion_model - llm_path:gemma-3-12b-it-qat-UD-Q4_K_XL.gguf - vae_path:ltx-2.3-22b-dev_video_vae.safetensors - audio_vae_path:ltx-2.3-22b-dev_audio_vae.safetensors @@ -30875,6 +30876,7 @@ parameters: model: ltx-2.3-22b-dev-Q4_K_M.gguf options: + - diffusion_model - llm_path:gemma-3-12b-it-qat-UD-Q4_K_XL.gguf - vae_path:ltx-2.3-22b-dev_video_vae.safetensors - audio_vae_path:ltx-2.3-22b-dev_audio_vae.safetensors @@ -30906,6 +30908,7 @@ parameters: model: ltx-2.3-22b-dev-Q8_0.gguf options: + - diffusion_model - llm_path:gemma-3-12b-it-qat-UD-Q4_K_XL.gguf - vae_path:ltx-2.3-22b-dev_video_vae.safetensors - audio_vae_path:ltx-2.3-22b-dev_audio_vae.safetensors @@ -30965,6 +30968,7 @@ parameters: model: ltx-2.3-22b-distilled-UD-Q4_K_M.gguf options: + - diffusion_model - llm_path:gemma-3-12b-it-qat-UD-Q4_K_XL.gguf - vae_path:ltx-2.3-22b-distilled_video_vae.safetensors - audio_vae_path:ltx-2.3-22b-distilled_audio_vae.safetensors @@ -30995,6 +30999,7 @@ parameters: model: ltx-2.3-22b-distilled-Q4_K_M.gguf options: + - diffusion_model - llm_path:gemma-3-12b-it-qat-UD-Q4_K_XL.gguf - vae_path:ltx-2.3-22b-distilled_video_vae.safetensors - audio_vae_path:ltx-2.3-22b-distilled_audio_vae.safetensors @@ -31025,6 +31030,7 @@ parameters: model: ltx-2.3-22b-distilled-Q8_0.gguf options: + - diffusion_model - llm_path:gemma-3-12b-it-qat-UD-Q4_K_XL.gguf - vae_path:ltx-2.3-22b-distilled_video_vae.safetensors - audio_vae_path:ltx-2.3-22b-distilled_audio_vae.safetensors