我是个新手遇到一个无法解决的问题,模型都是在hugging face上下载的结果工作流无法运行

Aperta
#502 1 commento 0 reazioni 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
Da chiarire
Stato di attività
Tranquilla
Stack tecnologico
python

Direzione di ricerca

The payload gives no file paths, only the traceback: a state_dict size mismatch on LTXAVModel for scale_shift_table_a2v_ca_audio and scale_shift_table_a2v_ca_video across transformer_blocks. Start by finding where LTXAVModel is defined and where those tables are sized, then compare against the checkpoint the reporter downloaded from Hugging Face. Done means either the loader accepts the checkpoint or the user is pointed to the correct model version, confirmed by reproducing the workflow.

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

Descrizione

Error(s) in loading state_dict for LTXAVModel:
size mismatch for transformer_blocks.0.scale_shift_table_a2v_ca_audio: copying a param with shape torch.Size([5, 2048]) from checkpoint, the shape in current model is torch.Size([8, 2048]).
size mismatch for transformer_blocks.0.scale_shift_table_a2v_ca_video: copying a param with shape torch.Size([5, 4096]) from checkpoint, the shape in current model is torch.Size([8, 4096]).
size mismatch for transformer_blocks.1.scale_shift_table_a2v_ca_audio: copying a param with shape torch.Size([5, 2048]) from checkpoint, the shape in current model is torch.Size([8, 2048]).
size mismatch for transformer_blocks.1.scale_shift_table_a2v_ca_video: copying a param with shape torch.Size([5, 4096]) from checkpoint, the shape in current model is torch.Size([8, 4096]).
size mismatch for transformer_blocks.2.scale_shift_table_a2v_ca_audio: copying a param with shape torch.Size([5, 2048]) from checkpoint, the shape in current model is torch.Size([8, 2048]).
size mismatch for transformer_blocks.2.scale_shift_table_a2v_ca_video: copying a param with shape torch.Size([5, 4096]) from checkpoint, the shape in current model is torch.Size([8, 4096]).
size mismatch for transformer_blocks.3.scale_shift_table_a2v_ca_audio: copying a param with shape torch.Size([5, 2048]) from checkpoint, the shape in current model is torch.Size([8, 2048]).
size mismatch for transformer_blocks.3.scale_shift_table_a2v_ca_video: copying a param with shape torch.Size([5, 4096]) from checkpoint, the shape in current model is torch.Size([8, 4096]).
size mismatch for transformer_blocks.4.scale_shift_table_a2v_ca_audio: copying a param with shape torch.Size([5, 2048]) from checkpoint, the shape in current model is torch.Size([8, 2048]).
size mismatch for transformer_blocks.4.scale_shift_table_a2v_ca_video: copying a param with shape torch.Size([5, 4096]) from checkpoint, the shape in current model is torch.Size([8, 4096]).
size mismatch for transformer_blocks.5.scale_shift_table_a2v_ca_audio: copying a param with shape torch.Size([5, 2048]) from checkpoint, the shape in current model is torch.Size([8, 2048]).
size mismatch for transformer_blocks.5.scale_shift_table_a2v_ca_video: copying a param with shape torch.Size([5, 4096]) from checkpoint, the shape in current model is torch.Size([8, 4096]).
size mismatch for transformer_blocks.6.scale_shift_table_a2v_ca_audio: copying a param with shape torch.Size([5, 2048]) from checkpoint, the shape in current model is torch.Size([8, 2048]).
size mismatch for transformer_blocks.6.scale_shift_table_a2v_ca_video: copying a param with shape torch.Size([5, 4096]) from checkpoint, the shape in current model is torch.Size([8, 4096]).
size mismatch for transformer_blocks.7.scale_shift_table_a2v_ca_audio: copying a param with shape torch.Size([5, 2048]) from checkpoint, the shape in current model is torch.Size([8, 2048]).
size mismatch for transformer_blocks.7.scale_shift_table_a2v_ca_video: copying a param with shape torch.Size([5, 4096]) from checkpoint, the shape in current model is torch.Size([8, 4096]).
size mismatch for transformer_blocks.8.scale_shift_table_a2v_ca_audio: copying a param with shape torch.Size([5, 2048]) from checkpoint, the shape in current model is torch.Size([8, 2048]).
size mismatch for transformer_blocks.8.scale_shift_table_a2v_ca_video: copying a param with shape torch.Size([5, 4096]) from checkpoint, the shape in current model is torch.Size([8, 4096]).
size mismatch for transformer_blocks.9.scale_shift_table_a2v_ca_audio: copying a param with shape torch.Size([5, 2048]) from checkpoint, the shape in current model is torch.Size([8, 2048]).
size mismatch for transformer_blocks.9.scale_shift_table_a2v_ca_video: copying a param with shape torch.Size([5, 4096]) from checkpoint, the shape in current model is torch.Size([8, 4096]).
size mismatch for transformer_blocks.10.scale_shift_table_a2v_ca_audio: copying a param with shape torch.Size([5, 2048]) from checkpoint, the shape in current model is torch.Size([8, 2048]).
size mismatch for transformer_blocks.10.scale_shift_table_a2v_ca_video: copying a param with shape torch.Size([5, 4096]) from checkpoint, the shape in current model is torch.Size([8, 4096]).
size mismatch for transformer_blocks.11.scale_shift_table_a2v_ca_audio: copying a param with shape torch.Size([5, 2048]) from checkpoint, the shape in current model is torch.Size([8, 2048]).
size mismatch for transformer_blocks.11.scale_shift_table_a2v_ca_video: copying a param with shape torch.Size([5, 4096]) from checkpoint, the shape in current model is torch.Size([8, 4096]).
size mismatch for transformer_blocks.12.scale_shift_table_a2v_ca_audio: copying a param with shape torch.Size([5, 2048]) from checkpoint, the shape in current model is torch.Size([8, 2048]).
size mismatch for transformer_blocks.12.scale_shift_table_a2v_ca_video: copying a param with shape torch.Size([5, 4096]) from checkpoint, the shape in current model is torch.Size([8, 4096]).
size mismatch for transformer_blocks.13.scale_shift_table_a2v_ca_audio: copying a param with shape torch.Size([5, 2048]) from checkpoint, the shape in current model is torch.Size([8, 2048]).
size mismatch for transformer_blocks.13.scale_shift_table_a2v_ca_video: copying a param with shape torch.Size([5, 4096]) from checkpoint, the shape in current model is torch.Size([8, 4096]).
size mismatch for transformer_blocks.14.scale_shift_table_a2v_ca_audio: copying a param with shape torch.Size([5, 2048]) from checkpoint, the shape in current model is torch.Size([8, 2048]).
size mismatch for transformer_blocks.14.scale_shift_table_a2v_ca_video: copying a param with shape torch.Size([5, 4096]) from checkpoint, the shape in current model is torch.Size([8, 4096]).
size mismatch for transformer_blocks.15.scale_shift_table_a2v_ca_audio: copying a param with shape torch.Size([5, 2048]) from checkpoint, the shape in current model is torch.Size([8, 2048]).
size mismatch for transformer_blocks.15.scale_shift_table_a2v_ca_video: copying a param with shape torch.Size([5, 4096]) from checkpoint, the shape in current model is torch.Size([8, 4096]).
size mismatch for transformer_blocks.16.scale_shift_table_a2v_ca_audio: copying a param with shape torch.Size([5, 2048]) from checkpoint, the shape in current model is torch.Size([8, 2048]).
size mismatch for transformer_blocks.16.scale_shift_table_a2v_ca_video: copying a param with shape torch.Size([5, 4096]) from checkpoint, the shape in current model is torch.Size([8, 4096]).
size mismatch for transformer_blocks.17.scale_shift_table_a2v_ca_audio: copying a param with shape torch.Size([5, 2048]) from checkpoint, the shape in current model is torch.Size([8, 2048]).
size mismatch for transformer_blocks.17.scale_shift_table_a2v_ca_video: copying a param with shape torch.Size([5, 4096]) from checkpoint, the shape in current model is torch.Size([8, 4096]).
size mismatch for transformer_blocks.18.scale_shift_table_a2v_ca_audio: copying a param with shape torch.Size([5, 2048]) from checkpoint, the shape in current model is torch.Size([8, 2048]).
size mismatch for transformer_blocks.18.scale_shift_table_a2v_ca_video: copying a param with shape torch.Size([5, 4096]) from checkpoint, the shape in current model is torch.Size([8, 4096]).
size mismatch for transformer_blocks.19.scale_shift_table_a2v_ca_audio: copying a param with shape torch.Size([5, 2048]) from checkpoint, the shape in current model is torch.Size([8, 2048]).
size mismatch for transformer_blocks.19.scale_shift_table_a2v_ca_video: copying a param with shape torch.Size([5, 4096]) from checkpoint, the shape in current model is torch.Size([8, 4096]).
size mismatch for transformer_blocks.20.scale_shift_table_a2v_ca_audio: copying a param with shape torch.Size([5, 2048]) from checkpoint, the shape in current model is torch.Size([8, 2048]).
size mismatch for transformer_blocks.20.scale_shift_table_a2v_ca_video: copying a param with shape torch.Size([5, 4096]) from checkpoint, the shape in current model is torch.Size([8, 4096]).
size mismatch for transformer_blocks.21.scale_shift_table_a2v_ca_audio: copying a param with shape torch.Size([5, 2048]) from checkpoint, the shape in current model is torch.Size([8, 2048]).
size mismatch for transformer_blocks.21.scale_shift_table_a2v_ca_video: copying a param with shape torch.Size([5, 4096]) from checkpoint, the shape in current model is torch.Size([8, 4096]).
size mismatch for transformer_blocks.22.scale_shift_table_a2v_ca_audio: copying a param with shape torch.Size([5, 2048]) from checkpoint, the shape in current model is torch.Size([8, 2048]).
size mismatch for transformer_blocks.22.scale_shift_table_a2v_ca_video: copying a param with shape torch.Size([5, 4096]) from checkpoint, the shape in current model is torch.Size([8, 4096]).
size mismatch for transformer_blocks.23.scale_shift_table_a2v_ca_audio: copying a param with shape torch.Size([5, 2048]) from checkpoint, the shape in current model is torch.Size([8, 2048]).
size mismatch for transformer_blocks.23.scale_shift_table_a2v_ca_video: copying a param with shape torch.Size([5, 4096]) from checkpoint, the shape in current model is torch.Size([8, 4096]).
size mismatch for transformer_blocks.24.scale_shift_table_a2v_ca_audio: copying a param with shape torch.Size([5, 2048]) from checkpoint, the shape in current model is torch.Size([8, 2048]).
size mismatch for transformer_blocks.24.scale_shift_table_a2v_ca_video: copying a param with shape torch.Size([5, 4096]) from checkpoint, the shape in current model is torch.Size([8, 4096]).
size mismatch for transformer_blocks.25.scale_shift_table_a2v_ca_audio: copying a param with shape torch.Size([5, 2048]) from checkpoint, the shape in current model is torch.Size([8, 2048]).
size mismatch for transformer_blocks.25.scale_shift_table_a2v_ca_video: copying a param with shape torch.Size([5, 4096]) from checkpoint, the shape in current model is torch.Size([8, 4096]).
size mismatch for transformer_blocks.26.scale_shift_table_a2v_ca_audio: copying a param with shape torch.Size([5, 2048]) from checkpoint, the shape in current model is torch.Size([8, 2048]).
size mismatch for transformer_blocks.26.scale_shift_table_a2v_ca_video: copying a param with shape torch.Size([5, 4096]) from checkpoint, the shape in current model is torch.Size([8, 4096]).
size mismatch for transformer_blocks.27.scale_shift_table_a2v_ca_audio: copying a param with shape torch.Size([5, 2048]) from checkpoint, the shape in current model is torch.Size([8, 2048]).
size mismatch for transformer_blocks.27.scale_shift_table_a2v_ca_video: copying a param with shape torch.Size([5, 4096]) from checkpoint, the shape in current model is torch.Size([8, 4096]).
size mismatch for transformer_blocks.28.scale_shift_table_a2v_ca_audio: copying a param with shape torch.Size([5, 2048]) from checkpoint, the shape in current model is torch.Size([8, 2048]).
size mismatch for transformer_blocks.28.scale_shift_table_a2v_ca_video: copying a param with shape torch.Size([5, 4096]) from checkpoint, the shape in current model is torch.Size([8, 4096]).
size mismatch for transformer_blocks.29.scale_shift_table_a2v_ca_audio: copying a param with shape torch.Size([5, 2048]) from checkpoint, the shape in current model is torch.Size([8, 2048]).
size mismatch for transformer_blocks.29.scale_shift_table_a2v_ca_video: copying a param with shape torch.Size([5, 4096]) from checkpoint, the shape in current model is torch.Size([8, 4096]).
size mismatch for transformer_blocks.30.scale_shift_table_a2v_ca_audio: copying a param with shape torch.Size([5, 2048]) from checkpoint, the shape in current model is torch.Size([8, 2048]).
size mismatch for transformer_blocks.30.scale_shift_table_a2v_ca_video: copying a param with shape torch.Size([5, 4096]) from checkpoint, the shape in current model is torch.Size([8, 4096]).
size mismatch for transformer_blocks.31.scale_shift_table_a2v_ca_audio: copying a param with shape torch.Size([5, 2048]) from checkpoint, the shape in current model is torch.Size([8, 2048]).
size mismatch for transformer_blocks.31.scale_shift_table_a2v_ca_video: copying a param with shape torch.Size([5, 4096]) from checkpoint, the shape in current model is torch.Size([8, 4096]).
size mismatch for transformer_blocks.32.scale_shift_table_a2v_ca_audio: copying a param with shape torch.Size([5, 2048]) from checkpoint, the shape in current model is torch.Size([8, 2048]).
size mismatch for transformer_blocks.32.scale_shift_table_a2v_ca_video: copying a param with shape torch.Size([5, 4096]) from checkpoint, the shape in current model is torch.Size([8, 4096]).
size mismatch for transformer_blocks.33.scale_shift_table_a2v_ca_audio: copying a param with shape torch.Size([5, 2048]) from checkpoint, the shape in current model is torch.Size([8, 2048]).
size mismatch for transformer_blocks.33.scale_shift_table_a2v_ca_video: copying a param with shape torch.Size([5, 4096]) from checkpoint, the shape in current model is torch.Size([8, 4096]).
size mismatch for transformer_blocks.34.scale_shift_table_a2v_ca_audio: copying a param with shape torch.Size([5, 2048]) from checkpoint, the shape in current model is torch.Size([8, 2048]).
size mismatch for transformer_blocks.34.scale_shift_table_a2v_ca_video: copying a param with shape torch.Size([5, 4096]) from checkpoint, the shape in current model is torch.Size([8, 4096]).
size mismatch for transformer_blocks.35.scale_shift_table_a2v_ca_audio: copying a param with shape torch.Size([5, 2048]) from checkpoint, the shape in current model is torch.Size([8, 2048]).
size mismatch for transformer_blocks.35.scale_shift_table_a2v_ca_video: copying a param with shape torch.Size([5, 4096]) from checkpoint, the shape in current model is torch.Size([8, 4096]).
size mismatch for transformer_blocks.36.scale_shift_table_a2v_ca_audio: copying a param with shape torch.Size([5, 2048]) from checkpoint, the shape in current model is torch.Size([8, 2048]).
size mismatch for transformer_blocks.36.scale_shift_table_a2v_ca_video: copying a param with shape torch.Size([5, 4096]) from checkpoint, the shape in current model is torch.Size([8, 4096]).
size mismatch for transformer_blocks.37.scale_shift_table_a2v_ca_audio: copying a param with shape torch.Size([5, 2048]) from checkpoint, the shape in current model is torch.Size([8, 2048]).
size mismatch for transformer_blocks.37.scale_shift_table_a2v_ca_video: copying a param with shape torch.Size([5, 4096]) from checkpoint, the shape in current model is torch.Size([8, 4096]).
size mismatch for transformer_blocks.38.scale_shift_table_a2v_ca_audio: copying a param with shape torch.Size([5, 2048]) from checkpoint, the shape in current model is torch.Size([8, 2048]).
size mismatch for transformer_blocks.38.scale_shift_table_a2v_ca_video: copying a param with shape torch.Size([5, 4096]) from checkpoint, the shape in current model is torch.Size([8, 4096]).
size mismatch for transformer_blocks.39.scale_shift_table_a2v_ca_audio: copying a param with shape torch.Size([5, 2048]) from checkpoint, the shape in current model is torch.Size([8, 2048]).
size mismatch for transformer_blocks.39.scale_shift_table_a2v_ca_video: copying a param with shape torch.Size([5, 4096]) from checkpoint, the shape in current model is torch.Size([8, 4096]).
size mismatch for transformer_blocks.40.scale_shift_table_a2v_ca_audio: copying a param with shape torch.Size([5, 2048]) from checkpoint, the shape in current model is torch.Size([8, 2048]).
size mismatch for transformer_blocks.40.scale_shift_table_a2v_ca_video: copying a param with shape torch.Size([5, 4096]) from checkpoint, the shape in current model is torch.Size([8, 4096]).
size mismatch for transformer_blocks.41.scale_shift_table_a2v_ca_audio: copying a param with shape torch.Size([5, 2048]) from checkpoint, the shape in current model is torch.Size([8, 2048]).
size mismatch for transformer_blocks.41.scale_shift_table_a2v_ca_video: copying a param with shape torch.Size([5, 4096]) from checkpoint, the shape in current model is torch.Size([8, 4096]).
size mismatch for transformer_blocks.42.scale_shift_table_a2v_ca_audio: copying a param with shape torch.Size([5, 2048]) from checkpoint, the shape in current model is torch.Size([8, 2048]).
size mismatch for transformer_blocks.42.scale_shift_table_a2v_ca_video: copying a param with shape torch.Size([5, 4096]) from checkpoint, the shape in current model is torch.Size([8, 4096]).
size mismatch for transformer_blocks.43.scale_shift_table_a2v_ca_audio: copying a param with shape torch.Size([5, 2048]) from checkpoint, the shape in current model is torch.Size([8, 2048]).
size mismatch for transformer_blocks.43.scale_shift_table_a2v_ca_video: copying a param with shape torch.Size([5, 4096]) from checkpoint, the shape in current model is torch.Size([8, 4096]).
size mismatch for transformer_blocks.44.scale_shift_table_a2v_ca_audio: copying a param with shape torch.Size([5, 2048]) from checkpoint, the shape in current model is torch.Size([8, 2048]).
size mismatch for transformer_blocks.44.scale_shift_table_a2v_ca_video: copying a param with shape torch.Size([5, 4096]) from checkpoint, the shape in current model is torch.Size([8, 4096]).
size mismatch for transformer_blocks.45.scale_shift_table_a2v_ca_audio: copying a param with shape torch.Size([5, 2048]) from checkpoint, the shape in current model is torch.Size([8, 2048]).
size mismatch for transformer_blocks.45.scale_shift_table_a2v_ca_video: copying a param with shape torch.Size([5, 4096]) from checkpoint, the shape in current model is torch.Size([8, 4096]).
size mismatch for transformer_blocks.46.scale_shift_table_a2v_ca_audio: copying a param with shape torch.Size([5, 2048]) from checkpoint, the shape in current model is torch.Size([8, 2048]).
size mismatch for transformer_blocks.46.scale_shift_table_a2v_ca_video: copying a param with shape torch.Size([5, 4096]) from checkpoint, the shape in current model is torch.Size([8, 4096]).
size mismatch for transformer_blocks.47.scale_shift_table_a2v_ca_audio: copying a param with shape torch.Size([5, 2048]) from checkpoint, the shape in current model is torch.Size([8, 2048]).
size mismatch for transformer_blocks.47.scale_shift_table_a2v_ca_video: copying a param with shape torch.Size([5, 4096]) from checkpoint, the shape in current model is torch.Size([8, 4096]).

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.