Beamforming Speechbrain Arm64 install

I have been hunting for beamforming for a while and knew all was included in speechbrain but from previous tries with torchaudio failed with forced vendor libs of intel_mkl

A very nice chap has provide all and instructions for RaspiOSLite64

So yeah for the first time just managed to install Speechbrain on a Pi3

I will let you know how I go on with the the beamformer and publish load.

It installs the arm-compute lib and a whole rake of others but just follow the install then pip install speechbrain and I can confirm the install works but here goes trying some beamformers


(venv) pi@raspberrypi:~/speech-brain/speechbrain-0.5.7 $ python3
/home/pi/speech-brain/venv/lib/python3.7/site-packages/torch/ UserWarning: stft with return_complex=False is deprecated. In a future pytorch release, stft will return complex tensors for all inputs, and return_complex=False will raise an error.
Note: you can still call torch.view_as_real on the complex output to recover the old return format. (Triggered internally at  ../aten/src/ATen/native/SpectralOps.cpp:483.)
  normalized, onesided, return_complex)
Traceback (most recent call last):
  File "", line 38, in <module>
    Xs = stft(xs)
  File "/home/pi/speech-brain/venv/lib/python3.7/site-packages/torch/nn/modules/", line 880, in _call_impl
    result = self.forward(*input, **kwargs)
  File "/home/pi/speech-brain/speechbrain-0.5.7/speechbrain/processing/", line 171, in forward
  File "/home/pi/speech-brain/venv/lib/python3.7/site-packages/torch/", line 585, in stft
    normalized, onesided, return_complex)
RuntimeError: fft: ATen not compiled with MKL support

Its not speechbrain and unsure why pytorch persists to force vendor specific libs for certain functions and still haven’t found a complete 100% Arm64 install.