sandrohanea / whisper.net

Whisper.net. Speech to text made simple using Whisper Models
MIT License
505 stars 77 forks source link

Automatic Runtime Selection #181

Closed srs-adamr closed 2 months ago

srs-adamr commented 3 months ago

Was considering contributing a Source Generation library to automatically select Whisper.net.Runtime.Cublas/Whisper.net.Runtime.Clblast based on the available hardware / os.

Are there any limitations anyone is aware of that would pose a challenge in doing this?

Lyrcaxis commented 2 months ago

The developers can do this 'automatic' selection 'manually' by including multiple DLLs in the build and specifying libraryPath. As for fully automatically and built-in it's @sandrohanea's call on whether it should or shouldn't happen.