feat(benchmark): fetch AMI corpus from HuggingFace mirror, Edinburgh as fallback#767
Conversation
…as fallback The upstream groups.inf.ed.ac.uk server is intermittently down (hard-down during this change's testing) and single failures previously poisoned CI benchmark results (#752). AMI annotations v1.6.2 and the official 16-meeting SDM test split are now mirrored (CC BY 4.0, with attribution) at https://huggingface.co/datasets/FluidInference/ami-corpus-mirror. DatasetDownloader now tries the mirror first for both the annotations zip and per-meeting audio; Edinburgh URLs remain as fallback. Meetings or variants absent from the mirror (e.g. IHM) 404 on the mirror and fall through to upstream. Verified end-to-end with Edinburgh unreachable: --auto-download fetched annotations from the mirror and the ES2004a benchmark reproduced the healthy baseline (DER 15.1%, JER 24.8%).
PocketTTS Smoke Test ✅
Runtime: 0m54s Note: PocketTTS uses CoreML MLState (macOS 15) KV cache + Mimi streaming state. CI VM lacks physical GPU — audio quality and performance may differ from Apple Silicon. |
ASR Benchmark Results ✅Status: All benchmarks passed Parakeet v3 (multilingual)
Parakeet v2 (English-optimized)
Streaming (v3)
Streaming (v2)
Streaming tests use 5 files with 0.5s chunks to simulate real-time audio streaming 25 files per dataset • Test runtime: 11m14s • 07/06/2026, 12:12 AM EST RTFx = Real-Time Factor (higher is better) • Calculated as: Total audio duration ÷ Total processing time Expected RTFx Performance on Physical M1 Hardware:• M1 Mac: ~28x (clean), ~25x (other) Testing methodology follows HuggingFace Open ASR Leaderboard |
Parakeet EOU Benchmark Results ✅Status: Benchmark passed Performance Metrics
Streaming Metrics
Test runtime: 1m48s • 07/06/2026, 12:13 AM EST RTFx = Real-Time Factor (higher is better) • Processing includes: Model inference, audio preprocessing, state management, and file I/O |
Supertonic3 Smoke Test ✅
Runtime: 0m23s Note: CI VMs lack a physical Neural Engine; the ANE-bucketed VectorEstimator falls back to CPU here. This validates download + variant resolution + synthesis, not ANE residency/perf. |
Sortformer High-Latency Benchmark ResultsES2004a Performance (30.4s latency config)
Sortformer High-Latency • ES2004a • Runtime: 2m 56s • 2026-07-06T04:18:01.252Z |
VAD Benchmark ResultsPerformance Comparison
Dataset Details
✅: Average F1-Score above 70% |
Speaker Diarization Benchmark ResultsSpeaker Diarization PerformanceEvaluating "who spoke when" detection accuracy
Diarization Pipeline Timing BreakdownTime spent in each stage of speaker diarization
Speaker Diarization Research ComparisonResearch baselines typically achieve 18-30% DER on standard datasets
Note: RTFx shown above is from GitHub Actions runner. On Apple Silicon with ANE:
🎯 Speaker Diarization Test • AMI Corpus ES2004a • 1049.0s meeting audio • 33.1s diarization time • Test runtime: 2m 19s • 07/06/2026, 12:20 AM EST |
Offline VBx Pipeline ResultsSpeaker Diarization Performance (VBx Batch Mode)Optimal clustering with Hungarian algorithm for maximum accuracy
Offline VBx Pipeline Timing BreakdownTime spent in each stage of batch diarization
Speaker Diarization Research ComparisonOffline VBx achieves competitive accuracy with batch processing
Pipeline Details:
🎯 Offline VBx Test • AMI Corpus ES2004a • 1049.0s meeting audio • 143.7s processing • Test runtime: 2m 23s • 07/06/2026, 12:23 AM EST |
Follow-up to #754 / #752.
Problem
The AMI annotations and audio are downloaded from
groups.inf.ed.ac.ukon every cache-miss CI run. That server is intermittently unavailable — it was hard-down (connection refused) while this change was developed and tested — and a single transient failure previously poisoned a CI benchmark run with placeholder ground truth (#752). #754 made failures loud and cached the annotations in CI; this PR removes the single-point dependency entirely.Changes
FluidInference/ami-corpus-mirror(CC BY 4.0, redistributed with attribution):annotations/ami_public_manual_1.6.2.zip— AMI public manual annotations v1.6.2sdm/{meeting}.Mix-Headset.wav— the official 16-meeting AMI-SDM evaluation splitDatasetDownloadernow tries the mirror first for both the annotations zip and per-meeting audio; the Edinburgh URLs remain as fallback. Meetings/variants absent from the mirror (e.g. IHM) 404 there and fall through to upstream.Verification
Ran with the Edinburgh server unreachable (verified
connection refusedimmediately before and after the test):diarization-benchmark --auto-download --single-file ES2004a --threshold 0.7fetched the annotations from the mirror (687 segment files extracted) and reproduced the healthy baseline: DER 15.1% / JER 24.8%, exit 0swift format lintclean, release build clean🤖 Generated with Claude Code