/ Модель

Характеристики

Параметры
905 млн
Лицензия
CC BY 4.0
Архитектура
whisper · dense
Базовая модель
whisper-large-v3-turbo
Библиотека
coreml
Опубликована
27 окт 2025

thewhisper-large-v3-turbo

Распознавание речиАудио → текст8 профессий

TheWhisper-Large-V3-Turbo — квантованная версия openai/whisper-large-v3-turbo, разработанная TheStage AI на основе исходной модели OpenAI.

2 316скачиваний за 30 дней56лайковвеса обновлены19 ноя 2026

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Публичные оценки17

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

  • MCV

    WER · ниже — лучше

    Результат

    3,14 %

    automatic-speech-recognition 3,17 %automatic-speech-recognition 3,17 %automatic-speech-recognition 3,84 %
    Open ASR

    Публичная таблицаревизия не подтверждена

  • FLEURS

    WER · ниже — лучше

    Результат

    2,58 %

    automatic-speech-recognition 1,85 %automatic-speech-recognition 2,91 %automatic-speech-recognition 3,22 %
    Open ASR

    Публичная таблицаревизия не подтверждена

  • URGENT2024-Clean

    WER · ниже — лучше

    Результат

    5,35 %

    Open ASR

    Публичная таблицаревизия не подтверждена

  • Voice Arena Monsoon

    WER · ниже — лучше

    Результат

    3,72 %

    Open ASR

    Публичная таблицаревизия не подтверждена

  • hf-audio/open-asr-leaderboard

    score · ниже — лучше

    Результат

    4,97

    voxpopuli_cleaned_aa_wer 1,64spgispeech_wer 1,66mean_wer 4,97
    Hugging Face Leaderboards

    Публичная таблицаревизия не подтверждена

  • coraal_avg

    WER · ниже — лучше

    Результат

    17,95 %

    Open ASR

    Публичная таблицаревизия не подтверждена

  • earnings22

    WER · ниже — лучше

    Результат

    11,86 %

    Open ASR

    Публичная таблицаревизия не подтверждена

  • SPGISpeech

    WER · ниже — лучше

    Результат

    1,62 %

    Open ASR

    Публичная таблицаревизия не подтверждена

  • LS Other

    WER · ниже — лучше

    Результат

    3,2 %

    Open ASR

    Публичная таблицаревизия не подтверждена

  • URGENT2024

    WER · ниже — лучше

    Результат

    10,82 %

    Open ASR

    Публичная таблицаревизия не подтверждена

  • earnings21

    WER · ниже — лучше

    Результат

    9,72 %

    Open ASR

    Публичная таблицаревизия не подтверждена

  • MLS

    WER · ниже — лучше

    Результат

    4,16 %

    automatic-speech-recognition 2,84 %automatic-speech-recognition 3,23 %automatic-speech-recognition 4,48 %
    Open ASR

    Публичная таблицаревизия не подтверждена

  • LS Clean

    WER · ниже — лучше

    Результат

    1,41 %

    Open ASR

    Публичная таблицаревизия не подтверждена

  • Gigaspeech-Cleaned

    WER · ниже — лучше

    Результат

    7,84 %

    Open ASR

    Публичная таблицаревизия не подтверждена

  • AMI-Cleaned

    WER · ниже — лучше

    Результат

    7,32 %

    Open ASR

    Публичная таблицаревизия не подтверждена

  • Voxpopuli-AA-Cleaned

    WER · ниже — лучше

    Результат

    4,02 %

    Open ASR

    Публичная таблицаревизия не подтверждена

  • Earnings22-Cleaned-AA-chunked

    WER · ниже — лучше

    Результат

    7,18 %

    Open ASR

    Публичная таблицаревизия не подтверждена

Что умеет модель

Описание составлено по карточке модели и метаданным Hugging Face

Она предназначена для автоматического распознавания речи и оптимизирована для работы в реальном времени с низкой задержкой и энергопотреблением на NVIDIA GPU, а также на устройствах Apple Silicon через CoreML и Neural Engine.

Модель поддерживает многоязычное распознавание, включая английский, арабский, болгарский, бенгальский, чешский, датский, немецкий, греческий, испанский, эстонский, финский, французский, хинди, венгерский, индонезийский, итальянский, литовский, латышский, нидерландский, польский, португальский, румынский, русский, словацкий, словенский, шведский, украинский и вьетнамский языки. Доступны пакетная транскрибация и потоковая обработка аудио; для поставляемых turbo-движков используется окно 10 секунд. Модель рассчитана на входной сигнал 16 кГц, моно, и может работать полностью на устройстве без сервера в контуре инференса.

К сильным сторонам относятся поддержка NVIDIA GPU и Apple Silicon, режимы NPU, GPU и CPU, потоковая расшифровка и ориентация на on-device-сценарии. README не содержит точных сведений о числе параметров, архитектурных изменениях относительно исходной Whisper Large V3 Turbo или количественных результатах бенчмарков именно этой модели. Для Apple SDK требуется физическое устройство Apple Silicon, macOS 15 или iOS 18 и онлайн-проверка токена при инициализации; симулятор не поддерживается. Лицензия — CC BY 4.0.

Для каких профессий подходит8

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Также подходит для

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

Elastic model: thewhisper-large-v3-turbo

The project GitHub: TheWhisper · Apple SDK · Android SDK

Original model: openai/whisper-large-v3-turbo (OpenAI)

TheWhisper-Large-V3-Turbo is a fine-tuned, high-performance variant of OpenAI’s Whisper Large V3 model — optimized by TheStage AI for real-time, low-latency, and low-power speech-to-text (ASR) inference across multiple platforms, including NVIDIA GPUs, Apple Silicon (CoreML / Neural Engine), and Android (Qualcomm Snapdragon).

Overview


ElasticModels are the models produced by TheStage AI ANNA: Automated Neural Networks Accelerator. ANNA allows you to control model size, latency and quality with a simple slider movement, routing different compression algorithms to different layers. For each model, we have produced a series of optimized models:

  • XL: Mathematically equivalent neural network, optimized with our DNN compiler.
  • L: Near lossless model, with less than 1% degradation obtained on corresponding benchmarks.
  • M: Faster model, with accuracy degradation less than 1.5%.
  • S: The fastest model, with accuracy degradation less than 2%.

Models can be accessed via TheStage AI Python SDK: ElasticModels, or deployed as Docker containers with REST API endpoints (see Deploy section).

System Requirements


PropertyValue
GPUL40s, RTX 4090, RTX 5090, H100
Python Version3.10-3.12
CPUIntel/AMD x86_64
CUDA Version12.8+

TheStage AI Access Token Setup


Install TheStage AI CLI and setup API token:

pip install thestage
thestage config set --access-token <YOUR_ACCESS_TOKEN>

ElasticModels


Elastic Models provides the same interface as HuggingFace Transformers. Here is an example of how to use the thewhisper-large-v3-turbo model.

Installation

pip install 'thestage-elastic-models[nvidia]' \
    --extra-index-url https://thestage.jfrog.io/artifactory/api/pypi/pypi-thestage-ai-production/simple
pip install datasets==3.6.0 librosa soundfile  # only needed to load audio for the example below

Usage

import torch
from elastic_models.transformers import AutoModelForSpeechSeq2Seq
from transformers import AutoProcessor

model_name = "TheStageAI/thewhisper-large-v3-turbo"
hf_token = ''
device = torch.device("cuda")

processor = AutoProcessor.from_pretrained(
    model_name, token=hf_token
)
model = AutoModelForSpeechSeq2Seq.from_pretrained(
    model_name,
    token=hf_token,
    torch_dtype=torch.float16,
    mode='S'
).to(device)

# Load audio file
from datasets import load_dataset
dataset = load_dataset(
    "hf-internal-testing/librispeech_asr_dummy",
    "clean", split="validation"
)
audio_sample = dataset[0]["audio"]

# Process audio
input_features = processor(
    audio_sample["array"],
    sampling_rate=audio_sample["sampling_rate"],
    return_tensors="pt"
).input_features.to(device, dtype=torch.float16)

# Generate transcription
with torch.inference_mode():
    predicted_ids = model.generate(input_features)

transcription = processor.batch_decode(
    predicted_ids, skip_special_tokens=True
)[0]

print(f"Transcription: {transcription}")

TheWhisper SpeechKit


TheWhisper can also be used via thestage_speechkit for NVIDIA and Apple Silicon inference, including real-time streaming.

Installation

# Install ffmpeg (required for audio processing)
# Ubuntu/Debian: apt install ffmpeg
# macOS: brew install ffmpeg
git clone https://github.com/TheStageAI/TheWhisper.git
cd TheWhisper
pip install .[nvidia]   # or pip install .[apple] for Apple Silicon

For TheStage AI optimized engines (NVIDIA only):

pip install thestage-elastic-models[nvidia] --extra-index-url https://thestage.jfrog.io/artifactory/api/pypi/pypi-thestage-ai-production/simple

NVIDIA Usage

from thestage_speechkit.nvidia import ASRPipeline

model = ASRPipeline(
    model='TheStageAI/thewhisper-large-v3-turbo',
    model_size='S',
    chunk_length_s=15,
    batch_size=32,
    device='cuda'
)

result = model(
    "path_to_your_audio.wav",
    chunk_length_s=15,
    generate_kwargs={'do_sample': False, 'num_beams': 1, 'use_cache': True}
)

print(result["text"])

Apple Silicon Usage

from thestage_speechkit.apple import ASRPipeline

model = ASRPipeline(
    model='TheStageAI/thewhisper-large-v3-turbo',
    model_size='S',
    chunk_length_s=10
)

result = model(
    "path_to_your_audio.wav",
    chunk_length_s=10,
    generate_kwargs={'do_sample': False, 'num_beams': 1, 'use_cache': True}
)

print(result["text"])

Streaming

from thestage_speechkit.streaming import StreamingPipeline, MicStream, StdoutStream

streaming_pipe = StreamingPipeline(
    model='TheStageAI/thewhisper-large-v3-turbo',
    model_size='S',
    chunk_length_s=15,
    platform='apple',
    language='en'
)

mic_stream = MicStream(step_size_s=0.5)
output_stream = StdoutStream()

while True:
    chunk = mic_stream.next_chunk()
    if chunk is not None:
        approved_text, assumption = streaming_pipe(chunk)
        output_stream.write(approved_text, assumption)
    else:
        break

Quality Benchmarks


We have evaluated the models using the Hugging Face Open ASR Leaderboard methodology. For each model size (S, M, L, XL), we report Word Error Rate (WER) on standard English and multilingual speech recognition benchmarks.

Quality Benchmarking

Open ASR Leaderboard (English, WER %)

DatasetSMLXLOriginal
LibriSpeech Clean1.831.81.741.731.71
LibriSpeech Other3.773.763.753.723.63
SPGISpeech1.921.931.921.881.88
TED-LIUM3.373.33.293.253.33
VoxPopuli7.376.366.346.716.28
GigaSpeech9.569.549.539.489.51
Earnings-2211.5711.1511.0911.2110.89
AMI9.69.359.389.149.2
Mean WER6.125.95.885.895.8

Multilingual (WER %)

DatasetSMLXLOriginal
CoVoST2 DE4.474.444.384.324.34
CoVoST2 ES3.413.43.353.333.3
CoVoST2 FR6.096.096.015.956.01
CoVoST2 IT3.813.663.643.743.71
CoVoST2 PT2.082.022.01.972.02
FLEURS DE4.624.664.664.54.36
FLEURS ES3.253.163.153.042.98
FLEURS FR5.185.155.275.254.99
FLEURS IT3.213.263.433.452.82
FLEURS PT4.814.784.74.74.55
MLS French4.674.544.484.313.77
MLS German4.284.164.194.123.77
MLS Italian6.897.017.117.366.12
MLS Portuguese5.695.535.346.34.56
MLS Spanish2.932.842.712.852.51
Mean WER4.364.314.294.353.99

Datasets


English (Open ASR Leaderboard)

  • LibriSpeech Clean: Read English speech from audiobooks, recorded in clean conditions. Tests baseline transcription accuracy on clear, well-articulated speech.
  • LibriSpeech Other: Read English speech from audiobooks with more challenging acoustic conditions, including noisier recordings and less common speakers.
  • SPGISpeech: Financial earnings calls and presentations, featuring domain-specific terminology, spontaneous speech, and diverse speaker accents.
  • TEDLium: TED conference talks covering a wide range of topics, with diverse speakers, presentation styles, and varying audio quality.
  • VoxPopuli: European Parliament event recordings in multiple languages, featuring political discourse, formal speech, and multilingual speakers.
  • GigaSpeech: Large-scale multi-domain English speech corpus from audiobooks, podcasts, and YouTube, representing diverse acoustic conditions and speaking styles.
  • Earnings22: Corporate earnings calls with financial terminology, multiple speakers, and telephone-quality audio.
  • AMI: Meeting recordings with overlapping speech, distant microphones, and natural conversational dynamics.

Multilingual

  • CoVoST2: Common Voice Speech-To-Text 2. Built on Mozilla's Common Voice recordings, providing speech-to-text evaluation across 21 languages with diverse speakers, accents, and recording conditions.
  • FLEURS: Few-shot Learning Evaluation of Universal Representations of Speech. Covers 102 languages with read speech from Wikipedia passages.
  • MLS: Multilingual LibriSpeech. Derived from read audiobooks in 8 languages, providing large-scale multilingual ASR evaluation data.

Metrics


  • WER (Word Error Rate): Measures the proportion of word-level errors (substitutions, insertions, deletions) in the transcription compared to the reference text. Lower values indicate better accuracy.

Latency Benchmarks


We measured RTFx (Real-Time Factor) for each model size on various GPUs. RTFx indicates how many times faster than real-time the model transcribes audio. Higher RTFx is better.

Latency Benchmarking

RTFx, batch size 1

GPU/Model SizeSMLXLOriginal
H100304.4304.1295.7285.2109.2
L40s247.5239.6239.6221.281.8
GeForce RTX 5090280280280262114
GeForce RTX 4090250.3250.3250.3250.3157.6

RTFx, batched

GPU/Model SizeSMLXLOriginal
RTX 4090 (bs=24)895880871790702
L40s (bs=32)989989955926539
RTX 5090 (bs=32)1319130212051205484
H100 (bs=64)2033202220192019967

Benchmarking Methodology


The benchmarking was performed on a single GPU using a 10-minute audio file resampled to 16kHz mono. RTFx (Real-Time Factor) is calculated as audio_duration / transcription_time — higher values mean faster-than-real-time transcription.

Algorithm summary:

  1. Load the thewhisper-large-v3-turbo model with the specified size (S, M, L, XL, original).
  2. Load a 10-minute audio file and resample to 16kHz mono.
  3. Run a warm-up pass to initialize GPU caches.
  4. Synchronize the GPU, record the start time.
  5. Run the transcription pipeline with the specified batch size and chunk length.
  6. Synchronize the GPU, record the end time.
  7. Calculate RTFx as audio_duration / time_taken.

Apple on-device latency


Measured with a release build on Apple M2 Max using the Neural Engine (NPU / ANE), macOS 26.2, transcribing an approximately 2.6-second utterance.

MetricValue
RTFx (audio_seconds / wall_seconds)16.7
Decode tokens / second233
Process memoryApproximately 96 MB

The sample is shorter than the model's 10-second inference window. Performance varies with device, audio duration, and runtime configuration. These results use a different workload from the NVIDIA benchmarks above; measure release builds on your target device for deployment planning.

Serving with Docker Image


For serving with Nvidia GPUs, we provide ready-to-go Docker containers with OpenAI-compatible API endpoints. Using our containers you can set up an inference endpoint on any desired cloud/serverless providers as well as on-premise servers. You can also use this container to run inference through TheStage AI platform.

Prebuilt image from ECR

Pull docker image and start inference container. The container serves one model on one GPU; on a multi-GPU host --gpus all is fine, the model is placed on a single device:

docker pull public.ecr.aws/i3f7g5s7/thestage/elastic-models:0.2.4.post0-stt-streaming-v2-20261008-19026a9
docker run --rm -it \
  --name triton-stt \
  --gpus all \
  -p 127.0.0.1:<PORT>:<PORT> \
  -v "$HOME/.cache:/opt/project/.cache/" \
  -e MODEL_TYPE=<MODEL_TYPE> \
  -e PORT=<PORT> \
  -e AUTH_TOKEN=<AUTH_TOKEN> \
  -e MODEL_REPO=TheStageAI/thewhisper-large-v3-turbo \
  -e MODEL_SIZE=<MODEL_SIZE> \
  -e MODEL_BATCH=<MODEL_BATCH> \
  -e PIPELINE_MAX_BATCH_SIZE=<PIPELINE_MAX_BATCH_SIZE> \
  -e CHUNK_LENGTH=<CHUNK_LENGTH> \
  -e PREPROCESSOR_WORKERS=<PREPROCESSOR_WORKERS> \
  -e MODEL_INSTANCES=<MODEL_INSTANCES> \
  -e PREPROCESSOR_QUEUE_DELAY=<PREPROCESSOR_QUEUE_DELAY> \
  -e MODEL_QUEUE_DELAY=<MODEL_QUEUE_DELAY> \
  -e ENSEMBLE_QUEUE_DELAY=<ENSEMBLE_QUEUE_DELAY> \
  -e HUGGINGFACE_ACCESS_TOKEN=<HUGGINGFACE_ACCESS_TOKEN> \
  -e THESTAGE_AUTH_TOKEN=<THESTAGE_ACCESS_TOKEN> \
  public.ecr.aws/i3f7g5s7/thestage/elastic-models:0.2.4.post0-stt-streaming-v2-20261008-19026a9
ParameterDescription
<MODEL_TYPE>stt_streaming for Whisper models. The image default is stt_streaming_v2, which serves Parakeet only.
<PORT>Port the HTTP proxy listens on inside the container (default: 80).
<AUTH_TOKEN>User-defined secret key to authenticate incoming requests.
<MODEL_SIZE>Available: S, M, L, XL.
<MODEL_BATCH>Maximum batch size for the model.
<PIPELINE_MAX_BATCH_SIZE>Maximum batch size for the ASR pipeline processing.
<CHUNK_LENGTH>Audio chunk length in seconds. 30 for any model; 10, 15, 20 only for TheStageAI/thewhisper-large-v3(-turbo) with a non-eager size.
<PREPROCESSOR_WORKERS>Number of preprocessor worker processes (e.g., 8).
<MODEL_INSTANCES>Number of Triton model instances (e.g., 1).
<PREPROCESSOR_QUEUE_DELAY>Preprocessor dynamic-batching queue delay in microseconds (e.g., 10000).
<MODEL_QUEUE_DELAY>Model dynamic-batching queue delay in microseconds (e.g., 10000).
<ENSEMBLE_QUEUE_DELAY>Ensemble dynamic-batching queue delay in microseconds (e.g., 10000).
<HUGGINGFACE_ACCESS_TOKEN>Hugging Face access token.
<THESTAGE_ACCESS_TOKEN>TheStage token generated on the platform (Profile -> Access tokens).

Invocation


CLI

elastic-models-client client stt \
    --host 127.0.0.1 --port <PORT> --metadata-port <PORT> \
    --authorization <AUTH_TOKEN> \
    --sample sample.wav --lang-id en

cURL

curl -X POST http://127.0.0.1:<PORT>/v1/audio/transcriptions \
    -H "Authorization: Bearer <AUTH_TOKEN>" \
    -F "file=@sample.wav" \
    -F "model=thewhisper-large-v3-turbo-<MODEL_SIZE_LOWER>-cl<CHUNK_LENGTH>-bs<MODEL_BATCH>" \
    -F "language=en"

Endpoint Parameters


Method

POST /v1/audio/transcriptions

Header Parameters

Authorization: string

Bearer token for authentication; it must match the container's AUTH_TOKEN.

Input Body

All fields are sent as multipart/form-data.

file : binary

The audio file to transcribe.

model : string

Specifies the model to use for transcription. Format: thewhisper-large-v3-turbo-<size>-cl<chunk_length>-bs<batch_size>, where <size> is MODEL_SIZE lowercased (s, m, l, xl), <chunk_length> is CHUNK_LENGTH, and <batch_size> is MODEL_BATCH. Example: thewhisper-large-v3-turbo-s-cl15-bs1.

language : string

Language of the audio (e.g., "en", "es", "fr").

On-device deployment


Deploy TheWhisper in iOS / macOS apps with the Apple SDK, or in Android apps with the Android SDK. Both SDKs support native and Flutter integrations, download and cache this model's compiled engines, and run inference on-device. Use these SDKs for shipping apps; TheWhisper SpeechKit's Apple backend is the Python path for notebooks and macOS scripts.

DeploymentIntegration
iOS / macOS native appApple SDK / Swift
Android native appAndroid SDK / Kotlin
Flutter app (iOS / Android)Shared Flutter guide
NVIDIA serverDocker / OpenAI-compatible API

Access token and audio input

Create an API token at app.thestage.ai and initialize the SDK before loading a model. Initial engine downloads require network access. Token validation and offline behavior depend on the SDK release and license; follow the pinned release's licensing documentation.

All transcription examples below expect 16 kHz mono audio with normalized samples in [-1.0, 1.0]: [Float] in Swift, FloatArray in Kotlin, or Float32List in Flutter. The SDK does not resample input automatically. Long recordings are windowed by the pipeline using the bundle's configuration. Current turbo Apple engines use a 10-second window; read the window size from the bundle rather than hard-coding it in your app.

TheStage Apple SDK


On-device Apple SDK

On-device transcription for iOS and macOS. The SDK downloads CoreML engines from TheStageAI/thewhisper-large-v3-turbo, auto-selects Neural Engine / GPU / CPU, and exposes batch infer plus push-based live streaming. No server in the hot path.

Docs: TheStage Apple SDK · Whisper · Repo: TheStage Apple SDK

Requirements and installation (SwiftPM)

Use a physical Apple Silicon Mac or iPhone / iPad, with macOS 15+ or iOS 18+, Xcode 16+, and Swift 6+. Flutter requires version 3.24+ and is supported on iOS. The simulator is not supported.

SwiftPM

In Xcode: File → Add Package Dependencies…, paste https://github.com/TheStageAI/AppleSDK.git, and add the TheStageSDK product. Or in Package.swift:

.package(
    url: "https://github.com/TheStageAI/AppleSDK.git",
    exact: Version(1, 1, 0)
)

Swift — batch transcription

import TheStageSDK

let ai = TheStageAI.shared
try await ai.initialize(apiToken: "th_…")

let stt = try await WhisperPipeline(
    engines_path: "TheStageAI/thewhisper-large-v3-turbo"
)

// audio: 16 kHz mono Float, samples in [-1.0, 1.0]
let result = stt.infer(audio: audio_samples, language: "en")
print(result.text)

Long audio is split into the bundle's window size (10 s for the shipping turbo engines). Optional constructor knobs: device ("npu" / "gpu" / "cpu"), overlap_seconds, use_internal_vad.

Swift — live streaming

let streamer = stt.open_streamer(language: "en")

let captions = Task {
    for await text in streamer.partials {
        print("partial: \(text)")   // committed-so-far, grows monotonically
    }
}

for await frame in microphone_frames {   // [Float] @ 16 kHz mono
    streamer.send(frame)
    if vad_detected_pause { streamer.flush() }
}

let final_text = await streamer.finish()
await captions.value
print("final: \(final_text)")

partials is for live UI; finish() is the authoritative end-of-turn transcript. Call flush() at VAD pauses to keep latency flat on long turns; cancel() for barge-in.

Swift — prefetch and load progress

After initialization, prefetch the engines before opening a transcription screen:

let engines_dir = try await ai.prefetch_engines(
    repo_id: "TheStageAI/thewhisper-large-v3-turbo"
)
let prefetched_stt = try await WhisperPipeline(engines_path: engines_dir)

Alternatively, load from the repository with progress for the UI:

let stt_with_progress = try await WhisperPipeline(
    engines_path: "TheStageAI/thewhisper-large-v3-turbo",
    on_load_progress: { p in
        print("[\(p.model)] \(p.phase) \(Int(p.fraction * 100))%")
    }
)

Progress covers download, extraction, loading, and readiness. A Whisper streamer is single-use: finish or cancel it before opening another one.

TheStage Android SDK


On-device transcription for Android using the TheStage Android SDK. Engines are downloaded from this model repository and cached on first use. Qualcomm Snapdragon devices use the Hexagon NPU through QNN, with GPU / CPU fallback where supported.

Requirements and installation

Use SDK release v1.0.0. Requirements: Android 9 / API 28 or later, compileSdk 35, JDK 17, and a physical arm64-v8a device. Available compiled engines are specific to the device's SoC; confirm bundle availability for your target device.

Follow the Android SDK installation guide to obtain TheStageCore.aar and onnxruntime-android.aar, and copy them into your app module's libs/. Configure the Qualcomm Maven repository in settings.gradle.kts:

dependencyResolutionManagement {
    repositories {
        google()
        mavenCentral()
        maven { url = uri("https://qpm-download.qualcomm.com/maven/release") }
    }
}

In the app module's build.gradle.kts:

dependencies {
    implementation(files("libs/TheStageCore.aar"))
    implementation(files("libs/onnxruntime-android.aar"))
    implementation("com.qualcomm.qti:qnn-runtime:2.42.0")
    implementation("com.google.code.gson:gson:2.11.0")
    implementation("com.squareup.okhttp3:okhttp:4.12.0")
    implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.9.0")
}

Add the android.permission.INTERNET permission for token validation and engine downloads. Microphone capture also requires android.permission.RECORD_AUDIO and runtime permission approval.

Kotlin — batch transcription

import ai.thestage.qlip.TheStageAI

// Inside a coroutine; context is your Android application context.
TheStageAI.registerContext(context)
TheStageAI.initialize(api_token = "your-api-token")

TheStageAI.start_model(
    model_name = "stt",
    engines_path = "TheStageAI/thewhisper-large-v3-turbo"
)

// audio_samples: FloatArray, 16 kHz mono, samples in [-1.0, 1.0]
val result = TheStageAI.infer(
    model_name = "stt",
    input_json = mapOf("audio" to audio_samples, "language" to "en")
)
println(result[0]["transcription"])
TheStageAI.stop_model(model_name = "stt")

Kotlin — prefetch and load progress

After initialization, download and cache the engines before first use:

val engines_dir = TheStageAI.prefetch_model(
    repo_id = "TheStageAI/thewhisper-large-v3-turbo"
)
TheStageAI.start_model(
    model_name = "stt",
    engines_path = engines_dir,
    on_load_progress = { p ->
        println("${p.phase}: ${(p.fraction * 100).toInt()}%")
    }
)

Live transcription

For live microphone transcription, use the Android SDK's Voice Agent, which provides streaming ASR internally. The direct Whisper pipeline has no standalone streaming-ASR entry point in this release. See the Android SDK documentation for Voice Agent setup, load progress, and prefetching.

Flutter deployment (iOS / Android)


Both plugins expose the same TheStageFlutterSDK batch transcription API. Use Flutter 3.24+ and the native requirements for your target platform listed above.

Plugin installation

Choose the dependency for your target platform in pubspec.yaml.

iOS:

# pubspec.yaml
dependencies:
  thestage_apple_sdk:
    git:
      url: https://github.com/TheStageAI/AppleSDK.git
      path: plugin/thestage_apple_sdk
      ref: 1.1.0

Android:

# pubspec.yaml
dependencies:
  thestage_android_sdk:
    git:
      url: https://github.com/TheStageAI/AndroidSDK.git
      path: plugin/thestage_android_sdk
      ref: v1.0.0

For Android, the Flutter app module must also include the AARs and runtime dependencies described in TheStage Android SDK; the plugin declares the AARs as compileOnly. The Apple Flutter plugin supports iOS.

Shared batch transcription

Use the import for your target platform:

// iOS
import 'package:thestage_apple_sdk/thestage_apple_sdk.dart';
// Android: replace the iOS import with this one.
// import 'package:thestage_android_sdk/thestage_android_sdk.dart';
import 'dart:typed_data';

Run the same code below inside an async function with either plugin. audio_samples is your Float32List containing 16 kHz mono samples in [-1.0, 1.0].

await TheStageFlutterSDK.initialize(api_token: 'your-api-token');
await TheStageFlutterSDK.start_model(
  model_name: 'stt',
  engines_path: 'TheStageAI/thewhisper-large-v3-turbo',
);

// audio_samples: Float32List, 16 kHz mono, samples in [-1.0, 1.0]
final result = await TheStageFlutterSDK.infer(
  model_name: 'stt',
  input_json: {'audio': audio_samples, 'language': 'en'},
);
print(result[0]['transcription']);
await TheStageFlutterSDK.stop_model(model_name: 'stt');

For an app targeting both platforms, select the matching plugin through a platform-specific adapter. See the SDK repositories for integration examples.

Flutter — response fields

Both plugins return the transcript in result[0]['transcription']. Additional metrics differ by platform:

PlatformAdditional response fields
Appletoken_count (int), decode_seconds (double), optional tokens (token IDs when requested)
Androidmel_seconds, encoder_seconds, total_seconds, tokens_per_second (double), generated_tokens (int)

On native Swift, the transcript is ASRResult.text; the corresponding JSON key is transcription. Avoid relying on identical metric names across plugins.

Flutter — load progress and live captions

Subscribe before start_model to show loading progress. Both plugins expose the same event fields:

final progress_subscription = TheStageFlutterSDK.on_progress.listen((event) {
  if (event['model_name'] != 'stt') return;
  final phase = event['phase'] as String?;
  final fraction = event['progress'] as double?;
  print('[stt] $phase ${((fraction ?? 0) * 100).toInt()}%');
});

// Initialize, load, and transcribe as shown above.
// Cancel the subscription when the screen is disposed.
await progress_subscription.cancel();

Phases are downloading, extracting, loading, and ready. For live microphone captions in Flutter, use the SDK's Voice Agent integration on either platform; the Swift Whisper open_streamer API is not exposed directly through Flutter. See the SDK documentation for platform-specific Voice Agent setup.

Acknowledgments


This work builds on Whisper Large V3 Turbo by OpenAI: openai/whisper-large-v3-turbo.

TheWhisper builds on OpenAI Whisper Large V3 Turbo. Optimized and packaged by TheStage AI for ElasticModels / NVIDIA and TheStage Apple SDK.

Links


Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм · coreml

Нельзя запустить

CoreML-модели работают только на устройствах Apple.

Класс архитектуры
WhisperForConditionalGeneration
Ревизия весов
2495b5a

0 моделей