Skip to content
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

Removing error message for reusing kv cache with torch attn #1497

Merged

Conversation

ShashankMosaicML
Copy link
Contributor

@ShashankMosaicML ShashankMosaicML commented Aug 29, 2024

KV cache sharing is independent of the attention implementation, hence it should work for torch attention as well. Thus, this PR removes the error check which checks if KV cache sharing is being used with torch attention.

@ShashankMosaicML ShashankMosaicML marked this pull request as ready for review August 29, 2024 18:41
@ShashankMosaicML ShashankMosaicML requested a review from a team as a code owner August 29, 2024 18:41
Copy link
Collaborator

@dakinggg dakinggg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add a PR description please

@ShashankMosaicML ShashankMosaicML merged commit 6d9d79b into mosaicml:main Aug 29, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants