Commit Graph
100 Commits
Author SHA1 Message Date
Fangjun Kuang a452f9f078 Fix Flutter VAD+ASR examples for Qwen3 ASR (#4045) 2026-10-13 20:23:09 +08:00
Fangjun Kuang 9db1af1871 Update README to include deepseek-harness (#4030) 2026-10-09 15:49:02 +08:00
Fangjun Kuang e78dd83ca9 Update README to include China Life (#4029) 2026-10-09 15:29:18 +08:00
Fangjun Kuang f28c1d1840 Update README to include China Unicom (#4028) 2026-10-09 15:06:16 +08:00
Fangjun Kuang 1ca55ff076 Add subtitle generation Python API example for Doubao ASR. (#4027)
* Add subtitle generation Python API example for Doubao ASR.

generate-subtitles-doubao.py uses silero-vad/ten-vad for segmentation and
the Doubao bigmodel recording-file recognition API for ASR. Audio segments
are sent as base64 encoded wav data, so no public URL is needed. Results
are written to <input>.srt and <input>.txt.

Also for generate-subtitles.py:

 - Add --max-duration-seconds to process only the first N seconds of the
   input file
 - Refuse to run if <input>.srt or <input>.txt already exists
2026-10-09 13:55:48 +08:00
Fangjun Kuang e20ed70c35 Add subtitle generation Python api example for Qwen3 ASR (#3972) 2026-09-21 16:36:27 +08:00
Fangjun Kuang 275ee49637 Fix dart for windows arm64 (#3967) 2026-09-20 18:03:27 +08:00
Fangjun Kuang e8199a90e1 Add wasm demo for kokoro multi lang tts (#3966) 2026-09-20 14:25:14 +08:00
Fangjun Kuang bc5157a5fd Fix releasing dart packages (#3948) 2026-09-11 14:27:08 +08:00
Fangjun Kuang 11afbd009a Release v1.13.8 (#3945) 2026-09-10 21:52:45 +08:00
Fangjun Kuang 8c81710f76 Test using uv to install sherpa-onnx (#3946) 2026-09-10 21:47:46 +08:00
Fangjun Kuang b0899d95ee Add confidence computation support for speaker diarization to JNI. (#3943) 2026-09-10 17:10:54 +08:00
Fangjun Kuang c7d9eb02b7 Support running Rust examples in termux on Android (#3942) 2026-09-10 15:49:47 +08:00
Fangjun Kuang 6f5327bad8 Add robust download retry logic to all test scripts (#3941) 2026-09-09 17:56:46 +08:00
Fangjun Kuang bf690ea1c7 Update onnxruntime to v1.28.2 (#3935) 2026-09-09 15:21:14 +08:00
Fangjun Kuang a4d0341b42 Fix CI tests (#3940) 2026-09-09 14:57:29 +08:00
Fangjun Kuang fe56f3dec6 Add Go API for Windows arm64 (#3934) 2026-09-08 18:44:27 +08:00
Fangjun Kuang 880f1a8d13 Upload the nabra 82M Arabic TTS int8 model- #3933 (#3933) 2026-09-08 18:43:23 +08:00
Fangjun Kuang 210f340bcf Fix Go API tests in CI for Windows (#3932) 2026-09-08 12:02:57 +08:00
Fangjun Kuang df3a263607 Support sherpa-onnx with Python in Termux on Android (#3922) 2026-09-06 07:02:20 +08:00
Fangjun Kuang cb2beea82b Support building within a termux terminal on Android devices (#3916) 2026-09-04 18:04:44 +08:00
Fangjun Kuang a24dad69b4 Fix releasing (#3911) 2026-09-02 19:23:03 +08:00
Fangjun Kuang 917bed95c8 Release v1.13.7 (#3909) 2026-09-01 12:48:05 +08:00
Fangjun Kuang 0fbdb4c5bd Remove caret prefix from sherpa_onnx flutter dependencies (#3905)
* Remove caret prefix from sherpa_onnx flutter dependencies

Changed all sherpa_onnx flutter dependencies in pubspec.yaml files
from caret version (^1.13.6) to exact version (1.13.6) matching.
2026-08-30 11:12:30 +08:00
Fangjun Kuang 055046b25a Add iOS support for Rust and add hello world tauri example (#3901) 2026-08-28 19:47:24 +08:00
Fangjun Kuang 34eba5a272 Fix building APKs in CI (#3896) 2026-08-25 09:44:54 +08:00
Fangjun Kuang d33f87c8ad Support Windows arm64 for Rust (#3889) 2026-08-24 19:14:47 +08:00
Fangjun Kuang 5875a75996 Fix Flutter packages for iOS (#3887) 2026-08-24 14:35:41 +08:00
Fangjun Kuang 1cb484af5e Release v1.13.6 (#3879) 2026-08-18 13:59:39 +08:00
Fangjun Kuang 0cefb05e7d Add VAD+ASR Flutter examples (#3877) 2026-08-18 11:28:11 +08:00
Fangjun Kuang 8c0c1b02ca Unify sherpa-onnx init API for Flutter and Dart CLI (#3875) 2026-08-13 16:53:14 +08:00
Fangjun Kuang e1edbfee66 Fix releasing dart packages (#3874) 2026-08-13 09:43:57 +08:00
Fangjun Kuang c3625d24fb Fix using SPM in iOS examples (#3867) 2026-08-11 20:06:04 +08:00
Fangjun Kuang 99dcbfe760 Fix building android and java examples (#3866) 2026-08-11 17:54:38 +08:00
Fangjun Kuang 3dc7c569f3 Release v1.13.5 (#3863) 2026-08-11 14:43:30 +08:00
Fangjun Kuang 952b37032f Fix float32 catastrophic cancellation in variance computation (#3862)
Compute variance from centered values (x - mean)^2 instead of
E[x^2] - E[x]^2 in ComputeMeanAndInvStd, Omnilingual ASR CTC
normalization, and SpeakerEmbeddingExtractorNeMo NormalizePerFeature.

The subtraction E[x^2] - E[x]^2 cancels catastrophically in float32
when a feature stays near a constant value, yielding var == 0 and
huge normalized outliers.

Applies the same fix as PR #3857 (NemoNormalizePerFeature) to all
remaining instances of this pattern.
2026-08-11 11:32:59 +08:00
Fangjun Kuang 02b3e424ba Update onnxruntime to v1.27.1 (#3861) 2026-08-11 11:14:09 +08:00
Fangjun Kuang a04a27dcf8 Fix Kotlin Syntax errors (#3860) 2026-08-11 10:33:38 +08:00
Fangjun Kuang 17ab05b760 Add Flutter examples for VAD (#3856) 2026-08-10 21:00:44 +08:00
Fangjun Kuang 6897144f08 Add CI for Flutter punctuation examples (#3847) 2026-08-07 17:48:34 +08:00
Fangjun Kuang ceec1868fa Add punctuation examples for Flutter (#3846) 2026-08-07 14:33:29 +08:00
Fangjun Kuang fa76497c37 Build libs and Python wheels for CUDA 13 (#3844) 2026-08-07 11:53:28 +08:00
Fangjun Kuang f737aebe7c Add Flutter/Dart Web support via WebAssembly (#3842) 2026-08-06 17:10:10 +08:00
Fangjun Kuang dcf56735d4 Disable pthread support in WebAssembly. (#3836)
It removes WebAssembly pthread usage across the WASM demos/builds (simplifying runtime requirements) and updates the wasm SIMD onnxruntime package to 1.27.1. It also adjusts the JS worker/loading strategy and Node.js packaging to match the single-threaded WASM approach.
2026-08-04 10:06:58 +08:00
Fangjun Kuang ba07953c2f Fix building Python wheels on macOS (#3837)
We have removed the `soversion` name from the lib name since `onnxruntime` 1.27.1, so there is no `libonnxruntime.x.y.z.dylib` anymore.
2026-08-03 19:39:21 +08:00
Fangjun Kuang c0c00c9b5a Support using SPM for Flutter on macOS and iOS (#3835) 2026-08-03 18:03:26 +08:00
Fangjun Kuang c29b1838c8 Support static linking onnxruntime in xcframework with shared lib. (#3833) 2026-08-03 13:00:17 +08:00
Fangjun Kuang 2e2659e937 Refactor building xcframework for macOS and iOS (#3831) 2026-08-03 10:32:47 +08:00
Fangjun Kuang 116a44e72c Set onnxruntime version to 1.27.1 in SPM (#3830) 2026-07-30 17:04:11 +08:00
Fangjun Kuang 5e4232db78 Add missing files for swift package manager (#3828) 2026-07-30 11:46:54 +08:00
Fangjun Kuang 9ad8c8891e Fix iOS examples using swift package manager (#3823) 2026-07-29 17:56:49 +08:00
Fangjun Kuang b5f5866dae Use SPM in iOS examples (#3822) 2026-07-29 15:31:20 +08:00
Fangjun Kuang 14190197d9 Support swift package manager (SPM) (#3816) 2026-07-29 10:04:08 +08:00
Fangjun Kuang 75e1fc31e7 Build Python wheels for Windows arm64 (#3812) 2026-07-28 17:05:19 +08:00
Fangjun Kuang 282e20c846 Add Android demo for Inflect TTS (#3811) 2026-07-28 17:04:22 +08:00
Fangjun Kuang ccdaef8bba Add API to get onnxruntime version. (#3810) 2026-07-28 14:02:43 +08:00
Fangjun Kuang 0a03d8546f Export Inflect TTS models to sherpa-onnx (#3808) 2026-07-27 20:36:04 +08:00
Fangjun Kuang 546df6f963 Test Java API on Windows arm64 (#3801) 2026-07-24 19:11:20 +08:00
Fangjun Kuang 881ce3078f Simplify build.gradle.kts for java api examples. (#3788) 2026-07-24 17:01:43 +08:00
Fangjun Kuang 24a84a910a Refactor building and testing Java API (#3786) 2026-07-23 14:12:31 +08:00
Fangjun Kuang 2cbcb26887 Fix greedy search decoding for Nemo streaming transducer (#3785) 2026-07-23 11:16:00 +08:00
Fangjun Kuang 9d15a282aa Add Java API examples with gradle (#3784) 2026-07-22 19:36:59 +08:00
Fangjun Kuang a3b58a159e Add maven examples for Java API (#3783) 2026-07-22 18:47:01 +08:00
Fangjun Kuang fd63389bb4 Fix uploading Piper TTS models (#3774) 2026-07-20 10:02:25 +08:00
Fangjun Kuang 8e7ca3cdfa Upload vits-piper-pt_BR-cadu-medium to huggingface (#3763) 2026-07-15 16:55:00 +08:00
Fangjun Kuang 7fc2ea7725 Add C++ runtime for Moonshine ASR with QNN for Qualcomm NPU (#3758) 2026-07-14 14:36:02 +08:00
Fangjun Kuang d5c2ab3c36 Export Moonshine ASR models to QNN (#3756) 2026-07-13 16:12:29 +08:00
Fangjun Kuang 97293f0d9b Fix build warnings (#3742) 2026-07-09 19:25:44 +08:00
Fangjun Kuang 9b3374251b Export nemotron-3.5-asr-streaming-0.6b to QNN (#3741) 2026-07-09 18:01:21 +08:00
Fangjun Kuang f8ffa43055 Build docker image to setup the QNN SDK environment (#3736) 2026-07-08 22:24:49 +08:00
Fangjun Kuang 6a204636c4 Refactor ONNX export script for nemotron-3.5-asr-streaming-0.6b (#3734) 2026-07-08 18:07:41 +08:00
Fangjun Kuang 4392c45645 Fix building Android KWS demo (#3733) 2026-07-08 16:15:05 +08:00
Fangjun Kuang 2aaa27d271 Re-export nemotron-3.5-asr-streaming-0.6b to ONNX (#3732) 2026-07-08 14:15:46 +08:00
Fangjun Kuang 1428072526 Release v1.13.4 (#3730) 2026-07-07 19:21:34 +08:00
Fangjun Kuang 2c912d2a6e Add ApplyHomophoneReplacer in OfflineRecognizerQwen3ASRImpl (#3729)
Fixes #3726
2026-07-07 18:56:21 +08:00
Fangjun Kuang 71827909e1 Add C++ runtime for nemotron-speech-streaming-en-0.6b with QNN (#3728) 2026-07-07 18:46:57 +08:00
Fangjun Kuang d3105322e8 Export nemotron-speech-streaming-en-0.6b to QNN (#3725) 2026-07-07 14:53:07 +08:00
Fangjun Kuang 5f1153b87d Add C++ runtime for Parakeet TDT models with QNN (#3720) 2026-07-04 15:44:54 +08:00
Fangjun Kuang d250d04eef Export Parakeet TDT models to QNN (#3719) 2026-07-03 17:34:20 +08:00
Fangjun Kuang e5cece2251 Update onnxruntime to 1.27.0 (#3718) 2026-07-03 14:03:00 +08:00
Fangjun Kuang ca668535ca Remove leading spaces from ASR results (#3711) 2026-06-30 16:51:48 +08:00
Fangjun Kuang 1b8d95d34b Fix file related operations on Windows by using wide characters (#3710) 2026-06-30 12:15:24 +08:00
Fangjun Kuang 768fd7a996 Remove spaces right before a punctuation in ASR result (#3709) 2026-06-30 11:08:13 +08:00
Fangjun Kuang bbeb79ef8d Fix installing espeak-ng-data directory (#3708) 2026-06-29 18:32:14 +08:00
Fangjun Kuang 49ebd5baaa Fix building with ninja (#3702) 2026-06-25 21:11:08 +08:00
Fangjun Kuang 20ac56ef40 Add C++ runtime for Whisper with Qualcomm NPU using QNN. (#3699) 2026-06-24 14:14:14 +08:00
Fangjun Kuang 98886acc08 Export Whisper models to QNN (#3697) 2026-06-24 09:44:13 +08:00
Fangjun Kuang b0aa164096 Export the transducer branch of parakeet-tdt-ctc to QNN (#3693) 2026-06-23 10:00:10 +08:00
Fangjun Kuang 41a3fb5ea8 Export Parakeet-TDT-CTC to QNN (#3692) 2026-06-22 14:43:52 +08:00
Fangjun Kuang feb870c494 Add C++ runtime for Parakeet CTC with QNN. (#3688) 2026-06-18 13:52:05 +08:00
Fangjun Kuang 9961aee6d6 Export Parakeet CTC models to QNN (#3686) 2026-06-18 10:15:30 +08:00
Fangjun Kuang 6206c9c0e9 Fix releasing Dart iOS package (#3680) 2026-06-15 17:17:36 +08:00
Fangjun Kuang 330609dab4 Release v1.13.3 (#3679) 2026-06-15 15:50:54 +08:00
Fangjun Kuang 6bcb4f51ed Update iOS to use onnxruntime 1.26.0 (#3678) 2026-06-15 15:20:32 +08:00
Fangjun Kuang 0d1f98e531 Add Android QNN demo for non-streaming zipformer with Reazonspeech (#3670) 2026-06-12 09:44:33 +08:00
Fangjun Kuang fb4d154d20 Add Android demo with QNN for Streaming X-ASR. (#3668) 2026-06-10 11:52:38 +08:00
Fangjun Kuang e25292f7a1 Export X-ASR models to QNN (#3666) 2026-06-08 18:52:48 +08:00
Fangjun Kuang f2991e2e36 Export X-ASR models to sherpa-onnx (#3662) 2026-06-05 22:11:46 +08:00
Fangjun Kuang 8799533206 Support streaming zipformer transducer ASR for QNN. (#3660) 2026-06-05 10:08:05 +08:00
Fangjun Kuang f028fda254 Support non-streaming Zipformer transducer for Qualcomm NPU with QNN. (#3655) 2026-06-05 10:01:38 +08:00