Skip to content

Latest commit

 

History

History
27 lines (21 loc) · 978 Bytes

README.md

File metadata and controls

27 lines (21 loc) · 978 Bytes

piper-http-gpu

Use this to create a docker image that runs the piper http_server on a NVIDIA GPU (a lot faster than CPU)

This is based on my fork of piper which uses fastapi for the server

Docker Hub

https://hub.docker.com/r/notv3nom/piper-http-gpu

This image uses lessac-high voice

docker run -d --gpus all --ipc=host --ulimit memlock=-1 --ulimit stack=67108864 --name piper-http-gpu -p 5000:5000 notv3nom/piper-http-gpu

Steps:

  1. Clone this repository

  2. Create a models folder and add your .onnx and .onnx.json

  3. Update the model name in Dockerfile

  4. Build the image

    docker build --no-cache -t piper-gpu .
  5. Run the image

    docker run -d --gpus all --ipc=host --ulimit memlock=-1 --ulimit stack=67108864 --name piper-gpu -p 5000:5000 piper-gpu