Skip to content

Conversation

@Aya-ZIbra
Copy link
Contributor

Summary:
For causal and local causal mask, we better use the order below for deterministic.

qi\ki  ki=0  ki=1  ki=2  ki=3  ki=4  ki=5  ki=6  ki=7  ki=8
-----------------------------------------------------------
qi=0   1     0     -     -     -     -     -     -     -
qi=1   2     1     0     -     -     -     -     -     -
qi=2   -     2     1     0     -     -     -     -     -
qi=3   -     -     2     1     0     -     -     -     -
qi=4   -     -     -     2     1     0     -     -     -
qi=5   -     -     -     -     2     1     0     -     -
qi=6   -     -     -     -     -     2     1     0     -
qi=7   -     -     -     -     -     -     2     1     0

Differential Revision: D85308820

Summary:
For causal and local causal mask, we better use the order below for deterministic.  

```
qi\ki  ki=0  ki=1  ki=2  ki=3  ki=4  ki=5  ki=6  ki=7  ki=8
-----------------------------------------------------------
qi=0   1     0     -     -     -     -     -     -     -
qi=1   2     1     0     -     -     -     -     -     -
qi=2   -     2     1     0     -     -     -     -     -
qi=3   -     -     2     1     0     -     -     -     -
qi=4   -     -     -     2     1     0     -     -     -
qi=5   -     -     -     -     2     1     0     -     -
qi=6   -     -     -     -     -     2     1     0     -
qi=7   -     -     -     -     -     -     2     1     0
```

Differential Revision: D85308820
@netlify
Copy link

netlify bot commented Oct 28, 2025

Deploy Preview for pytorch-fbgemm-docs ready!

Name Link
🔨 Latest commit 499740d
🔍 Latest deploy log https://app.netlify.com/projects/pytorch-fbgemm-docs/deploys/6901211eb703d500085cb99e
😎 Deploy Preview https://deploy-preview-5066--pytorch-fbgemm-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@meta-cla meta-cla bot added the cla signed label Oct 28, 2025
@meta-codesync
Copy link
Contributor

meta-codesync bot commented Oct 28, 2025

@Aya-ZIbra has exported this pull request. If you are a Meta employee, you can view the originating Diff in D85308820.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant