You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(trainer): always run VLM vision encoder for FSDP+EP collective symmetry
A text-only micro-batch (no images, or all images truncated away) made its
rank skip the vision encoder's FSDP all-gather, desyncing collectives across
ranks under FSDP + expert parallelism and deadlocking the run (NCCL timeout).
Always invoke the frozen vision encoder, feeding a tiny dummy image when none
is present, and skip the masked_scatter in that case so LM embeddings are
untouched.
Co-authored-by: Cursor <cursoragent@cursor.com>
0 commit comments