Abitofevrything
44fc35e56a
Prefer static inline where possible
3 years ago
Abitofevrything
171acce74f
Correct updated macro definitions
3 years ago
Abitofevrything
39d9c1cfef
Update SSE3 to new macro arguments
3 years ago
Abitofevrything
b6740c090f
Merge branch 'master' of github.com:ggerganov/whisper.cpp
3 years ago
Abitofevrything
fe6670dc68
Remove TODO comments
3 years ago
Abitofevrything
a408a3b2c9
Drop Imath; Add lookup table for f16 -> f32 conversions
3 years ago
Thomas Fitzsimmons
1944e7c33e
whisper : document POWER VSX support
3 years ago
Thomas Fitzsimmons
49a8dd6732
ggml : reorganize POWER9 ppc64le SIMD code
3 years ago
Thomas Fitzsimmons
8c7f642286
ggml : change f16 load and store macro arguments
3 years ago
Georgi Gerganov
ad2a4ffa03
whisper : do not use F16 tensors when in F32 mode ( #369 )
3 years ago
Georgi Gerganov
b3c865083e
ci : add emscripten build
3 years ago
Georgi Gerganov
a0d4f8e65c
main : make whisper_print_segment_callback() more readable ( close #371 )
3 years ago
Georgi Gerganov
4a214d2f07
cmake : add CMAKE_RUNTIME_OUTPUT_DIRECTORY
...
Currently needed by the wasm examples
3 years ago
Georgi Gerganov
0a0cfa7985
ggml : add void to argument-less functions
3 years ago
Georgi Gerganov
196d738974
minor : close #370 + Makefile build info print change
3 years ago
Andy Maloney
84c6b42e65
cmake : update to 3.19 ( #351 )
...
- update from 3.0 (from 2014) to 3.19 (from 2020)
- move some global setting onto the targets (through a cmake include)
3 years ago
Andy Maloney
dd6d582977
whisper : use ranged-based for loops for readability
3 years ago
Georgi Gerganov
d51c5eb906
ggml : define MIN / MAX only if not defined (minor)
3 years ago
Abitofevrything
d8f356ac9f
Merge branch 'master' of github.com:ggerganov/whisper.cpp
3 years ago
Georgi Gerganov
0be6a1afd9
make : print build information
3 years ago
Abitofevrything
4362818573
Wrap Imath calls to avoid static function warnings
3 years ago
Abitofevrything
67a1aa398a
Add Imath to system information
3 years ago
Abitofevrything
7bba2dd63d
Add Imath support for fp16-fp32 conversions
3 years ago
Abitofevrything
97e0dfc8ba
Add SSE3 to system information
3 years ago
Abitofevrything
c4d8664603
Add support for SSE3 SIMD
3 years ago
Georgi Gerganov
a466c3404d
stream : fix data race on bool + avoid division-by-zero
3 years ago
Georgi Gerganov
d629c034a4
models : fix HF model URL ( close #356 )
3 years ago
Andy Maloney
f00509d57c
command : refactor to split command list & general transcription modes ( #331 )
...
This makes it easier to understand if you're looking for only one of the capabilities.
3 years ago
Thomas Fitzsimmons
424c410c42
ggml : improve f16 acceleration for POWER9 ppc64le
3 years ago
Georgi Gerganov
d97e6005e9
whisper : add whisper_n_audio_ctx and check for invalid audio_ctx
...
closes #344
3 years ago
Ikko Ashimine
3467230a77
models : fix typo in convert-h5-to-ggml.py
...
signficant -> significant
3 years ago
Avik Sengupta
a091581eb3
cmake : add runtime destination install ( #345 )
...
needed for mingw32 build to successfully install the dlls in the correct location
3 years ago
Georgi Gerganov
68daf6e487
whisper : avoid some memory allocations
3 years ago
Niels Mayer
a593b932e4
main : add -ocsv, aka --output-csv to output a CSV file
...
Adds -ocsv, aka --output-csv feature to examples/main, which outputs a CSV file containing lines formatted as follows <startTime-in-integer-milliseconds>, <endTime-in-integer-milliseconds>, "<transcript-line-including-commas>".
3 years ago
Georgi Gerganov
9a8ad3db69
make : add i686 arch ( close #329 )
3 years ago
Georgi Gerganov
4e0b2069e7
ggml : barrier refactor + static functions
3 years ago
Georgi Gerganov
ac521a566e
ggml : simplify the SIMD code ( #324 )
...
* ggml : simplify the SIMD code
* ggml : generic reduce for all register sizes + comments
3 years ago
Andy Maloney
331c0bbddc
examples : fix memory leak on failure to load gpt2 model ( #323 )
3 years ago
Andy Maloney
dc90efd504
examples : small code cleanups ( #322 )
...
- remove unnecessary initialization of string to ""
- use empty() instead of checking size()
- use emplace_back instead of push_back
- use nullptr instead of NULL
- remove unnecessary call to .data() on string
- use character overload of find_first_of() instead of passing a string
3 years ago
Georgi Gerganov
7282e2109e
ggml : use vaddvq_f32 for slightly more efficient reduce
3 years ago
Thomas Fitzsimmons
466ceebb78
ggml : add f16 acceleration for POWER9 ppc64le
3 years ago
Georgi Gerganov
77226aa89d
models : fix support for spaces in path ( close #315 )
3 years ago
Andy Maloney
543bd5627e
whisper : use emplace_back in place of push_back ( #319 )
...
This avoids potential construction of temporaries.
3 years ago
Andy Maloney
62fee9a9cc
whisper : fix mem leak on failure to load model ( #318 )
3 years ago
Andy Maloney
493d94130d
ggml : make consts static ( #317 )
...
These shouldn't be able to be referenced outside the compilation unit.
3 years ago
Georgi Gerganov
1480a5f1af
Update README.md
...
Add SwiftUI example links
3 years ago
Digipom
0f4227d9ee
examples : add whisper.swiftui demo app ( #308 )
...
* Add SwiftUI demo project.
* Add -DGGML_USE_ACCELERATE
3 years ago
Georgi Gerganov
4c1fe0c813
Update README.md
...
Add bindings links / discussions
3 years ago
Andy Maloney
fa463313ad
minor : small code cleanups ( #302 )
...
* Small code cleanups
- fix indentation
- remove extra semicolons
- remove extra break after returns in case statements
- remove unnecessary call to .data() on string
- use empty() instead of checking size()
- no need to check for nullptr before free
- remove unnecessary initialization of string to ""
* minor : switch case always break
Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
3 years ago
Georgi Gerganov
501a6b455c
minor : flag "ARM FMA" -> "ARM_FMA"
3 years ago