VAELoaderKJ Roadblock
I have tried numerous YT posters' workflows and I haven't found one yet that doesn't incorporate the VAELoaderKJ. I have tried upgrading KJ Nodes in CUI and even deleted then git'd the new folder into custom-nodes, did the requirement.txt process, etc. The node is loaded fine because Kijai parts are all through my CUI and I use them in many workflows . . . but can't in LTX 2. I have all the models in every workflow in the correct place--as far as I can tell-but every queue stops dead on the VAELoaderKJ. And not being a code reader, I have searched high and low the last couple of days for someone else encountering this but I find no issue like this, just others with finetuning issues . . . which I can't even get to! :-) Lucky you!
Seriously, I have nowhere to turn but send this rescue flare up to experts who know what they're doing? Below is the error code I get if someone can interpret and set me straight. I much appreciate any help and insights. BTW, I'm on an MSI Infinity series computer, top Intel processor with 64GB RAM, RTX5090 32GB . . . so horsepower isn't the issue; my other Wan 2.2 workflows pump just fine. I just wanted to stick my nose into LTX2 just for kicks. But can't! And I can provide further info but I don't know what would help to find the answer.
ComfyUI Error Report
Error Details
- Node ID: 3
- Node Type: VAELoaderKJ
- Exception Type: KeyError
- Exception Message: 'post_quant_conv.weight'
Stack Trace
File "E:\ComfyUI-Easy-Install\ComfyUI-Easy-Install\ComfyUI\execution.py", line 518, in execute
output_data, output_ui, has_subgraph, has_pending_tasks = await get_output_data(prompt_id, unique_id, obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, v3_data=v3_data)
Again, I'd appreciate your help!
Well many 50 series user got issues, from bad results or errors, i think LTX 2 seems not compatible with 50 series. But still idk for sure.
If you are getting post_quant_conv.weight -error, it means either you are loading wrong VAE, or the VAE loader node simply isn't updated.
If you have re-installed the node, make sure you don't have some other custom node with same name, or possibly another copy of KJNodes with different folder name in your custom nodes.
Well many 50 series user got issues, from bad results or errors, i think LTX 2 seems not compatible with 50 series. But still idk for sure.
First I've heard of this, it works fine on 50 series, which I also use.
Well many 50 series user got issues, from bad results or errors, i think LTX 2 seems not compatible with 50 series. But still idk for sure.
First I've heard of this, it works fine on 50 series, which I also use.
Well it's just my FALSE assumption than since when i see someone who got bad results/errors on YT or forum they have 1 common same-thing RTX 50xx.
Wow! I got Kijai himself! Wasn't expecting that but thanks. This is the shot of part of the workflow which is just about the same as any others I've tried with the VAELoader KJ. And they all fail at that point.
Next is the code in Comfyui CLI:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\ComfyUI-Easy-Install\ComfyUI-Easy-Install\ComfyUI\execution.py", line 329, in get_output_data
return_values = await _async_map_node_over_list(prompt_id, unique_id, obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, v3_data=v3_data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\ComfyUI-Easy-Install\ComfyUI-Easy-Install\ComfyUI\execution.py", line 303, in _async_map_node_over_list
await process_inputs(input_dict, i)
File "E:\ComfyUI-Easy-Install\ComfyUI-Easy-Install\ComfyUI\execution.py", line 291, in process_inputs
result = f(**inputs)
^^^^^^^^^^^
File "E:\ComfyUI-Easy-Install\ComfyUI-Easy-Install\ComfyUI\custom_nodes\ComfyUI-KJNodes\nodes\nodes.py", line 2410, in load_vae
vae = VAE(sd=sd, device=device, dtype=dtype, metadata=metadata)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\ComfyUI-Easy-Install\ComfyUI-Easy-Install\ComfyUI\comfy\sd.py", line 516, in init
self.first_stage_model = AutoencoderKL(ddconfig=ddconfig, embed_dim=sd['post_quant_conv.weight'].shape[1])
~~^^^^^^^^^^^^^^^^^^^^^^^^^^
KeyError: 'post_quant_conv.weight'
Prompt executed in 0.14 seconds
I have no clue what all of this means.
[Having some sort of keybd error] So if you see something odd . . . What my goal was here was just run the preloaded text from the provider and it wouldn't get past that point. The models were downloaded from Huggingface. I checked to make sure they were correct but you may see the wrong one. If you can point me to a workflow that you know works, please point me. And is that node actually yours or could someone have just tagged your initials. Any help would be appreciated.
that's mean you using same custom node/fork from KJnode and that's make a conflict, you need to delete your custom node in this case find the custom node named comfyui-workflow-encrypt look picture below
delete that custom node and update KJnode (if you also install it) if not you need to install KJnode and replace the nodes with KJnode's nodes
it should looks like this:
Interesting! I thought that “encrypt” looked weird and node clicking in CUI I just noticed a “bootleg” tag for it! Didn’t see that. But now that you mentioned it . . . checking my custom nodes folder, I did see a "comfy_workflow_encrypt" node which I don't ever remember downloading. It was in the CUI Custom Nodes Manager, too. Uninstalled via Comfy Manager.
I really appreciate you pointing that out and it makes good sense. It's getting late so I'll play around tomorrow night! If you can suggest a "cleaner" LTX2 workflow--without all that "encrypt" stuff. If not I'll experiment with replacing those nodes. Thanks!
I have the same error. I downloaded the audio vae from both the official hf and kijai's hf -- and tried both to no effect. I even tried it with the official Load Vae node from Comfyui.
I also uninstalled and installed the kj nodes again. Not sure if I am doing something wrong here ?
The audio vae has to go in the vae folder ? Just trying to cover all bases.


