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

don't pass input_pos_maxp1 to ThunderModules #1912

Merged
merged 2 commits into from
Jan 20, 2025
Merged

Conversation

t-vi
Copy link
Contributor

@t-vi t-vi commented Jan 20, 2025

This removes a data-dependent control flow when llm.model is a ThunderModel.

input_pos_maxp1, introduced in #1870 , is an optimization for reducing the input size for the attention. It does however introduce data-dependent control flow, tripping up the compilation.

@t-vi t-vi requested review from rasbt and lantiga as code owners January 20, 2025 13:50
@t-vi t-vi merged commit 9d6cfe6 into main Jan 20, 2025
8 of 9 checks passed
@t-vi t-vi deleted the tom/undo_input_pos_maxp1 branch January 20, 2025 15:16
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