-
Notifications
You must be signed in to change notification settings - Fork 102
Open
Description
Found with AI -- seems like a real bug.
In PRopeFlashAttention.forward, the image_width and image_height parameters passed to _prepare_apply_fns are swapped. The function receives H (height) and W (width) from the standard PyTorch image format, but passes image_width=H and image_height=W. This reverses the dimensions, causing incorrect camera intrinsic normalization when intrinsics K are provided. The intrinsic matrix elements fx, cx would be divided by height instead of width, and fy, cy by width instead of height.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels