ComfyUI/comfy/ldm/hunyuan3dv2_1
Kivylius 43b0dab91e fix: Hunyuan3D 2.1 batch size crashes in attention and forward pass
- CrossAttention.forward: hardcoded `1` in kv.view() replaced with actual batch size `b`
- Attention.forward: hardcoded `1` in qkv_combined.view() replaced with actual batch size `B`
- HunYuanDiTPlain.forward: context.chunk(2) and output.chunk(2) now guarded with
  shape[0] >= 2 check to avoid crash when running without negative conditioning

Fixes Comfy-Org/ComfyUI#10142
2026-05-04 13:11:26 +01:00
..
hunyuandit.py fix: Hunyuan3D 2.1 batch size crashes in attention and forward pass 2026-05-04 13:11:26 +01:00