Skip to content

Creates a docker image that runs the piper http service

Notifications You must be signed in to change notification settings

notV3NOM/piper-http

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

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

About

Creates a docker image that runs the piper http service

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 100.0%