Update diarizer timeline sync and LS-EEND finalization#421
Conversation
Sortformer High-Latency Benchmark ResultsES2004a Performance (30.4s latency config)
Sortformer High-Latency • ES2004a • Runtime: 5m 23s • 2026-03-25T22:43:45.379Z |
Parakeet EOU Benchmark Results ✅Status: Benchmark passed Performance Metrics
Streaming Metrics
Test runtime: 0m36s • 03/25/2026, 06:36 PM EST RTFx = Real-Time Factor (higher is better) • Processing includes: Model inference, audio preprocessing, state management, and file I/O |
PocketTTS Smoke Test ✅
Runtime: 0m36s Note: PocketTTS uses CoreML MLState (macOS 15) KV cache + Mimi streaming state. CI VM lacks physical GPU — audio quality may differ from Apple Silicon. |
VAD Benchmark ResultsPerformance Comparison
Dataset Details
✅: Average F1-Score above 70% |
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 • 213.8s processing • Test runtime: 3m 44s • 03/25/2026, 06:50 PM EST |
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: 7m31s • 03/25/2026, 06:48 PM 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 |
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 • 42.1s diarization time • Test runtime: 4m 42s • 03/25/2026, 06:37 PM EST |
Qwen3-ASR int8 Smoke Test ✅
Runtime: 4m23s Note: CI VM lacks physical GPU — CoreML MLState (macOS 15) KV cache produces degraded results on virtualized runners. On Apple Silicon: ~1.3% WER / 2.5x RTFx. |
|
Why is it stuck |
Sources/FluidAudio/Diarizer/Sortformer/SortformerDiarizerPipeline.swift
Outdated
Show resolved
Hide resolved
Sources/FluidAudio/Diarizer/Sortformer/SortformerDiarizerPipeline.swift
Outdated
Show resolved
Hide resolved
Tests/FluidAudioTests/Diarizer/Sortformer/SortformerStreamingIntegrationTests.swift
Show resolved
Hide resolved
445c82b to
59a63e2
Compare
Tests/FluidAudioTests/Diarizer/Sortformer/SortformerStreamingIntegrationTests.swift
Show resolved
Hide resolved
Updated comment to clarify the flushing of frames.
Updated the description of `finalizeSession()` to clarify its functionality.
Summary
endingOnTime, timeline behavior, and finalization detailsVerification