Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

t2v -->HYVideoDiffusionTransformer' object has no attribute 'teacache_skipped_steps #429

Open
ioritree opened this issue Mar 7, 2025 · 0 comments

Comments

@ioritree
Copy link

ioritree commented Mar 7, 2025

pytorch version: 2.6.0+cu126
xformers version: 0.0.29.post3
Set vram state to: NORMAL_VRAM
Device: cuda:0 NVIDIA GeForce RTX 3090 : cudaMallocAsync
Using sage attention
ComfyUI version: 0.3.24

Requested to load HyVideoModel
loaded completely 19059.8593585968 12555.953247070312 True
Input (height, width, video_length) = (512, 768, 121)
The config attributes {'reverse': True, 'solver': 'euler'} were passed to UniPCMultistepScheduler, but are not expected and will be ignored. Please verify your scheduler_config.json configuration file.
Swapping 20 double blocks and 0 single blocks
Sampling 121 frames in 31 latents at 768x512 with 15 inference steps
100%|██████████████████████████████████████████████████████████████████████████████████| 15/15 [04:25<00:00, 17.68s/it]
-------------------------------
Allocated memory: memory=8.886 GB
Max allocated memory: max_memory=18.205 GB
Max reserved memory: max_reserved=19.531 GB
-------------------------------
!!! Exception during processing !!! 'HYVideoDiffusionTransformer' object has no attribute 'teacache_skipped_steps'
Traceback (most recent call last):
  File "G:\AI\ComfyUI_windows_portable\ComfyUI\execution.py", line 327, 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 "G:\AI\ComfyUI_windows_portable\ComfyUI\execution.py", line 202, 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 "G:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-0246\utils.py", line 353, in new_func
    res_value = old_func(*final_args, **kwargs)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "G:\AI\ComfyUI_windows_portable\ComfyUI\execution.py", line 174, in _map_node_over_list
    process_inputs(input_dict, i)
  File "G:\AI\ComfyUI_windows_portable\ComfyUI\execution.py", line 163, in process_inputs
    results.append(getattr(obj, func)(**inputs))
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "G:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-HunyuanVideoWrapper\nodes.py", line 1364, in process
    log.info(f"TeaCache skipped {transformer.teacache_skipped_steps} steps")
                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "G:\AI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\diffusers\models\modeling_utils.py", line 173, in __getattr__
    return super().__getattr__(name)
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "G:\AI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\nn\modules\module.py", line 1928, in __getattr__
    raise AttributeError(
AttributeError: 'HYVideoDiffusionTransformer' object has no attribute 'teacache_skipped_steps'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant