-
Is it possible to use Silero without the pytorch dependency and only onnx? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Yes it is, but you will need to go through the code and delete all the PyTorch references and just load the onnx model from local file. The onnx version can work standalone, but you will also need to replace torchaudio with your audio loading library.
As far as I know, there CPU only versions of PyTorch listed on the installation page. Also if you can use c++, you can use libtorch. |
Beta Was this translation helpful? Give feedback.
Yes it is, but you will need to go through the code and delete all the PyTorch references and just load the onnx model from local file. The onnx version can work standalone, but you will also need to replace torchaudio with your audio loading library.
As far as I know, there CPU only versions of PyTorch listed on the installation page. Also if you can use c++, you can use libtorch.