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

Attempting to compile model error #27

Closed coderzzp closed 1 year ago

coderzzp commented 1 year ago

i download the base.en model and success,but complied error image

coderzzp commented 1 year ago

my device is macos

ariym commented 1 year ago

I found a thread with a similar problem, whisper.cpp issue 597

creator suggests removing the following lines from lib/whisper.cpp/Makefile

139: CFLAGS   += -mf16c
140: CXXFLAGS += -mf16c

then run make clean + make and see if that works.