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

Aperta
#549 0 commenti 1 reazione 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
22/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
python

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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
Lingua principale
Python
Stelle
4.2k
Fork
508
Merge medio
7h 14m
PR unite (30g)
3

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Lightricks/ComfyUI-LTXVideo

Tutte le issue di Lightricks/ComfyUI-LTXVideo

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.