VyralSampler models (MIT)
ONNX exports of three models for VyralSampler, an app that cuts a spoken or sung phrase out of a video as a sample. The app downloads these files and runs them in ONNX Runtime, with no torch. Each file keeps the license of its source: MIT for all files here. The LICENSE file of this repository has the notice of each source.
| File | What it does | Source |
|---|---|---|
aligner_en.onnx |
The English wav2vec2 aligner: the exact edge of each word | torchaudio WAV2VEC2_ASR_BASE_960H, wav2vec 2.0 of fairseq (Baevski et al., 2020), as WhisperX uses it |
vad_pyannote.onnx |
The speech VAD of the speech route | pyannote/segmentation (Bredin et al.), the copy that WhisperX ships |
vocals_mel_band_roformer.onnx |
Vocals only: the vocal stem of a mix | The MelBand Roformer of Kimberley Jensen (KimberleyJSN/melbandroformer), the file that audio-separator downloads |
How the project made the files
tools/onnx_export.py of VyralSampler exports each torch model with the legacy exporter
of torch 2.8 (opset 17). The weights are the weights of the source. Each file holds its
settings in its metadata. These are the labels of the aligner, the window of the VAD, and
the STFT and the chunk length of the separator.
- The aligner takes 16 kHz mono audio and gives the logits of each 20 ms frame.
- The VAD takes windows of 5 s and gives the score of 3 speakers for each frame.
- The separator takes the STFT of a stereo chunk at 44.1 kHz and gives the masked
STFT of the vocals. The STFT and the inverse STFT are outside the graph. The attention
is the
MultiHeadAttentionop of ONNX Runtime (domaincom.microsoft), so the file needs ONNX Runtime with its contrib ops. The app uses ONNX Runtime 1.26.0.
How the project checked the files
The same tool compares the app with the libraries that it replaces (2026-11-21):
- The aligner: each word edge of WhisperX 3.8.6, to the ms, on 657 words.
- The VAD: the speech chunks of WhisperX on 3 of 4 files. In 41 minutes of speech, one of 88 chunk edges moved by one frame (17 ms). torch itself differs as much between the CPU and the GPU.
- The separator: the 16-bit stems of audio-separator 0.47, with 99.7% of the samples equal and the rest 1 in 32767 off.
Licenses of the sources
- wav2vec 2.0 of fairseq: MIT. torchaudio redistributes the weights under the same license.
- pyannote/segmentation: MIT, as its model card states.
- The MelBand Roformer of Kimberley Jensen: MIT, as its model card states.
The French, German, Spanish and Italian aligners have another license (CC BY-NC 4.0),
so they are in a repository of their own: vyralsampler-models-nc.