Instructions to use wdga/kokoro-82m-litert-runtime-preview with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LiteRT
How to use wdga/kokoro-82m-litert-runtime-preview with LiteRT:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
| { | |
| "name": "kokoro-82m-litert-runtime-preview", | |
| "artifact_kind": "LiteRT/TFLite Kokoro text-to-audio runtime preview", | |
| "source_model": "hexgrad/Kokoro-82M", | |
| "source_checkpoint": "kokoro-v1_0.pth", | |
| "source_checkpoint_sha256": "496dba118d1a58f5f3db2efc88dbdc216e0483fc89fe6e47ee1f2c53f18ad1e4", | |
| "generated_by_repo": "https://github.com/will-deines/robot", | |
| "sample_rate_hz": 24000, | |
| "runtime_shape": "text -> KPipeline G2P/tokenization -> LiteRT frontend bucket -> LiteRT decoder/vocoder -> WAV", | |
| "text_frontend": { | |
| "package": "kokoro", | |
| "component": "KPipeline", | |
| "methods": ["g2p", "en_tokenize"], | |
| "loads_pytorch_model_weights": false, | |
| "forbidden_in_request_path": ["KModel"] | |
| }, | |
| "frontend": { | |
| "kind": "bucketed_full_frontend", | |
| "buckets": [ | |
| { | |
| "tokens": 48, | |
| "max_frames": 128, | |
| "max_f0_frames": 256, | |
| "path": "frontend/kokoro_full_frontend_masked_b48_f128_f0256.tflite", | |
| "sha256": "d075924f0f0be81c382f4a68b2799ac3a2142e650ac0ceb730aea7f6f4f5f4da", | |
| "bytes": 128007356 | |
| } | |
| ] | |
| }, | |
| "decoder_vocoder": { | |
| "kind": "merged_decoder_source_stft", | |
| "path": "kokoro_decoder_source_stft_merged.tflite", | |
| "sha256": "7111687d4513189c959adee16f4436e9c48f1c6285a02db8de126011d09cb8d0", | |
| "bytes": 216280440, | |
| "custom_op": { | |
| "name": "KokoroSourceStft", | |
| "source_path": "custom_ops/kokoro_source_stft_custom_op_native.cc", | |
| "source_sha256": "40a6d3ed03548fe2d5d4e8381cb66287d2dbc304a8906cf07b2711942b7f2ad6", | |
| "linux_x86_64_path": "custom_ops/linux-x86_64/kokoro_source_stft_custom_op_native.so", | |
| "linux_x86_64_sha256": "c2f62be3925c21cb21fb41d66f4e0a227785ad4cc4ec2d10a6770a64ebc47519", | |
| "linux_aarch64_path": "custom_ops/linux-aarch64/kokoro_source_stft_custom_op_native.so", | |
| "linux_aarch64_sha256": "8abde2649f80db69f0ae6c46f998ebe179a55af42f4e40b86b0832f69c739a7b", | |
| "linux_aarch64_bytes": 439096, | |
| "linux_aarch64_status": "built_cross_compiled" | |
| } | |
| }, | |
| "supporting_files": [ | |
| { | |
| "path": "kokoro_litert_manifest.json", | |
| "sha256": "d2449b7f4da700c12173784b1a715e53b9c1076a406d5821d807e15d6e9af4b3", | |
| "bytes": 2658, | |
| "role": "robot-agent runtime manifest" | |
| }, | |
| { | |
| "path": "config.json", | |
| "sha256": "5abb01e2403b072bf03d04fde160443e209d7a0dad49a423be15196b9b43c17f", | |
| "bytes": 2351, | |
| "role": "Kokoro vocab/config used by KPipeline token packing" | |
| }, | |
| { | |
| "path": "voices/af_heart.npz", | |
| "sha256": "1e3e7efeb4d30c354eef539d13f35aebc59e599a65257fb290a1b80755500c29", | |
| "bytes": 522502, | |
| "role": "runtime voice style pack" | |
| } | |
| ], | |
| "reports": [ | |
| { | |
| "path": "reports/kokoro_bucketed_frontend_litert_parity_report.json", | |
| "sha256": "5aa69b92e832dc4603774234066070ffed00918cde1a708a5d4c07b11a9bda8b", | |
| "bytes": 190141 | |
| }, | |
| { | |
| "path": "reports/kokoro_decoder_source_stft_merged_probe.json", | |
| "sha256": "6c9f76c2bc7be2bfa688390cd870ac85902ce9adbead776d89086b04406b28ee", | |
| "bytes": 5865 | |
| } | |
| ], | |
| "acceptance": { | |
| "bucketed_frontend_passed": true, | |
| "max_observed_frontend_float_abs_error": 0.000812530517578125, | |
| "pred_dur_exact": true, | |
| "alignment_exact": true, | |
| "valid_frames_exact": true | |
| }, | |
| "runtime_contract": { | |
| "compile_or_export_in_request_path": false, | |
| "warm_interpreters_at_boot": true, | |
| "fallback_when_token_count_exceeds_buckets": "deterministic_chunking_then_repack" | |
| } | |
| } | |