-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Add a new param to set the self attn text context factor #2433
Add a new param to set the self attn text context factor #2433
Conversation
Thanks for the fix! Looks good to me. |
@aderbedr FYI |
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.
lgtm
Great! This looks good to me. |
It's better to avoid the environment variable. Should implement this by adding a |
…rs') Add a param to set the text context factor. No change of behavior: same default (3). Resolve: ggerganov#2334
d93ce40
to
3c6f8fc
Compare
ok @ggerganov |
@WilliamTambellini I've pushed an alternative fix. Can you give it a try: #2443 |
Superseded by #2443 |
Add an env var to set the text context factor
WHISPER_SELFATTN_CACHE_TEXT_CTX_FACTOR
same default to 3.
Resolve:
#2334