Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[AttentionMaskConverter] fix sdpa unmask unattended (#28369)
fix tensor device
- Loading branch information
87a6cf4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fyi, I think I ran into an issue possibly caused by this, where on this line,
indices
is on my model/data's device andrange_tensor
is on CPU:Downgrading to
4.36.2
resolved. I can submit an issue if that helps but didn't have a great way to produce a minimum working example. Only popped up with batch size > 1 but guessing that has more to do with when this would be called?87a6cf4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will be reverted to being all on CPU in #28400