-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Problem compiling addon.node (+solution) #2091
Comments
Hey @pprobst thank you for creating an issue on this and referencing it. It works. I have one question. Do you know how could I build for node, but it should use the GPU (cuda) instead of CPU. |
Other problems I found: When I ran the example, I got the following error:
I looked into addon.cpp, and I think |
Hmm, to be fair in my use case I have only been using the node addon with CPU, and I'm not very experienced with node myself. Do you mean that it's not compiling for GPU?
Correct, |
Hey @pprobst I meant using GPU and CUDA, I am not sure how that works. What to do to speed up the process. My goal is to create text as fast as possible for few second recordings. I am trying to record air traffic control communication and turn it into text. I have tried using |
You can set EDIT: made a PR #2115. |
The path is still incorrect in the most recent commit. This still needs to be fixed. When I changed it to |
I cannot replicate this error here. For reference, what I do is:
|
Hello there.
When I compile
addon.node
in examples, running the following line afternpm install
:Yields:
However, this can be fixed by simply changing
whisper.cpp/examples/CMakeLists.txt
Line 81 in 858452d
to
set_target_properties(whisper-addon PROPERTIES FOLDER "examples")
However, I suppose a cleaner solution would be to replace the occurrences of
whisper-addon
withaddon.node
, to maintain the intended naming scheme.@ggerganov Let me know your preference and I can shoot a PR if needed.
The text was updated successfully, but these errors were encountered: