ariym / whisper-node

Node.js bindings for OpenAI's Whisper. (C++ CPU version by ggerganov)
https://npmjs.com/whisper-node
MIT License
242 stars 42 forks source link

ARM Mac OS 15.0 Can't use npx whisper-node download #55

Open jaredgei opened 1 month ago

jaredgei commented 1 month ago

This is what I'm seeing:

[whisper-node] Attempting to compile model...
I whisper.cpp build info: 
I UNAME_S:  Darwin
I UNAME_P:  arm
I UNAME_M:  arm64
I CFLAGS:   -I.              -O3 -DNDEBUG -std=c11   -fPIC -D_XOPEN_SOURCE=600 -D_DARWIN_C_SOURCE -pthread -DGGML_USE_ACCELERATE -DGGML_USE_METAL
I CXXFLAGS: -I. -I./examples -O3 -DNDEBUG -std=c++11 -fPIC -D_XOPEN_SOURCE=600 -D_DARWIN_C_SOURCE -pthread -DGGML_USE_METAL
I LDFLAGS:   -framework Accelerate -framework Foundation -framework Metal -framework MetalKit
I CC:       Apple clang version 16.0.0 (clang-1600.0.26.3)
I CXX:      Apple clang version 16.0.0 (clang-1600.0.26.3)

c++ -I. -I./examples -O3 -DNDEBUG -std=c++11 -fPIC -D_XOPEN_SOURCE=600 -D_DARWIN_C_SOURCE -pthread -DGGML_USE_METAL -c whisper.cpp -o whisper.o
whisper.cpp:23:10: fatal error: 'atomic' file not found
   23 | #include <atomic>
      |          ^~~~~~~~
1 error generated.
make: *** [whisper.o] Error 1