JacobLinCool / smart-whisper

Smart Whisper is a native Node.js addon designed for efficient and streamlined interaction with the whisper.cpp, with automatic model offloading and model manager.
http://jacoblin.cool/smart-whisper/
MIT License
32 stars 3 forks source link

Support Windows and BYOL Build #14

Closed JacobLinCool closed 10 months ago

JacobLinCool commented 10 months ago

This PR moved all build process into gyp, no other commands are involved now. Which allows windows to use the package without setting up other build tools.

Also, a BYOL env var is supported during the building process, which allows users to use their own libwhisper.a or libwhisper.so, enabling other accelerations of whisper.cpp in different environment.

BYOL="/path/to/libwhisper.a" pnpm i smart-whisper
changeset-bot[bot] commented 10 months ago

🦋 Changeset detected

Latest commit: 4adfbfe0a316cf0009befbef9a9e6098cbdbf4c3

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | ------------- | ----- | | smart-whisper | Minor |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR