Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: if mask not present, opencl kernel fails with divide by 0
If utilizing micro kernel version of sdpa without an attention mask, the opencl kernel will fail to compile with a divide by zero error. This remove the `msk` index computation in the absence of the mask to avoid the error and allow micro kernel sdpa to function w/o the mask as intended.
- Loading branch information