It currently isn't possible to use ComfyUI unless a model has a VAE baked in. There isn't anywhere in the UI to select a VAE, there isn't a default set in code (that I could find), and you can't start ComfyUI with an argument specifying a VAE.
Traceback (most recent call last):
File "...\ComfyUI\ComfyUI\execution.py", line 151, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "...\ComfyUI\ComfyUI\execution.py", line 81, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "...\ComfyUI\ComfyUI\execution.py", line 74, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "...\ComfyUI\ComfyUI\nodes.py", line 268, in decode
return (vae.decode(samples["samples"]), )
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "...\ComfyUI\ComfyUI\comfy\sd.py", line 300, in decode
memory_used = self.memory_used_decode(samples_in.shape, self.vae_dtype)
^^^^^^^^^^^^^^
AttributeError: 'VAE' object has no attribute 'vae_dtype'
Originally created by @Derjyn on GitHub (Jul 18, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/3970
It currently isn't possible to use ComfyUI unless a model has a VAE baked in. There isn't anywhere in the UI to select a VAE, there isn't a default set in code (that I could find), and you can't start ComfyUI with an argument specifying a VAE.
```!!! Exception during processing!!! 'VAE' object has no attribute 'vae_dtype'
Traceback (most recent call last):
File "...\ComfyUI\ComfyUI\execution.py", line 151, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "...\ComfyUI\ComfyUI\execution.py", line 81, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "...\ComfyUI\ComfyUI\execution.py", line 74, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "...\ComfyUI\ComfyUI\nodes.py", line 268, in decode
return (vae.decode(samples["samples"]), )
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "...\ComfyUI\ComfyUI\comfy\sd.py", line 300, in decode
memory_used = self.memory_used_decode(samples_in.shape, self.vae_dtype)
^^^^^^^^^^^^^^
AttributeError: 'VAE' object has no attribute 'vae_dtype'
```
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @Derjyn on GitHub (Jul 18, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/3970
It currently isn't possible to use ComfyUI unless a model has a VAE baked in. There isn't anywhere in the UI to select a VAE, there isn't a default set in code (that I could find), and you can't start ComfyUI with an argument specifying a VAE.