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

'UNetMidBlock3D' object has no attribute 'downsample' #75

Open
patientx opened this issue Dec 23, 2024 · 7 comments
Open

'UNetMidBlock3D' object has no attribute 'downsample' #75

patientx opened this issue Dec 23, 2024 · 7 comments

Comments

@patientx
Copy link

Using the default i2v workflow, with 0.9.1 model.

!!! Exception during processing !!! 'UNetMidBlock3D' object has no attribute 'downsample'
Traceback (most recent call last):
  File "D:\c2\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:\c2\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:\c2\execution.py", line 174, in _map_node_over_list
    process_inputs(input_dict, i)
  File "D:\c2\execution.py", line 163, in process_inputs
    results.append(getattr(obj, func)(**inputs))
  File "D:\c2\custom_nodes\ComfyUI-LTXVideo\transformer.py", line 164, in configure_sizes
    latent_shape, latent_frame_rate = self.latent_shape_and_frame_rate(
  File "D:\c2\custom_nodes\ComfyUI-LTXVideo\transformer.py", line 124, in latent_shape_and_frame_rate
    video_scale_factor, vae_scale_factor, _ = get_vae_size_scale_factor(
  File "D:\c2\venv\lib\site-packages\ltx_video\models\autoencoders\vae_encode.py", line 173, in get_vae_size_scale_factor
    [
  File "D:\c2\venv\lib\site-packages\ltx_video\models\autoencoders\vae_encode.py", line 176, in <listcomp>
    if isinstance(block.downsample, Downsample3D)
  File "D:\c2\venv\lib\site-packages\torch\nn\modules\module.py", line 1709, in __getattr__
    raise AttributeError(f"'{type(self).__name__}' object has no attribute '{name}'")
AttributeError: 'UNetMidBlock3D' object has no attribute 'downsample'
@Creepybits
Copy link

I have this error as well, but only when I tried the fp8 checkpoint. The large is still working fine.

@patientx
Copy link
Author

patientx commented Dec 24, 2024

I have this error as well, but only when I tried the fp8 checkpoint. The large is still working fine.

I am using the "ltx-video-2b-v0.9.1.safetensors" dunno there is a fp8 model out there , wonder if that helps with speed. Edit : found one but that is only for 0.9. Is there a 0.9.1 one out there ?

@Kwisss
Copy link

Kwisss commented Dec 28, 2024

the gguf model also throws this error

@pkrasicki
Copy link

I'm also getting this when trying to use the gguf version with the provided workflow.

@patientx
Copy link
Author

I get this with the default model and I only get this with this nodes , with comfyui's implementation there is no error with any models.

@re3me
Copy link

re3me commented Dec 29, 2024

Same issue here.

@Niutonian
Copy link

Using the gguf, any solutions?

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

6 participants