Commit Graph

104 Commits (2e148e374dedfba0c3c3276429c37fb23566bacd)

Author SHA1 Message Date
Georgi Gerganov 2e148e374d
Merge e2aa556a99 into 2bee2650c6
2 years ago
Georgi Gerganov b992f3709e
whisper : do not provide past prompt when n_max_text_ctx == 0
2 years ago
Georgi Gerganov b5ddb16ec7
whisper : condition timestamps to be monotonically increasing (#425)
2 years ago
fitzsim ae16c21e9c
whisper : PPC64 big-endian support (#398)
2 years ago
Georgi Gerganov 78f166174f
whisper : fix condition for providing past prompt (critical)
2 years ago
Georgi Gerganov 21c569ba4a
whisper : extend information in whisper_print_timings()
2 years ago
Georgi Gerganov 1a91c19af9
whisper : perform entropy check only when we have at least 32 tokens (#412)
2 years ago
Georgi Gerganov a6cf6f4c4a
bench : minor fixes
2 years ago
Georgi Gerganov 1ccb8a46a5
bench : fix Windows linkage by moving ggml benches in whisper lib ..
2 years ago
Georgi Gerganov 8088a977af
whisper : fix possible uninitialized variables (#291)
3 years ago
Georgi Gerganov 00ea21668b
whisper : account speed_up flag for short audio (close #405)
3 years ago
Georgi Gerganov 8de452c18b
Improve decoding (#291)
3 years ago
Georgi Gerganov 4ef3398e8f
ggml : remove obsolete zeroing + comment fixes (#390)
3 years ago
boolemancer 08dc705a69
whisper : fix sample_to_timestamp calculation with 64 bit precision to avoid overflow (#388)
3 years ago
Syahmi Azhar 1512545149
whisper : add loader class to allow loading from buffer and others (#353)
3 years ago
Georgi Gerganov e2aa556a99
whisper : experiments with Flash Attention in the decoder
3 years ago
Georgi Gerganov 65fdcbbbbb
whisper : revert accidental MB change
3 years ago
Georgi Gerganov d61d55cd4b
ggml : speed-up soft max via Accelerate + unroll
3 years ago
Abitofevrything a62170c656
ggml : add SSE3 and fp16 conversion lookup table (#368)
3 years ago
Thomas Fitzsimmons 1944e7c33e whisper : document POWER VSX support
3 years ago
Georgi Gerganov ad2a4ffa03
whisper : do not use F16 tensors when in F32 mode (#369)
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
Georgi Gerganov d97e6005e9
whisper : add whisper_n_audio_ctx and check for invalid audio_ctx
3 years ago
Georgi Gerganov 68daf6e487
whisper : avoid some memory allocations
3 years ago
Georgi Gerganov ac521a566e
ggml : simplify the SIMD code (#324)
3 years ago
Andy Maloney 543bd5627e
whisper : use emplace_back in place of push_back (#319)
3 years ago
Andy Maloney 62fee9a9cc
whisper : fix mem leak on failure to load model (#318)
3 years ago
Andy Maloney fa463313ad
minor : small code cleanups (#302)
3 years ago
Georgi Gerganov 501a6b455c minor : flag "ARM FMA" -> "ARM_FMA"
3 years ago
Kevin Brothaler e1432dd91a Check for both __ARM_NEON and __ARM_FEATURE_FMA so that the project can be compiled for armv7a.
3 years ago
Andy Maloney 42c6730732
whisper : use nullptr (C++11) instead of NULL macro (#299)
3 years ago
Georgi Gerganov 99da1e5cc8
cmake : enable and fix -Wall -Wextra -Wpedantic C++ warnings
3 years ago
Matheus de Sousa 8e3f129b4d
minor : resolves some of warnings when compiling with clang/clang++ (#294)
3 years ago
Georgi Gerganov fba10a4c68 whisper : language auto-detect (#59)
3 years ago
Georgi Gerganov 6a69e3ae27 command : adding guided mode
3 years ago
Georgi Gerganov bf69b669a0 whisper : add whisper_tokenize()
3 years ago
Georgi Gerganov 6a7c82501e
whisper : improve decoding strategy (#244)
3 years ago
Georgi Gerganov 124c718c73
whisper : fix UB when reading buffer of length 0 bytes (#265)
3 years ago
Roland Rabien e70d47baab
Remove C++20 requirement (#257)
3 years ago
bert hubert d1da35de06 fix potential bug reading model data into a small size optimized string which could lead to memory corruption. In an SSO string, you can't write data to &str[0] and expect it to work well.
3 years ago
Georgi Gerganov 603f97ba11
whisper : minor improvemnt in decoding strategy (#244)
3 years ago
Georgi Gerganov f8ec718b76
ggml : add F16C CPU flag check
3 years ago
Georgi Gerganov 78d13257be
Try to improve the token sampling strategy (#193)
3 years ago
Georgi Gerganov 4698dcdb52 whisper : add mechanism for aborting the whisper_full() computation
3 years ago
Georgi Gerganov e266cb0723
whisper.objc : add real-time processing (#97)
3 years ago
Georgi Gerganov c207eed431
whisper.objc : fix build warnings
3 years ago
Georgi Gerganov be16dfa038
whisper.wasm : do not block page while processing (close #86)
3 years ago
Georgi Gerganov b8ce25dec1
refactoring : more readable code
3 years ago
Georgi Gerganov 128aaadb93
whisper : improve printfs
3 years ago