/dsinfer

Low level library for DiffSinger onnx model inference.

Primary LanguageC++Apache License 2.0Apache-2.0

DiffSinger Inference

Low level library for DiffSinger onnx model inference.

Requirements

Functionalities

  • Vocoder Inference
  • Acoustic Inference
  • Duration Inference (Encoder/Decoder)
  • Pitch Inference
  • Variance Inference

Setup Environment

VCPKG Packages

Windows

git clone https://github.com/microsoft/vcpkg.git
cd vcpkg
bootstrap-vcpkg.bat

vcpkg install --x-manifest-root=../scripts/vcpkg-manifest --x-install-root=./installed --triplet=x64-windows

Unix

git clone https://github.com/microsoft/vcpkg.git
cd vcpkg
./bootstrap-vcpkg.sh

./vcpkg install \
    --x-manifest-root=../scripts/vcpkg-manifest \
    --x-install-root=./installed \
    --triplet=<triplet>

# triplet:
#   Mac:   `x64-osx` or `arm64-osx`
#   Linux: `x64-linux` or `arm64-linux`

OnnxRuntime

cd libs
cmake [-Dep=gpu] -P ../scripts/setup-onnxruntime.cmake