-
Notifications
You must be signed in to change notification settings - Fork 790
Performance Metrics
Dimitrii Voronin edited this page Oct 26, 2022
·
9 revisions
All speed test were run on AMD Ryzen Threadripper 3960X using only 1 thread and batch size equal to 1, 16000 sampling rate:
torch.set_num_threads(1) # JIT
session.intra_op_num_threads = 1 # ONNX
session.inter_op_num_threads = 1 # ONNX
RTS - seconds of audio processed per second, real time speed, or inverse RTF
| Audio chunk duration, ms (samples) | Model time, ns | RTS | Model type |
|---|---|---|---|
| 30 (512) | 830 | 36 | JIT |
| 30 (512) | 190 | 158 | ONNX |
This represents the most common use case, but with batch size > 1 metrics can be even more impressive.