Skip to content

Disable avx / avx2 / fma / f16c at runtime #2187

@thewh1teagle

Description

@thewh1teagle

Currently whisper.cpp provides a way to disable these instructions only at compile time

I would like to enable / disable them conditionally based on what the cpu support - cpp / rust provides easy ways to check if the cpu support them.

Many people experience crashing in apps which uses whisper.cpp just because their cpu doesn't support one of that instructions.
Can we add it to whisper.cpp?
Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions