- 
                Notifications
    You must be signed in to change notification settings 
- Fork 6.5k
ulysses enabling in native attention path #12563
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Wang, Yi A <[email protected]>
d6256ab    to
    109d2dd      
    Compare
  
    |  | 
| The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update. | 
Signed-off-by: Wang, Yi A <[email protected]>
| Also worked for me, thanks | 
| enable_gqa=enable_gqa, | ||
| ) | ||
| out = out.permute(0, 2, 1, 3) | ||
| if _parallel_config is None: | 
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.
Here, 'supports_context_parallel=True' should be also added to register @sywangyi @sayakpaul
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.
thanks, added
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.
@DefTruth that should also fix #12446 (comment) right? Could you give this a check?
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.
@DefTruth that should also fix #12446 (comment) right? Could you give this a check?
confirm fixed
Signed-off-by: Wang, Yi A <[email protected]>


fix the corrupted output when enable ulysses with native attention. since native attention is widely use in no-cuda plaform. and ulysses does not rely on lse. so ulysses attention still could be used in native attention path.