Skip to content

Commit ac1e9ae

Browse files
authored
examples : remove whisper (#860)
ggml-ci
1 parent 169738d commit ac1e9ae

File tree

14 files changed

+1
-10388
lines changed

14 files changed

+1
-10388
lines changed

README.md

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Some of the development is currently happening in the [llama.cpp](https://github
2424

2525
- [X] Example of GPT-2 inference [examples/gpt-2](https://github.com/ggerganov/ggml/tree/master/examples/gpt-2)
2626
- [X] Example of GPT-J inference [examples/gpt-j](https://github.com/ggerganov/ggml/tree/master/examples/gpt-j)
27-
- [X] Example of Whisper inference [examples/whisper](https://github.com/ggerganov/ggml/tree/master/examples/whisper)
27+
- [X] Example of Whisper inference [ggerganov/whisper.cpp](https://github.com/ggerganov/whisper.cpp)
2828
- [X] Example of LLaMA inference [ggerganov/llama.cpp](https://github.com/ggerganov/llama.cpp)
2929
- [X] Example of LLaMA training [ggerganov/llama.cpp/examples/baby-llama](https://github.com/ggerganov/llama.cpp/tree/master/examples/baby-llama)
3030
- [X] Example of Falcon inference [cmp-nct/ggllm.cpp](https://github.com/cmp-nct/ggllm.cpp)
@@ -44,20 +44,6 @@ Some of the development is currently happening in the [llama.cpp](https://github
4444
- [X] Example of multiple LLMs inference [foldl/chatllm.cpp](https://github.com/foldl/chatllm.cpp)
4545
- [X] SeamlessM4T inference *(in development)* https://github.com/facebookresearch/seamless_communication/tree/main/ggml
4646

47-
## Whisper inference (example)
48-
49-
With ggml you can efficiently run [Whisper](examples/whisper) inference on the CPU.
50-
51-
Memory requirements:
52-
53-
| Model | Disk | Mem |
54-
| --- | --- | --- |
55-
| tiny | 75 MB | ~280 MB |
56-
| base | 142 MB | ~430 MB |
57-
| small | 466 MB | ~1.0 GB |
58-
| medium | 1.5 GB | ~2.6 GB |
59-
| large | 2.9 GB | ~4.7 GB |
60-
6147
## GPT inference (example)
6248

6349
With ggml you can efficiently run [GPT-2](examples/gpt-2) and [GPT-J](examples/gpt-j) inference on the CPU.

ci/run.sh

Lines changed: 0 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -218,39 +218,6 @@ function gg_sum_mnist {
218218
gg_printf '```\n'
219219
}
220220

221-
# whisper
222-
223-
function gg_run_whisper {
224-
cd ${SRC}
225-
226-
gg_wget models-mnt/whisper/ https://huggingface.co/ggerganov/whisper.cpp/resolve/main/ggml-base.en.bin
227-
gg_wget models-mnt/whisper/ https://github.com/ggerganov/whisper.cpp/raw/master/samples/jfk.wav
228-
229-
cd build-ci-release
230-
231-
set -e
232-
233-
path_models="../models-mnt/whisper/"
234-
model_f16="${path_models}/ggml-base.en.bin"
235-
audio_0="${path_models}/jfk.wav"
236-
237-
(time ./bin/whisper -m ${model_f16} -f ${audio_0} ) 2>&1 | tee -a $OUT/${ci}-main.log
238-
239-
grep -q "And so my fellow Americans" $OUT/${ci}-main.log
240-
241-
set +e
242-
}
243-
244-
function gg_sum_whisper {
245-
gg_printf '### %s\n\n' "${ci}"
246-
247-
gg_printf 'Runs short Whisper transcription\n'
248-
gg_printf '- status: %s\n' "$(cat $OUT/${ci}.exit)"
249-
gg_printf '```\n'
250-
gg_printf '%s\n' "$(cat $OUT/${ci}-main.log)"
251-
gg_printf '```\n'
252-
}
253-
254221
# sam
255222

256223
function gg_run_sam {
@@ -347,7 +314,6 @@ fi
347314
if [ -z ${GG_BUILD_NO_DOWNLOAD} ]; then
348315
test $ret -eq 0 && gg_run gpt_2
349316
test $ret -eq 0 && gg_run mnist
350-
test $ret -eq 0 && gg_run whisper
351317
test $ret -eq 0 && gg_run sam
352318
test $ret -eq 0 && gg_run yolo
353319
fi

examples/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ target_include_directories(common-ggml PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
2020

2121
add_subdirectory(gpt-2)
2222
add_subdirectory(gpt-j)
23-
add_subdirectory(whisper)
2423
add_subdirectory(mnist)
2524
add_subdirectory(sam)
2625
add_subdirectory(yolo)

examples/whisper/CMakeLists.txt

Lines changed: 0 additions & 23 deletions
This file was deleted.

examples/whisper/README.md

Lines changed: 0 additions & 29 deletions
This file was deleted.

0 commit comments

Comments
 (0)