ComfyUI
ComfyUI copied to clipboard
'VAE' object has no attribute 'vae_dtype' ?
Your question
searched the internet, no top result for 'VAE' object has no attribute 'vae_dtype'
trying to use ae.safetensors (the vae) for Flux with the workflow: https://github.com/Ling-APE/ComfyUI-All-in-One-FluxDev-Workflow
Logs
Error occurred when executing VAEDecode:
'VAE' object has no attribute 'vae_dtype'
File "/home/username/opt/ComfyUI/execution.py", line 313, 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 "/home/username/opt/ComfyUI/execution.py", line 188, 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 "/home/username/opt/ComfyUI/execution.py", line 165, in map_node_over_list
process_inputs(input_dict, i)
File "/home/username/opt/ComfyUI/execution.py", line 154, in process_inputs
results.append(getattr(obj, func)(**inputs))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/username/opt/ComfyUI/nodes.py", line 284, in decode
return (vae.decode(samples["samples"]), )
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/username/opt/ComfyUI/comfy/sd.py", line 313, in decode
memory_used = self.memory_used_decode(samples_in.shape, self.vae_dtype)
^^^^^^^^^^^^^^
Other
No response