wip : initial WASM port

Works but it is very slow because no SIMD is used.
For example, jfk.wav is processed in ~23 seconds using "tiny.en" model
This commit is contained in:
Georgi Gerganov
2022-10-22 13:07:59 +03:00
parent 7d0dee7a8a
commit e905c6f827
14 changed files with 440 additions and 23 deletions

14
examples/CMakeLists.txt Normal file
View File

@ -0,0 +1,14 @@
# dependencies
find_package(Threads REQUIRED)
# third-party
#add_subdirectory(third-party)
# examples
if (EMSCRIPTEN)
add_subdirectory(whisper.wasm)
else()
endif()