After Update LTX- 2 Wf is not working - sampler custom advanced error. Nodes are all updated...LTX-2.3 wf works!!!
It seems to be a problem with the connector Error Message:
got prompt
VAE load device: cuda:0, offload device: cpu, dtype: torch.bfloat16
Found quantization metadata version 1
[MultiGPU Core Patching] text_encoder_device_patched returning device: cuda:0 (current_text_encoder_device=cuda:0)
Using MixedPrecisionOps for text encoder
CLIP/text encoder model load device: cuda:0, offload device: cpu, current: cpu, dtype: torch.float16
Requested to load LTXAVTEModel_
Model LTXAVTEModel_ prepared for dynamic VRAM loading. 11724MB Staged. 0 patches attached. Force pre-loaded 290 weights: 1497 KB.
Model LTXAVTEModel_ prepared for dynamic VRAM loading. 11724MB Staged. 0 patches attached. Force pre-loaded 290 weights: 1497 KB.
Requested to load VideoVAE
Model VideoVAE prepared for dynamic VRAM loading. 2331MB Staged. 0 patches attached.
Found quantization metadata version 1
Detected mixed precision quantization
Using mixed precision operations
model weight dtype torch.bfloat16, manual cast: torch.bfloat16
model_type FLUX
Missing weight for layer audio_embeddings_connector.transformer_1d_blocks.0.attn1.to_q
Missing weight for layer audio_embeddings_connector.transformer_1d_blocks.0.attn1.to_k
Missing weight for layer audio_embeddings_connector.transformer_1d_blocks.0.attn1.to_v
Missing weight for layer audio_embeddings_connector.transformer_1d_blocks.0.attn1.to_out.0
Missing weight for layer audio_embeddings_connector.transformer_1d_blocks.0.ff.net.0.proj
Missing weight for layer audio_embeddings_connector.transformer_1d_blocks.0.ff.net.2
Missing weight for layer audio_embeddings_connector.transformer_1d_blocks.1.attn1.to_q
Missing weight for layer audio_embeddings_connector.transformer_1d_blocks.1.attn1.to_k
Missing weight for layer audio_embeddings_connector.transformer_1d_blocks.1.attn1.to_v
Missing weight for layer audio_embeddings_connector.transformer_1d_blocks.1.attn1.to_out.0
Missing weight for layer audio_embeddings_connector.transformer_1d_blocks.1.ff.net.0.proj
Missing weight for layer audio_embeddings_connector.transformer_1d_blocks.1.ff.net.2
Missing weight for layer video_embeddings_connector.transformer_1d_blocks.0.attn1.to_q
Missing weight for layer video_embeddings_connector.transformer_1d_blocks.0.attn1.to_k
Missing weight for layer video_embeddings_connector.transformer_1d_blocks.0.attn1.to_v
Missing weight for layer video_embeddings_connector.transformer_1d_blocks.0.attn1.to_out.0
Missing weight for layer video_embeddings_connector.transformer_1d_blocks.0.ff.net.0.proj
Missing weight for layer video_embeddings_connector.transformer_1d_blocks.0.ff.net.2
Missing weight for layer video_embeddings_connector.transformer_1d_blocks.1.attn1.to_q
Missing weight for layer video_embeddings_connector.transformer_1d_blocks.1.attn1.to_k
Missing weight for layer video_embeddings_connector.transformer_1d_blocks.1.attn1.to_v
Missing weight for layer video_embeddings_connector.transformer_1d_blocks.1.attn1.to_out.0
Missing weight for layer video_embeddings_connector.transformer_1d_blocks.1.ff.net.0.proj
Missing weight for layer video_embeddings_connector.transformer_1d_blocks.1.ff.net.2
unet missing: ['audio_embeddings_connector.learnable_registers', 'audio_embeddings_connector.transformer_1d_blocks.0.attn1.q_norm.weight', 'audio_embeddings_connector.transformer_1d_blocks.0.attn1.k_norm.weight', 'audio_embeddings_connector.transformer_1d_blocks.1.attn1.q_norm.weight', 'audio_embeddings_connector.transformer_1d_blocks.1.attn1.k_norm.weight', 'video_embeddings_connector.learnable_registers', 'video_embeddings_connector.transformer_1d_blocks.0.attn1.q_norm.weight', 'video_embeddings_connector.transformer_1d_blocks.0.attn1.k_norm.weight', 'video_embeddings_connector.transformer_1d_blocks.1.attn1.q_norm.weight', 'video_embeddings_connector.transformer_1d_blocks.1.attn1.k_norm.weight']
Requested to load LTXAV
Warning: state dict on uninitialized op diffusion_model.audio_embeddings_connector.transformer_1d_blocks.0.attn1.to_q.
Warning: state dict on uninitialized op diffusion_model.audio_embeddings_connector.transformer_1d_blocks.0.attn1.to_k.
Warning: state dict on uninitialized op diffusion_model.audio_embeddings_connector.transformer_1d_blocks.0.attn1.to_v.
Warning: state dict on uninitialized op diffusion_model.audio_embeddings_connector.transformer_1d_blocks.0.attn1.to_out.0.
Warning: state dict on uninitialized op diffusion_model.audio_embeddings_connector.transformer_1d_blocks.0.ff.net.0.proj.
Warning: state dict on uninitialized op diffusion_model.audio_embeddings_connector.transformer_1d_blocks.0.ff.net.2.
Warning: state dict on uninitialized op diffusion_model.audio_embeddings_connector.transformer_1d_blocks.1.attn1.to_q.
Warning: state dict on uninitialized op diffusion_model.audio_embeddings_connector.transformer_1d_blocks.1.attn1.to_k.
Warning: state dict on uninitialized op diffusion_model.audio_embeddings_connector.transformer_1d_blocks.1.attn1.to_v.
Warning: state dict on uninitialized op diffusion_model.audio_embeddings_connector.transformer_1d_blocks.1.attn1.to_out.0.
Warning: state dict on uninitialized op diffusion_model.audio_embeddings_connector.transformer_1d_blocks.1.ff.net.0.proj.
Warning: state dict on uninitialized op diffusion_model.audio_embeddings_connector.transformer_1d_blocks.1.ff.net.2.
Warning: state dict on uninitialized op diffusion_model.video_embeddings_connector.transformer_1d_blocks.0.attn1.to_q.
Warning: state dict on uninitialized op diffusion_model.video_embeddings_connector.transformer_1d_blocks.0.attn1.to_k.
Warning: state dict on uninitialized op diffusion_model.video_embeddings_connector.transformer_1d_blocks.0.attn1.to_v.
Warning: state dict on uninitialized op diffusion_model.video_embeddings_connector.transformer_1d_blocks.0.attn1.to_out.0.
Warning: state dict on uninitialized op diffusion_model.video_embeddings_connector.transformer_1d_blocks.0.ff.net.0.proj.
Warning: state dict on uninitialized op diffusion_model.video_embeddings_connector.transformer_1d_blocks.0.ff.net.2.
Warning: state dict on uninitialized op diffusion_model.video_embeddings_connector.transformer_1d_blocks.1.attn1.to_q.
Warning: state dict on uninitialized op diffusion_model.video_embeddings_connector.transformer_1d_blocks.1.attn1.to_k.
Warning: state dict on uninitialized op diffusion_model.video_embeddings_connector.transformer_1d_blocks.1.attn1.to_v.
Warning: state dict on uninitialized op diffusion_model.video_embeddings_connector.transformer_1d_blocks.1.attn1.to_out.0.
Warning: state dict on uninitialized op diffusion_model.video_embeddings_connector.transformer_1d_blocks.1.ff.net.0.proj.
Warning: state dict on uninitialized op diffusion_model.video_embeddings_connector.transformer_1d_blocks.1.ff.net.2.
Warning: state dict on uninitialized op
Warning: state dict on uninitialized op
!!! Exception during processing !!! 'Linear' object has no attribute 'weight'
Traceback (most recent call last):
File "C:\Users\Intersurf\Documents\ComfyUI\comfy\model_patcher.py", line 1668, in partially_load
self.load(device_to, dirty=dirty)
~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Intersurf\Documents\ComfyUI\comfy\model_patcher.py", line 1516, in load
loading = self._load_list(for_dynamic=True, default_device=device_to)
File "C:\Users\Intersurf\Documents\ComfyUI\comfy\model_patcher.py", line 734, in _load_list
module_offload_mem += check_module_offload_mem("{}.weight".format(n))
~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Intersurf\Documents\ComfyUI\comfy\model_patcher.py", line 728, in check_module_offload_mem
weight, _, _ = get_key_weight(self.model, key)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "C:\Users\Intersurf\Documents\ComfyUI\comfy\model_patcher.py", line 157, in get_key_weight
weight = getattr(op, op_keys[1])
File "C:\Users\Intersurf\AppData\Local\Programs\Python\Python313\Lib\site-packages\torch\nn\modules\module.py", line 1964, in getattr
raise AttributeError(
f"'{type(self).name}' object has no attribute '{name}'"
)
AttributeError: 'Linear' object has no attribute 'weight'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\Intersurf\Documents\ComfyUI\execution.py", line 524, in execute
output_data, output_ui, has_subgraph, has_pending_tasks = await get_output_data(prompt_id, unique_id, obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, v3_data=v3_data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Intersurf\Documents\ComfyUI\execution.py", line 333, in get_output_data
return_values = await _async_map_node_over_list(prompt_id, unique_id, obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, v3_data=v3_data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Intersurf\Documents\ComfyUI\custom_nodes\comfyui-lora-manager\py\metadata_collector\metadata_hook.py", line 165, in async_map_node_over_list_with_metadata
results = await original_map_node_over_list(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...<2 lines>...
)
^
File "C:\Users\Intersurf\Documents\ComfyUI\execution.py", line 307, in async_map_node_over_list
await process_inputs(input_dict, i)
File "C:\Users\Intersurf\Documents\ComfyUI\execution.py", line 295, in process_inputs
result = f(**inputs)
File "C:\Users\Intersurf\Documents\ComfyUI\comfy_api\internal_init.py", line 149, in wrapped_func
return method(locked_class, **inputs)
File "C:\Users\Intersurf\Documents\ComfyUI\comfy_api\latest_io.py", line 1764, in EXECUTE_NORMALIZED
to_return = cls.execute(*args, **kwargs)
File "C:\Users\Intersurf\Documents\ComfyUI\comfy_extras\nodes_custom_sampler.py", line 963, in execute
samples = guider.sample(noise.generate_noise(latent), latent_image, sampler, sigmas, denoise_mask=noise_mask, callback=callback, disable_pbar=disable_pbar, seed=noise.seed)
File "C:\Users\Intersurf\Documents\ComfyUI\comfy\samplers.py", line 1051, in sample
output = executor.execute(noise, latent_image, sampler, sigmas, denoise_mask, callback, disable_pbar, seed, latent_shapes=latent_shapes)
File "C:\Users\Intersurf\Documents\ComfyUI\comfy\patcher_extension.py", line 112, in execute
return self.original(*args, **kwargs)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "C:\Users\Intersurf\Documents\ComfyUI\comfy\samplers.py", line 985, in outer_sample
self.inner_model, self.conds, self.loaded_models = comfy.sampler_helpers.prepare_sampling(self.model_patcher, noise.shape, self.conds, self.model_options)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Intersurf\Documents\ComfyUI\comfy\sampler_helpers.py", line 142, in prepare_sampling
return executor.execute(model, noise_shape, conds, model_options=model_options, force_full_load=force_full_load, force_offload=force_offload)
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Intersurf\Documents\ComfyUI\comfy\patcher_extension.py", line 112, in execute
return self.original(*args, **kwargs)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "C:\Users\Intersurf\Documents\ComfyUI\comfy\sampler_helpers.py", line 156, in _prepare_sampling
comfy.model_management.load_models_gpu([model] + models, memory_required=memory_required, minimum_memory_required=minimum_memory_required, force_full_load=force_full_load)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Intersurf\Documents\ComfyUI\comfy\model_management.py", line 755, in load_models_gpu
loaded_model.model_load(lowvram_model_memory, force_patch_weights=force_patch_weights)
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Intersurf\Documents\ComfyUI\comfy\model_management.py", line 538, in model_load
self.model_use_more_vram(use_more_vram, force_patch_weights=force_patch_weights)
~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Intersurf\Documents\ComfyUI\comfy\model_management.py", line 568, in model_use_more_vram
return self.model.partially_load(self.device, extra_memory, force_patch_weights=force_patch_weights)
~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Intersurf\Documents\ComfyUI\comfy\model_patcher.py", line 1670, in partially_load
self.detach()
~~~~~~~~~~~^^
File "C:\Users\Intersurf\Documents\ComfyUI\comfy\model_patcher.py", line 1052, in detach
self.unpatch_model(self.offload_device, unpatch_weights=unpatch_all)
~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Intersurf\Documents\ComfyUI\comfy\model_patcher.py", line 1654, in unpatch_model
self.partially_unload_ram(1e32)
~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
File "C:\Users\Intersurf\Documents\ComfyUI\comfy\model_patcher.py", line 1635, in partially_unload_ram
loading = self._load_list(for_dynamic=True, default_device=self.offload_device)
File "C:\Users\Intersurf\Documents\ComfyUI\comfy\model_patcher.py", line 734, in _load_list
module_offload_mem += check_module_offload_mem("{}.weight".format(n))
~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Intersurf\Documents\ComfyUI\comfy\model_patcher.py", line 728, in check_module_offload_mem
weight, _, _ = get_key_weight(self.model, key)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "C:\Users\Intersurf\Documents\ComfyUI\comfy\model_patcher.py", line 157, in get_key_weight
weight = getattr(op, op_keys[1])
File "C:\Users\Intersurf\AppData\Local\Programs\Python\Python313\Lib\site-packages\torch\nn\modules\module.py", line 1964, in getattr
raise AttributeError(
f"'{type(self).name}' object has no attribute '{name}'"
)
AttributeError: 'Linear' object has no attribute 'weight'
Prompt executed in 7.28 seconds
You said "After Update LTX- 2" ...
You mean after updating models to LTX-2.3?
If so you need to change the model loaders: https://huggingface.co/Kijai/LTX2.3_comfy
In any older workflows.
You said "After Update LTX- 2" ...
You mean after updating models to LTX-2.3?If so you need to change the model loaders: https://huggingface.co/Kijai/LTX2.3_comfy
In any older workflows.
Thx yes these model loaders I am using and LTX2.3 runs fast without errors but the embeding connector from ltx2 seems to have problems so none of the ltx-2 transformers wf's is working anymore.
With LTX-2.0 i think both the old and new way still work.
But look carefully at the front page https://huggingface.co/Kijai/LTXV2_comfy
Unfortunately error logs are "greek" to me, so i have to leave that for the experts ;-) But worth double checking the model loaders, if they are as on front page (2 different ways now for LTX-2.0, although the later 22nd of february way is probably recommended and future proof)
And just to make sure, also check if you didnt do a mismatch between ltx-2.3 and ltx-2.0 models.. they are not compatible ;-)
You said "After Update LTX- 2" ...
You mean after updating models to LTX-2.3?If so you need to change the model loaders: https://huggingface.co/Kijai/LTX2.3_comfy
In any older workflows.Thx yes these model loaders I am using and LTX2.3 runs fast without errors but the embeding connector from ltx2 seems to have problems so none of the ltx-2 transformers wf's is working anymore.
Update! Thx a lot mate, strangewise LTX-2.3 models working with the node from 13.1.26 but LTX-2 not anymore. Switched to the nodes from 26.2 (kijai beta unet loader with diffusion model selector) LTX-2 wf's working again!!