ComfyUI icon indicating copy to clipboard operation
ComfyUI copied to clipboard

AttributeError: module 'tensorflow' has no attribute 'Tensor'

Open theminji opened this issue 1 year ago • 14 comments

Your question

I tried different versions of tensorflow from 1.14 to latest version and i keep getting the error AttributeError: module 'tensorflow' has no attribute 'Tensor' when using ltx 0.9.1 image

Logs

# ComfyUI Error Report
## Error Details
- **Node ID:** 36
- **Node Type:** SamplerCustomAdvanced
- **Exception Type:** AttributeError
- **Exception Message:** module 'tensorflow' has no attribute 'Tensor'
## Stack Trace

  File "D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\execution.py", line 328, in execute
    output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\execution.py", line 203, in get_output_data
    return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\execution.py", line 174, in _map_node_over_list
    process_inputs(input_dict, i)

  File "D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\execution.py", line 163, in process_inputs
    results.append(getattr(obj, func)(**inputs))
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\comfy_extras\nodes_custom_sampler.py", line 633, in sample
    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 "D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\comfy\samplers.py", line 897, in sample
    output = executor.execute(noise, latent_image, sampler, sigmas, denoise_mask, callback, disable_pbar, seed)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\comfy\patcher_extension.py", line 110, in execute
    return self.original(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\comfy\samplers.py", line 866, in outer_sample
    output = self.inner_sample(noise, latent_image, device, sampler, sigmas, denoise_mask, callback, disable_pbar, seed)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\comfy\samplers.py", line 850, in inner_sample
    samples = executor.execute(self, sigmas, extra_args, callback, noise, latent_image, denoise_mask, disable_pbar)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\comfy\patcher_extension.py", line 110, in execute
    return self.original(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\comfy\samplers.py", line 707, in sample
    samples = self.sampler_function(model_k, noise, sigmas, extra_args=extra_args, callback=k_callback, disable=disable_pbar, **self.extra_options)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\utils\_contextlib.py", line 115, in decorate_context
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^

  File "D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\comfy\k_diffusion\sampling.py", line 168, in sample_euler_ancestral
    return sample_euler_ancestral_RF(model, x, sigmas, extra_args, callback, disable, eta, s_noise, noise_sampler)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\utils\_contextlib.py", line 115, in decorate_context
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^

  File "D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\comfy\k_diffusion\sampling.py", line 195, in sample_euler_ancestral_RF
    denoised = model(x, sigmas[i] * s_in, **extra_args)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\comfy\samplers.py", line 379, in __call__
    out = self.inner_model(x, sigma, model_options=model_options, seed=seed)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\comfy\samplers.py", line 832, in __call__
    return self.predict_noise(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-LTXVideo\stg.py", line 107, in predict_noise
    comfy.samplers.calc_cond_batch(

  File "D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\comfy\samplers.py", line 195, in calc_cond_batch
    return executor.execute(model, conds, x_in, timestep, model_options)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\comfy\patcher_extension.py", line 110, in execute
    return self.original(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\comfy\samplers.py", line 308, in _calc_cond_batch
    output = model.apply_model(input_x, timestep_, **c).chunk(batch_chunks)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\comfy\model_base.py", line 130, in apply_model
    return comfy.patcher_extension.WrapperExecutor.new_class_executor(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\comfy\patcher_extension.py", line 110, in execute
    return self.original(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\comfy\model_base.py", line 159, in _apply_model
    model_output = self.diffusion_model(xc, t, context=context, control=control, transformer_options=transformer_options, **extra_conds).float()
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\nn\modules\module.py", line 1511, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\nn\modules\module.py", line 1520, in _call_impl
    return forward_call(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-LTXVideo\model.py", line 197, in forward
    mask = self.patchifier.patchify(self.conditioning_mask).squeeze(-1).to(x.device)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\python_embeded\Lib\site-packages\ltx_video\models\transformers\symmetric_patchifier.py", line 68, in patchify
    latents = rearrange(
              ^^^^^^^^^^

  File "D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\python_embeded\Lib\site-packages\einops\einops.py", line 591, in rearrange
    return reduce(tensor, pattern, reduction="rearrange", **axes_lengths)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\python_embeded\Lib\site-packages\einops\einops.py", line 518, in reduce
    backend = get_backend(tensor)
              ^^^^^^^^^^^^^^^^^^^

  File "D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\python_embeded\Lib\site-packages\einops\_backends.py", line 55, in get_backend
    if backend.is_appropriate_type(tensor):
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\python_embeded\Lib\site-packages\einops\_backends.py", line 408, in is_appropriate_type
    return isinstance(tensor, (self.tf.Tensor, self.tf.Variable))
                               ^^^^^^^^^^^^^^

System Information

  • ComfyUI Version: v0.3.9-9-g601ff9e
  • Arguments: ComfyUI\main.py --windows-standalone-build
  • OS: nt
  • Python Version: 3.11.8 (tags/v3.11.8:db85d51, Feb 6 2024, 22:03:32) [MSC v.1937 64 bit (AMD64)]
  • Embedded Python: true
  • PyTorch Version: 2.2.1+cu121

Devices

  • Name: cuda:0 NVIDIA GeForce RTX 3060 Ti : cudaMallocAsync
    • Type: cuda
    • VRAM Total: 8589410304
    • VRAM Free: 24145308
    • Torch VRAM Total: 6643777536
    • Torch VRAM Free: 24145308

Logs

2024-12-21T20:29:08.312146 - ** ComfyUI startup time:2024-12-21T20:29:08.312146 -  2024-12-21T20:29:08.312146 - 2024-12-21 20:29:08.3121462024-12-21T20:29:08.312146 - 
2024-12-21T20:29:08.328173 - ** Platform:2024-12-21T20:29:08.328173 -  2024-12-21T20:29:08.328173 - Windows2024-12-21T20:29:08.328173 - 
2024-12-21T20:29:08.328173 - ** Python version:2024-12-21T20:29:08.328173 -  2024-12-21T20:29:08.328173 - 3.11.8 (tags/v3.11.8:db85d51, Feb  6 2024, 22:03:32) [MSC v.1937 64 bit (AMD64)]2024-12-21T20:29:08.328173 - 
2024-12-21T20:29:08.329172 - ** Python executable:2024-12-21T20:29:08.329172 -  2024-12-21T20:29:08.329172 - D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\python_embeded\python.exe2024-12-21T20:29:08.329172 - 
2024-12-21T20:29:08.329172 - ** Log path:2024-12-21T20:29:08.329172 -  2024-12-21T20:29:08.329172 - D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\comfyui.log2024-12-21T20:29:08.329172 - 
2024-12-21T20:29:08.339732 - 
Prestartup times for custom nodes:
2024-12-21T20:29:08.339732 -    0.0 seconds: D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\custom_nodes\rgthree-comfy
2024-12-21T20:29:08.339732 -    0.0 seconds: D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager
2024-12-21T20:29:08.339732 - 
2024-12-21T20:29:10.471163 - Total VRAM 8192 MB, total RAM 32694 MB
2024-12-21T20:29:10.471163 - pytorch version: 2.2.1+cu121
2024-12-21T20:29:10.471668 - Set vram state to: NORMAL_VRAM
2024-12-21T20:29:10.471668 - Device: cuda:0 NVIDIA GeForce RTX 3060 Ti : cudaMallocAsync
2024-12-21T20:29:12.132359 - Using pytorch attention
2024-12-21T20:29:13.379710 - [Prompt Server] web root: D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\web
2024-12-21T20:29:15.283337 - [Crystools INFO] Crystools version: 1.21.0
2024-12-21T20:29:15.304361 - [Crystools INFO] CPU: AMD Ryzen 7 5800X3D 8-Core Processor - Arch: AMD64 - OS: Windows 10
2024-12-21T20:29:15.319412 - [Crystools INFO] Pynvml (Nvidia) initialized.
2024-12-21T20:29:15.319412 - [Crystools INFO] GPU/s:
2024-12-21T20:29:15.333670 - [Crystools INFO] 0) NVIDIA GeForce RTX 3060 Ti
2024-12-21T20:29:15.333670 - [Crystools INFO] NVIDIA Driver: 560.94
2024-12-21T20:29:16.648954 - ### Loading: ComfyUI-Manager (V2.9)2024-12-21T20:29:16.648954 - 
2024-12-21T20:29:16.901094 - ### ComfyUI Revision: 2962 [601ff9e3] | Released on '2024-12-21'2024-12-21T20:29:16.901094 - 
2024-12-21T20:29:17.102129 - Traceback (most recent call last):
  File "D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\nodes.py", line 2075, in load_custom_node
    module_spec.loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 940, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-OOTDiffusion\__init__.py", line 10, in <module>
    from .inference_ootd import OOTDiffusion
  File "D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-OOTDiffusion\inference_ootd.py", line 23, in <module>
    from .pipelines_ootd.pipeline_ootd import OotdPipeline
  File "D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-OOTDiffusion\pipelines_ootd\pipeline_ootd.py", line 27, in <module>
    from .unet_vton_2d_condition import UNetVton2DConditionModel
  File "D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-OOTDiffusion\pipelines_ootd\unet_vton_2d_condition.py", line 23, in <module>
    from .unet_vton_2d_blocks import (
  File "D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-OOTDiffusion\pipelines_ootd\unet_vton_2d_blocks.py", line 23, in <module>
    from .transformer_vton_2d import Transformer2DModel
  File "D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-OOTDiffusion\pipelines_ootd\transformer_vton_2d.py", line 29, in <module>
    from diffusers.models.embeddings import CaptionProjection, PatchEmbed
ImportError: cannot import name 'CaptionProjection' from 'diffusers.models.embeddings' (D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\python_embeded\Lib\site-packages\diffusers\models\embeddings.py)

2024-12-21T20:29:17.103130 - Cannot import D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-OOTDiffusion module for custom nodes: cannot import name 'CaptionProjection' from 'diffusers.models.embeddings' (D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\python_embeded\Lib\site-packages\diffusers\models\embeddings.py)
2024-12-21T20:29:17.122218 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/alter-list.json2024-12-21T20:29:17.122218 - 
2024-12-21T20:29:17.132256 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/model-list.json2024-12-21T20:29:17.132256 - 
2024-12-21T20:29:17.175384 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json2024-12-21T20:29:17.175384 - 
2024-12-21T20:29:17.203194 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/extension-node-map.json2024-12-21T20:29:17.203194 - 
2024-12-21T20:29:17.492490 - D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable2024-12-21T20:29:17.492490 - 
2024-12-21T20:29:17.492490 - ############################################2024-12-21T20:29:17.492490 - 
2024-12-21T20:29:17.493493 - D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\custom_nodes\ComfyUI-NAI-styler\CSV2024-12-21T20:29:17.493493 - 
2024-12-21T20:29:17.493493 - ############################################2024-12-21T20:29:17.493493 - 
2024-12-21T20:29:17.493493 - []2024-12-21T20:29:17.493493 - 
2024-12-21T20:29:17.493493 - ############################################2024-12-21T20:29:17.493493 - 
2024-12-21T20:29:18.816535 - [comfy_mtb] | INFO -> loaded 95 nodes successfuly
2024-12-21T20:29:18.854017 - 
2024-12-21T20:29:18.854017 - [rgthree] Loaded 34 extraordinary nodes.2024-12-21T20:29:18.854017 - 
2024-12-21T20:29:18.854017 - [rgthree] NOTE: Will NOT use rgthree's optimized recursive execution as ComfyUI has changed.2024-12-21T20:29:18.854017 - 
2024-12-21T20:29:18.854017 - 
2024-12-21T20:29:20.062072 - WAS Node Suite: OpenCV Python FFMPEG support is enabled2024-12-21T20:29:20.062072 - 
2024-12-21T20:29:20.062072 - WAS Node Suite Warning: `ffmpeg_bin_path` is not set in `D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\custom_nodes\was-node-suite-comfyui\was_suite_config.json` config file. Will attempt to use system ffmpeg binaries if available.2024-12-21T20:29:20.062072 - 
2024-12-21T20:29:21.047521 - WAS Node Suite: Finished. Loaded 220 nodes successfully.2024-12-21T20:29:21.047521 - 
2024-12-21T20:29:21.047521 - 
	"Every artist was first an amateur." - Ralph Waldo Emerson
2024-12-21T20:29:21.047521 - 
2024-12-21T20:29:21.062064 - 
Import times for custom nodes:
2024-12-21T20:29:21.062064 -    0.0 seconds: D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\custom_nodes\websocket_image_save.py
2024-12-21T20:29:21.063572 -    0.0 seconds: D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Universal-Styler
2024-12-21T20:29:21.063572 -    0.0 seconds: D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_IPAdapter_plus
2024-12-21T20:29:21.063572 -    0.0 seconds: D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-LTXTricks
2024-12-21T20:29:21.063572 -    0.0 seconds: D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfy-image-saver
2024-12-21T20:29:21.063572 -    0.0 seconds: D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\custom_nodes\rgthree-comfy
2024-12-21T20:29:21.063572 -    0.1 seconds (IMPORT FAILED): D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-OOTDiffusion
2024-12-21T20:29:21.063572 -    0.1 seconds: D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Custom-Scripts
2024-12-21T20:29:21.063572 -    0.2 seconds: D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Crystools
2024-12-21T20:29:21.063572 -    0.4 seconds: D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Florence2
2024-12-21T20:29:21.063572 -    0.4 seconds: D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager
2024-12-21T20:29:21.064580 -    0.4 seconds: D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-tensorops
2024-12-21T20:29:21.064580 -    0.4 seconds: D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Fluxpromptenhancer
2024-12-21T20:29:21.064580 -    0.4 seconds: D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-LTXVideo
2024-12-21T20:29:21.064580 -    0.5 seconds: D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfy_mtb
2024-12-21T20:29:21.064580 -    0.9 seconds: D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-VideoHelperSuite
2024-12-21T20:29:21.064580 -    2.2 seconds: D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\custom_nodes\was-node-suite-comfyui
2024-12-21T20:29:21.064580 - 
2024-12-21T20:29:21.076090 - Starting server

2024-12-21T20:29:21.076090 - To see the GUI go to: http://127.0.0.1:8188
2024-12-21T20:29:22.159015 - FETCH DATA from: D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager\extension-node-map.json2024-12-21T20:29:22.159015 - 
2024-12-21T20:29:22.293401 - [ERROR] An error occurred while retrieving information for the 'Florence2ModelLoader' node.
2024-12-21T20:29:22.295437 - Traceback (most recent call last):
  File "D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\server.py", line 579, in get_object_info
    out[x] = node_info(x)
             ^^^^^^^^^^^^
  File "D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\server.py", line 546, in node_info
    info['input'] = obj_class.INPUT_TYPES()
                    ^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Florence2\nodes.py", line 150, in INPUT_TYPES
    "model": ([item.name for item in Path(folder_paths.models_dir, "LLM").iterdir() if item.is_dir()], {"tooltip": "models are expected to be in Comfyui/models/LLM folder"}),
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Florence2\nodes.py", line 150, in <listcomp>
    "model": ([item.name for item in Path(folder_paths.models_dir, "LLM").iterdir() if item.is_dir()], {"tooltip": "models are expected to be in Comfyui/models/LLM folder"}),
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "pathlib.py", line 931, in iterdir
FileNotFoundError: [WinError 3] The system cannot find the path specified: 'D:\\ComfyUI_windows_portable_nvidia_cu121_or_cpu\\ComfyUI_windows_portable\\ComfyUI\\models\\LLM'

2024-12-21T20:29:22.296437 - Error. No naistyles.csv found. Put your naistyles.csv in the custom_nodes/ComfyUI_NAI-mod/CSV directory of ComfyUI. Then press "Refresh".
                  Your current root directory is: D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI
            2024-12-21T20:29:22.296437 - 
2024-12-21T20:29:22.296437 - Error. No naistyles.csv found. Put your naistyles.csv in the custom_nodes/ComfyUI_NAI-mod/CSV directory of ComfyUI. Then press "Refresh".
                  Your current root directory is: D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI
            2024-12-21T20:29:22.296437 - 
2024-12-21T20:29:22.297436 - Error. No naistyles.csv found. Put your naistyles.csv in the custom_nodes/ComfyUI_NAI-mod/CSV directory of ComfyUI. Then press "Refresh".
                  Your current root directory is: D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI
            2024-12-21T20:29:22.297436 - 
2024-12-21T20:29:22.297436 - Error. No naistyles.csv found. Put your naistyles.csv in the custom_nodes/ComfyUI_NAI-mod/CSV directory of ComfyUI. Then press "Refresh".
                  Your current root directory is: D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI
            2024-12-21T20:29:22.297436 - 
2024-12-21T20:29:22.297436 - Error. No naistyles.csv found. Put your naistyles.csv in the custom_nodes/ComfyUI_NAI-mod/CSV directory of ComfyUI. Then press "Refresh".
                  Your current root directory is: D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI
            2024-12-21T20:29:22.297436 - 
2024-12-21T20:29:22.298436 - Error. No naistyles.csv found. Put your naistyles.csv in the custom_nodes/ComfyUI_NAI-mod/CSV directory of ComfyUI. Then press "Refresh".
                  Your current root directory is: D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI
            2024-12-21T20:29:22.298436 - 
2024-12-21T20:30:08.298623 - got prompt
2024-12-21T20:30:40.838334 - model_type FLOW
2024-12-21T20:31:00.510434 - Requested to load MochiTEModel_
2024-12-21T20:31:00.511501 - 0 models unloaded.
2024-12-21T20:31:00.538159 - loaded partially 64.0 32.38671875 0
2024-12-21T20:31:10.042180 - 0 models unloaded.
2024-12-21T20:31:10.047178 - loaded partially 64.0 32.38671875 0
2024-12-21T20:31:20.296316 - Requested to load LTXVModel
2024-12-21T20:31:20.333971 - 0 models unloaded.
2024-12-21T20:31:20.347039 - loaded completely 64.0 58.472900390625 False
2024-12-21T20:31:20.429037 - 
  0%|                                                                                           | 0/25 [00:00<?, ?it/s]2024-12-21T20:31:20.434087 - 
  0%|                                                                                           | 0/25 [00:00<?, ?it/s]2024-12-21T20:31:20.434087 - 
2024-12-21T20:31:20.474233 - !!! Exception during processing !!! module 'tensorflow' has no attribute 'Tensor'
2024-12-21T20:31:20.485553 - Traceback (most recent call last):
  File "D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\execution.py", line 328, in execute
    output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\execution.py", line 203, in get_output_data
    return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\execution.py", line 174, in _map_node_over_list
    process_inputs(input_dict, i)
  File "D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\execution.py", line 163, in process_inputs
    results.append(getattr(obj, func)(**inputs))
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\comfy_extras\nodes_custom_sampler.py", line 633, in sample
    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 "D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\comfy\samplers.py", line 897, in sample
    output = executor.execute(noise, latent_image, sampler, sigmas, denoise_mask, callback, disable_pbar, seed)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\comfy\patcher_extension.py", line 110, in execute
    return self.original(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\comfy\samplers.py", line 866, in outer_sample
    output = self.inner_sample(noise, latent_image, device, sampler, sigmas, denoise_mask, callback, disable_pbar, seed)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\comfy\samplers.py", line 850, in inner_sample
    samples = executor.execute(self, sigmas, extra_args, callback, noise, latent_image, denoise_mask, disable_pbar)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\comfy\patcher_extension.py", line 110, in execute
    return self.original(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\comfy\samplers.py", line 707, in sample
    samples = self.sampler_function(model_k, noise, sigmas, extra_args=extra_args, callback=k_callback, disable=disable_pbar, **self.extra_options)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\utils\_contextlib.py", line 115, in decorate_context
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\comfy\k_diffusion\sampling.py", line 168, in sample_euler_ancestral
    return sample_euler_ancestral_RF(model, x, sigmas, extra_args, callback, disable, eta, s_noise, noise_sampler)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\utils\_contextlib.py", line 115, in decorate_context
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\comfy\k_diffusion\sampling.py", line 195, in sample_euler_ancestral_RF
    denoised = model(x, sigmas[i] * s_in, **extra_args)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\comfy\samplers.py", line 379, in __call__
    out = self.inner_model(x, sigma, model_options=model_options, seed=seed)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\comfy\samplers.py", line 832, in __call__
    return self.predict_noise(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-LTXVideo\stg.py", line 107, in predict_noise
    comfy.samplers.calc_cond_batch(
  File "D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\comfy\samplers.py", line 195, in calc_cond_batch
    return executor.execute(model, conds, x_in, timestep, model_options)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\comfy\patcher_extension.py", line 110, in execute
    return self.original(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\comfy\samplers.py", line 308, in _calc_cond_batch
    output = model.apply_model(input_x, timestep_, **c).chunk(batch_chunks)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\comfy\model_base.py", line 130, in apply_model
    return comfy.patcher_extension.WrapperExecutor.new_class_executor(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\comfy\patcher_extension.py", line 110, in execute
    return self.original(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\comfy\model_base.py", line 159, in _apply_model
    model_output = self.diffusion_model(xc, t, context=context, control=control, transformer_options=transformer_options, **extra_conds).float()
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\nn\modules\module.py", line 1511, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\nn\modules\module.py", line 1520, in _call_impl
    return forward_call(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-LTXVideo\model.py", line 197, in forward
    mask = self.patchifier.patchify(self.conditioning_mask).squeeze(-1).to(x.device)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\python_embeded\Lib\site-packages\ltx_video\models\transformers\symmetric_patchifier.py", line 68, in patchify
    latents = rearrange(
              ^^^^^^^^^^
  File "D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\python_embeded\Lib\site-packages\einops\einops.py", line 591, in rearrange
    return reduce(tensor, pattern, reduction="rearrange", **axes_lengths)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\python_embeded\Lib\site-packages\einops\einops.py", line 518, in reduce
    backend = get_backend(tensor)
              ^^^^^^^^^^^^^^^^^^^
  File "D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\python_embeded\Lib\site-packages\einops\_backends.py", line 55, in get_backend
    if backend.is_appropriate_type(tensor):
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\python_embeded\Lib\site-packages\einops\_backends.py", line 408, in is_appropriate_type
    return isinstance(tensor, (self.tf.Tensor, self.tf.Variable))
                               ^^^^^^^^^^^^^^
AttributeError: module 'tensorflow' has no attribute 'Tensor'

2024-12-21T20:31:20.490059 - Prompt executed in 72.11 seconds

Attached Workflow

Please make sure that workflow does not contain any sensitive information such as API keys or passwords.

{"last_node_id":186,"last_link_id":402,"nodes":[{"id":112,"type":"String Replace (mtb)","pos":[-152.169921875,574.6173706054688],"size":[210,82],"flags":{},"order":12,"mode":0,"inputs":[{"name":"string","type":"STRING","link":402,"widget":{"name":"string"}}],"outputs":[{"name":"STRING","type":"STRING","links":[276],"slot_index":0}],"properties":{"Node name for S&R":"String Replace (mtb)"},"widgets_values":["","image","video"]},{"id":117,"type":"String Replace (mtb)","pos":[-152.169921875,701.39794921875],"size":[210,82],"flags":{},"order":15,"mode":0,"inputs":[{"name":"string","type":"STRING","link":276,"widget":{"name":"string"}}],"outputs":[{"name":"STRING","type":"STRING","links":[272],"slot_index":0}],"properties":{"Node name for S&R":"String Replace (mtb)"},"widgets_values":["","photo","video"]},{"id":113,"type":"String Replace (mtb)","pos":[-152.169921875,836.8164672851562],"size":[210,82],"flags":{},"order":17,"mode":0,"inputs":[{"name":"string","type":"STRING","link":272,"widget":{"name":"string"}}],"outputs":[{"name":"STRING","type":"STRING","links":[273],"slot_index":0}],"properties":{"Node name for S&R":"String Replace (mtb)"},"widgets_values":["","painting","video"]},{"id":81,"type":"BasicScheduler","pos":[840,210],"size":[315,106],"flags":{},"order":16,"mode":0,"inputs":[{"name":"model","type":"MODEL","link":261}],"outputs":[{"name":"SIGMAS","type":"SIGMAS","links":[262],"slot_index":0,"shape":3}],"properties":{"Node name for S&R":"BasicScheduler"},"widgets_values":["normal",25,1]},{"id":104,"type":"LTXVShiftSigmas","pos":[1290,450],"size":[315,106],"flags":{},"order":18,"mode":0,"inputs":[{"name":"sigmas","type":"SIGMAS","link":262},{"name":"sigma_shift","type":"FLOAT","link":259,"widget":{"name":"sigma_shift"}}],"outputs":[{"name":"SIGMAS","type":"SIGMAS","links":[380],"slot_index":0}],"properties":{"Node name for S&R":"LTXVShiftSigmas"},"widgets_values":[1.820833333,true,0.1]},{"id":87,"type":"CLIPTextEncode","pos":[530,290],"size":[210,54],"flags":{},"order":21,"mode":0,"inputs":[{"name":"clip","type":"CLIP","link":353},{"name":"text","type":"STRING","link":362,"widget":{"name":"text"}}],"outputs":[{"name":"CONDITIONING","type":"CONDITIONING","links":[300],"slot_index":0,"shape":3}],"properties":{"Node name for S&R":"CLIPTextEncode"},"widgets_values":["a man is riding a motorcycle on a paved road, the motorcycle is a dark red with a sleek, modern design, and it has a large, round headlight in the center of the video, the man has short, wavy brown hair and a light complexion, he is wearing a black leather jacket, black leather gloves, and blue jeans, with black leather boots, his expression is one of mild surprise or curiosity, with a slight smirk on his face, in the background, there is a gas station with a red awning and a sign reading oil and diner, the gas station is set against a lush green field with tall, leafy trees, the road is paved with a yellow line on the right side, indicating a rural setting, the overall mood of the videograph is slightly out of focus, emphasizing the man's rugged appearance, The scene appears to be from a fantasy movie."]},{"id":128,"type":"LTXVApplySTG","pos":[530,556.3655395507812],"size":[215.36399841308594,82],"flags":{},"order":11,"mode":0,"inputs":[{"name":"model","type":"MODEL","link":296}],"outputs":[{"name":"model","type":"MODEL","links":[303],"slot_index":0}],"properties":{"Node name for S&R":"LTXVApplySTG"},"widgets_values":["attention","14"]},{"id":171,"type":"Note","pos":[530,688.9594116210938],"size":[210,72.68328857421875],"flags":{},"order":0,"mode":0,"inputs":[],"outputs":[],"properties":{},"widgets_values":["Adding more layers will tend to reduce the amount of motion. Start experimenting with layers: 11, 14, and 19"],"color":"#432","bgcolor":"#653"},{"id":36,"type":"SamplerCustomAdvanced","pos":[1720,210],"size":[355.20001220703125,106],"flags":{},"order":23,"mode":0,"inputs":[{"name":"noise","type":"NOISE","link":72},{"name":"guider","type":"GUIDER","link":302,"slot_index":1},{"name":"sampler","type":"SAMPLER","link":70},{"name":"sigmas","type":"SIGMAS","link":380},{"name":"latent_image","type":"LATENT","link":258}],"outputs":[{"name":"output","type":"LATENT","links":[],"slot_index":0,"shape":3},{"name":"denoised_output","type":"LATENT","links":[383],"slot_index":1,"shape":3}],"properties":{"Node name for S&R":"SamplerCustomAdvanced"},"widgets_values":[]},{"id":130,"type":"STGGuider","pos":[1290,610],"size":[310.2327575683594,146],"flags":{},"order":22,"mode":0,"inputs":[{"name":"model","type":"MODEL","link":299},{"name":"positive","type":"CONDITIONING","link":300},{"name":"negative","type":"CONDITIONING","link":301}],"outputs":[{"name":"GUIDER","type":"GUIDER","links":[302],"slot_index":0}],"properties":{"Node name for S&R":"STGGuider"},"widgets_values":[3,1,0.75]},{"id":170,"type":"Note","pos":[1290,800],"size":[309.2375793457031,80.02484130859375],"flags":{},"order":1,"mode":0,"inputs":[],"outputs":[],"properties":{},"widgets_values":["Setting CFG to 1.0 will reduce running time by skipping unconditioned generation. It may also increase the amount of motion and make the scene more erratic."],"color":"#432","bgcolor":"#653"},{"id":173,"type":"Note","pos":[840,710.3784790039062],"size":[343.3447570800781,137.82643127441406],"flags":{},"order":2,"mode":0,"inputs":[],"outputs":[],"properties":{},"widgets_values":["Look at preset field for reasonable range of width x height x frames_numbers parameters.\n\nIncreasing FPS will reduce the overall amount of motion.\n\nImg_compression will add noise to the original image in order to match the training data distribution more closely. Increase it if you are getting little motion in the resulting video."],"color":"#432","bgcolor":"#653"},{"id":174,"type":"Note","pos":[84.26954650878906,1121.198486328125],"size":[313.4017028808594,110.61173248291016],"flags":{},"order":3,"mode":0,"inputs":[],"outputs":[],"properties":{},"widgets_values":["Suggested suffixes:\n\nThe scene is captured in real-life footage.\nThe scene appears to be from a movie or TV show.\nThe scene is computer-generated imagery."],"color":"#432","bgcolor":"#653"},{"id":115,"type":"StringFunction|pysssss","pos":[83.40266418457031,575.637451171875],"size":[319.0057373046875,495.6424255371094],"flags":{},"order":20,"mode":0,"inputs":[{"name":"text_a","type":"STRING","link":400,"widget":{"name":"text_a"},"shape":7}],"outputs":[{"name":"STRING","type":"STRING","links":[362],"slot_index":0}],"properties":{"Node name for S&R":"StringFunction|pysssss"},"widgets_values":["append","no","","","The scene is captured in real-life footage.","a bright blue 1990s mazda miata, front-left, driving on the highway, rear lights on, license plate with text \"mazda\" in red letters, several cars on the left side of the road, one car in the foreground partially visible, green trees and foliage on both sides of the highway, cloudy sky above, asphalt road surface reflecting light, late afternoon or early evening lighting, wide field of view.The scene is captured in real-life footage."]},{"id":14,"type":"KSamplerSelect","pos":[1290,340],"size":[315,58],"flags":{},"order":4,"mode":0,"inputs":[],"outputs":[{"name":"SAMPLER","type":"SAMPLER","links":[70],"slot_index":0,"shape":3}],"properties":{"Node name for S&R":"KSamplerSelect"},"widgets_values":["euler_ancestral"]},{"id":103,"type":"LTXVModelConfigurator","pos":[840,380],"size":[347.4894104003906,286],"flags":{},"order":14,"mode":0,"inputs":[{"name":"model","type":"MODEL","link":303},{"name":"vae","type":"VAE","link":255},{"name":"conditioning","type":"IMAGE","link":null,"shape":7},{"name":"initial_latent","type":"LATENT","link":null,"shape":7}],"outputs":[{"name":"model","type":"MODEL","links":[261,299],"slot_index":0},{"name":"latent","type":"LATENT","links":[258],"slot_index":1},{"name":"sigma_shift","type":"FLOAT","links":[259],"slot_index":2},{"name":"image_prompt","type":"STRING","links":[],"slot_index":3}],"properties":{"Node name for S&R":"LTXVModelConfigurator"},"widgets_values":["Custom",768,512,105,25,1,true,29]},{"id":169,"type":"Note","pos":[840,99.53419494628906],"size":[312.3548278808594,58],"flags":{},"order":5,"mode":0,"inputs":[],"outputs":[],"properties":{},"widgets_values":["Alternative scheduler is linear-quadratic; in this case, do not use LTXV Shift Sigmas node"],"color":"#432","bgcolor":"#653"},{"id":114,"type":"String Replace (mtb)","pos":[-152.169921875,988.8927001953125],"size":[210,82],"flags":{},"order":19,"mode":0,"inputs":[{"name":"string","type":"STRING","link":273,"widget":{"name":"string"}}],"outputs":[{"name":"STRING","type":"STRING","links":[400],"slot_index":0}],"properties":{"Node name for S&R":"String Replace (mtb)"},"widgets_values":["","illustration","video"]},{"id":88,"type":"CLIPTextEncode","pos":[530,400],"size":[216.46029663085938,90.9249496459961],"flags":{},"order":13,"mode":0,"inputs":[{"name":"clip","type":"CLIP","link":354}],"outputs":[{"name":"CONDITIONING","type":"CONDITIONING","links":[301],"slot_index":0,"shape":3}],"properties":{"Node name for S&R":"CLIPTextEncode"},"widgets_values":["watermark, logo, text, subtitles, worst quality, inconsistent motion, blurry, jittery, distorted"]},{"id":37,"type":"RandomNoise","pos":[1290,210],"size":[315,82],"flags":{},"order":6,"mode":0,"inputs":[],"outputs":[{"name":"NOISE","type":"NOISE","links":[72],"slot_index":0,"shape":3}],"properties":{"Node name for S&R":"RandomNoise"},"widgets_values":[0,"fixed"]},{"id":175,"type":"Note","pos":[-557.6407470703125,579.795654296875],"size":[383.26470947265625,228.53770446777344],"flags":{},"order":7,"mode":0,"inputs":[],"outputs":[],"properties":{},"widgets_values":["For good results, you should follow the prompting style in the examples here: https://github.com/Lightricks/LTX-Video\n\nYou can use flux prompt enhancer to get the overall description of the scene and tweak it to get the desired results.\n\nThis enhancer doesn't address the kind of motion that happens in the scenes. Consider adding this part manually or using an LLM of your choice."],"color":"#432","bgcolor":"#653"},{"id":102,"type":"LTXVLoader","pos":[11.242873191833496,200.9393310546875],"size":[412.85296630859375,102],"flags":{},"order":8,"mode":0,"inputs":[],"outputs":[{"name":"model","type":"MODEL","links":[296],"slot_index":0},{"name":"vae","type":"VAE","links":[255,256],"slot_index":1}],"properties":{"Node name for S&R":"LTXVLoader"},"widgets_values":["ltx-video-2b-v0.9.1.safetensors","bfloat16"]},{"id":60,"type":"VHS_VideoCombine","pos":[1726.3380126953125,504.3022155761719],"size":[559.9261474609375,310],"flags":{},"order":25,"mode":0,"inputs":[{"name":"images","type":"IMAGE","link":121,"shape":7},{"name":"audio","type":"AUDIO","link":null,"shape":7},{"name":"meta_batch","type":"VHS_BatchManager","link":null,"shape":7},{"name":"vae","type":"VAE","link":null,"shape":7}],"outputs":[{"name":"Filenames","type":"VHS_FILENAMES","links":null,"shape":3}],"properties":{"Node name for S&R":"VHS_VideoCombine"},"widgets_values":{"frame_rate":24,"loop_count":0,"filename_prefix":"LTXVideo","format":"video/h264-mp4","pix_fmt":"yuv420p","crf":19,"save_metadata":false,"pingpong":false,"save_output":false,"videopreview":{"hidden":false,"paused":false,"params":{"filename":"LTXVideo_00004.mp4","subfolder":"","type":"temp","format":"video/h264-mp4","frame_rate":24,"workflow":"LTXVideo_00004.png","fullpath":"C:\\Users\\Zeev\\Projects\\ComfyUI\\temp\\LTXVideo_00004.mp4"}}}},{"id":8,"type":"VAEDecode","pos":[1723.52490234375,380.15924072265625],"size":[210,46],"flags":{},"order":24,"mode":0,"inputs":[{"name":"samples","type":"LATENT","link":383},{"name":"vae","type":"VAE","link":256,"slot_index":1}],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[121],"slot_index":0}],"properties":{"Node name for S&R":"VAEDecode"},"widgets_values":[]},{"id":185,"type":"FluxPromptEnhance","pos":[-567.9957275390625,866.2244873046875],"size":[400,200],"flags":{},"order":9,"mode":0,"inputs":[],"outputs":[{"name":"STRING","type":"STRING","links":[402],"slot_index":0}],"properties":{"Node name for S&R":"FluxPromptEnhance"},"widgets_values":["a 1990 mazda miata driving down the highway",1,"fixed"]},{"id":142,"type":"CLIPLoader","pos":[15.098348617553711,360.0001525878906],"size":[404.1546936035156,82],"flags":{},"order":10,"mode":0,"inputs":[],"outputs":[{"name":"CLIP","type":"CLIP","links":[353,354],"slot_index":0}],"properties":{"Node name for S&R":"CLIPLoader"},"widgets_values":["t5xxl_fp8_e4m3fn.safetensors","ltxv"]}],"links":[[70,14,0,36,2,"SAMPLER"],[72,37,0,36,0,"NOISE"],[121,8,0,60,0,"IMAGE"],[255,102,1,103,1,"VAE"],[256,102,1,8,1,"VAE"],[258,103,1,36,4,"LATENT"],[259,103,2,104,1,"FLOAT"],[261,103,0,81,0,"MODEL"],[262,81,0,104,0,"SIGMAS"],[272,117,0,113,0,"STRING"],[273,113,0,114,0,"STRING"],[276,112,0,117,0,"STRING"],[296,102,0,128,0,"MODEL"],[299,103,0,130,0,"MODEL"],[300,87,0,130,1,"CONDITIONING"],[301,88,0,130,2,"CONDITIONING"],[302,130,0,36,1,"GUIDER"],[303,128,0,103,0,"MODEL"],[353,142,0,87,0,"CLIP"],[354,142,0,88,0,"CLIP"],[362,115,0,87,1,"STRING"],[380,104,0,36,3,"SIGMAS"],[383,36,1,8,0,"LATENT"],[400,114,0,115,0,"STRING"],[402,185,0,112,0,"STRING"]],"groups":[{"id":2,"title":"Prompt Enhancer","bounding":[-571.6630249023438,498.7752685546875,990.3524780273438,780.5728149414062],"color":"#3f789e","font_size":24,"flags":{}}],"config":{},"extra":{"ds":{"scale":0.8140274938684193,"offset":[1018.186446070729,189.28965853876144]},"workspace_info":{"id":"tn2wr6gjBJPNV950dOz0l"}},"version":0.4}


### Other

_No response_

theminji avatar Dec 22 '24 01:12 theminji

Try update einops?

Archkon avatar Dec 22 '24 17:12 Archkon

This issue is being marked stale because it has not had any activity for 30 days. Reply below within 7 days if your issue still isn't solved, and it will be left open. Otherwise, the issue will be closed automatically.

github-actions[bot] avatar Jan 22 '25 11:01 github-actions[bot]

how's the way to fix this?

mYUzE77 avatar Apr 19 '25 11:04 mYUzE77

Same here, How fix?

CeskLito avatar Apr 19 '25 18:04 CeskLito

how's the way to fix this?

Same here, How fix?

if you want a hotfix, go to

ComfyUI_windows_portable\python_embeded\lib\site-packages\einops_backends.py

in:

class TensorflowBackend(AbstractBackend):

change

    def is_appropriate_type(self, tensor):
        return isinstance(tensor, (self.tf.Tensor, self.tf.Variable))

to

    def is_appropriate_type(self, tensor):
        return False

this gets it running, but i didn't look at the implications and risks. so use with caution. generation results seem alright.

ilisjak avatar Apr 21 '25 14:04 ilisjak

-> def is_appropriate_type(self, tensor): return False

It works, but now appears follow message after rendering:

Prompt executed in 75.37 seconds Exception in callback _ProactorBasePipeTransport._call_connection_lost(None) handle: <Handle _ProactorBasePipeTransport._call_connection_lost(None)> Traceback (most recent call last): File "asyncio\events.py", line 84, in _run File "asyncio\proactor_events.py", line 165, in _call_connection_lost ConnectionResetError: [WinError 10054] Eine vorhandene Verbindung wurde vom Remotehost geschlossen

Any ideas for solve?

HeinzZysset avatar Apr 28 '25 13:04 HeinzZysset

That worked for me, Thank you so much!!

reamur69 avatar Jun 17 '25 14:06 reamur69

NO. It doesn´t work for me. No changes whatever I do. Same problem

diipfeiks avatar Jun 26 '25 23:06 diipfeiks

Uninstalled and installed version 0.3.42 Now it works. But I´m thinking about my last windows update which could be the reason.

diipfeiks avatar Jun 27 '25 08:06 diipfeiks

there is no such file...

Addepatat avatar Jun 28 '25 16:06 Addepatat

I tried everything today with support of chatgpt, but nothing works. Yesterday everything was fine. Today i got that error, and installing and uninstalling this and that, and this and that. So frustrating, spend a whole day. Yesterday i spentva whole day on other issues with comfyui........

Addepatat avatar Jun 29 '25 21:06 Addepatat

return False at file path "ComfyUI.venv\Lib\site-packages\einops_backends.py" is work for me.

AlphacetX avatar Jul 10 '25 17:07 AlphacetX

Getting this error... not sure what to do?

bczreasons avatar Aug 08 '25 23:08 bczreasons

I'm enter tensorflow into install PIP packages in ComfyUI manager, and all is work. :)

vuller308-art avatar Jan 10 '26 13:01 vuller308-art