GemmaAPITextEncode: no LTX-2.5 checkpoint carries the 'encrypted_wandb_properties' model_id key

Abierto
#549 0 comentarios 1 reacción 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
22/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Tranquilo
Stack tecnológico
python

Línea de trabajo

Start in gemma_api_conditioning.py, where extract_model_id() sets model_id_key to 'encrypted_wandb_properties' and reads it from the checkpoint's safetensors header. Compare that with the gemma_source_checkpoint and config metadata that 2.5 files carry. The issue shows the /v1/prompt-embedding endpoint rejects the obvious substitute IDs, so the fix probably needs maintainer input on the valid model_id. Done means a 2.5 checkpoint either resolves to an accepted ID or fails with a clear message.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Summary

GemmaAPITextEncode.extract_model_id() reads a metadata key named encrypted_wandb_properties from the selected checkpoint's safetensors header to build the model_id sent to https://api.ltx.video/v1/prompt-embedding. None of the LTX-2.5 checkpoints published on Lightricks/LTX-2.5 carry that key, so the node always fails with "Model ID cannot be identified from the provided model file" for any 2.5 checkpoint.

Details

Checked the safetensors header metadata (via a range request, not a full download) on both:

  • diffusion_models/ltx-2.5-22b-distilled-transformer-bf16.safetensors
  • diffusion_models/ltx-2.5-22b-dev-transformer-bf16.safetensors

Both return the same metadata key set:

['model_version', 'gemma_source_checkpoint', 'license', 'config']

encrypted_wandb_properties is absent from both. gemma_source_checkpoint is present instead, e.g.:

{"ltx_version": "2.5.0", "gemma_version": "gemma4-12b-ltx-v1"}

The Aug 11 launch-day update (PR #547) touched gemma_api_conditioning.py for multi-folder checkpoint resolution, but model_id_key = "encrypted_wandb_properties" itself was left unchanged, so the lookup still targets the old key.

I also tried calling /v1/prompt-embedding directly with a few plausible substitute model_id values derived from the new metadata (gemma4-12b-ltx-v1, ltx-2.5.0, 2.5.0, ltx-2.5, and a combined form) in case the API itself would accept a simpler identifier for 2.5. All were rejected identically:

{"type":"error","error":{"type":"invalid_request_error","message":"The requested model_id is not served by this endpoint."}}

So this isn't just a stale key name on the client side - the API endpoint doesn't yet recognize any plain identifier for LTX-2.5 either, at least none I could guess from public metadata.

Expected behavior

GemmaAPITextEncode should work against LTX-2.5 checkpoints the same way it does for 2.3, either by:

  • LTX-2.5 checkpoints carrying a valid encrypted_wandb_properties (or equivalent) value again, or
  • the node/API being updated to derive a valid model_id from the new gemma_source_checkpoint/config metadata that 2.5 checkpoints do carry.

Environment

  • ComfyUI-LTXVideo: latest master (ac4d99839020b983e956a8ab67ec38aec1b6e65a, 2026-08-11)
  • Checkpoints: Lightricks/LTX-2.5, both distilled and dev transformer variants
Lenguaje dominante
Python
Estrellas
4.2k
Forks
508
Merge medio
7 h 14 min
PR fusionados (30 d)
3

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de Lightricks/ComfyUI-LTXVideo

Todos los issues de Lightricks/ComfyUI-LTXVideo

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.