File tree Expand file tree Collapse file tree 3 files changed +8
-16
lines changed
Expand file tree Collapse file tree 3 files changed +8
-16
lines changed Original file line number Diff line number Diff line change 9090 if : matrix.os != 'windows-latest'
9191 run : |
9292 cd whisper.cpp
93- make -j$(nproc 2>/dev/null || sysctl -n hw.ncpu)
93+ cmake -B build -DGGML_NATIVE=OFF
94+ cmake --build build --config Release -j$(nproc 2>/dev/null || sysctl -n hw.ncpu)
9495
9596 - name : Build Whisper (Windows)
9697 if : matrix.os == 'windows-latest'
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 6767cd whisper.cpp
6868
6969# Download model if not present
70- if [ ! -f " models/ggml-small .bin" ]; then
70+ if [ ! -f " models/ggml-base .bin" ]; then
7171 echo " "
72- echo -e " ${YELLOW} 📥 Downloading 'small ' model (~465 MB)...${NC} "
72+ echo -e " ${YELLOW} 📥 Downloading 'base ' model (~148 MB)...${NC} "
7373 echo " This may take a few minutes depending on your connection."
74- bash ./models/download-ggml-model.sh small
74+ bash ./models/download-ggml-model.sh base
7575else
76- echo -e " ${GREEN} ✓${NC} Model ggml-small .bin exists"
76+ echo -e " ${GREEN} ✓${NC} Model ggml-base .bin exists"
7777fi
7878
7979# Compile whisper if not compiled
8080if [ ! -f " build/bin/whisper-cli" ]; then
8181 echo " "
8282 echo -e " ${YELLOW} 🔨 Compiling whisper.cpp...${NC} "
83- make
83+ cmake -B build -DGGML_NATIVE=OFF
84+ cmake --build build --config Release -j$( sysctl -n hw.ncpu 2> /dev/null || nproc 2> /dev/null || echo 4)
8485else
8586 echo -e " ${GREEN} ✓${NC} whisper-cli already compiled"
8687fi
You can’t perform that action at this time.
0 commit comments