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

using gguf but how to load vae? #66

Open
TigerHH6866 opened this issue Dec 12, 2024 · 1 comment
Open

using gguf but how to load vae? #66

TigerHH6866 opened this issue Dec 12, 2024 · 1 comment

Comments

@TigerHH6866
Copy link

WARNING: No VAE weights detected, VAE not initalized.
Requested to load MochiTEModel_
Loading 1 new model
loaded completely 0.0 9083.38671875 True
!!! Exception during processing !!! 'VAE' object has no attribute 'vae_dtype'
Traceback (most recent call last):
File "/root/autodl-tmp/ComfyUI/execution.py", line 323, 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 "/root/autodl-tmp/ComfyUI/execution.py", line 198, 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 "/root/autodl-tmp/ComfyUI/execution.py", line 169, in _map_node_over_list
process_inputs(input_dict, i)
File "/root/autodl-tmp/ComfyUI/execution.py", line 158, in process_inputs
results.append(getattr(obj, func)(**inputs))
File "/root/autodl-tmp/ComfyUI/comfy_extras/nodes_lt.py", line 46, in generate
t = vae.encode(encode_pixels)
File "/root/autodl-tmp/ComfyUI/comfy/sd.py", line 407, in encode
memory_used = self.memory_used_encode(pixel_samples.shape, self.vae_dtype)
AttributeError: 'VAE' object has no attribute 'vae_dtype'

image

@john2stai
Copy link

Use load checkpoint node to load vae

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

2 participants