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

build : improve disabling AVX-512 #2129

Merged
merged 3 commits into from
May 8, 2024

Conversation

przemoc
Copy link
Contributor

@przemoc przemoc commented May 7, 2024

cmake: Do not support WHISPER_NO_AVX512_VBMI=OFF and WHISPER_NO_AVX512_VNNI=OFF unless WHISPER_NO_AVX512=OFF.
make: Support WHISPER_NO_AVX512=1 to ease disabling all autodetected AVX-512 subsets.

Previously it happened only for MSVC, but it makes sense to have the
same behavior for other compilers too.
And update compiler flags at the end to ease modifying conditions.
That way you do not have to override each AVX-512 subset setting
individually if it has been turned on during autodetection.
@ggerganov ggerganov merged commit b6680fa into ggerganov:master May 8, 2024
49 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.

None yet

2 participants