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

Limit number of dummy cross attention blocks #667

Merged
merged 1 commit into from
Jan 8, 2025

Conversation

kdamaszk
Copy link

@kdamaszk kdamaszk commented Jan 7, 2025

Fix warmup for encoder-decoder model runner by limiting the number of dummy cross attention blocks to available blocks. Without this we will encounter an error in CrossAttention due to lack of available blocks.

@kdamaszk kdamaszk added the habana Issues or PRs submitted by Habana Labs label Jan 7, 2025
@michalkuligowski michalkuligowski merged commit fa9dbf2 into habana_main Jan 8, 2025
12 checks passed
@michalkuligowski michalkuligowski deleted the dev/kdamaszke/fix-encoder-warmup branch January 8, 2025 17:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
habana Issues or PRs submitted by Habana Labs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants