Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lipsync real3dportrait worker #225

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

pschroedl
Copy link
Collaborator

This pull request introduces an implementation of the Text to Speech pipeline within the AI worker.

This implements the real3dportrait repo as a pipeline, in addition to the basic functionality of the Parler Text-to-Speech model (https://huggingface.co/parler-tts/parler-tts-large-v1)

This PR follows the pattern of adding pipelines dependencies with minimal dependency changes to the ai-runner requirements.txt by using an additional dockerfile definition. Example usage for local development and testing:

cd ai-worker/runner
docker build -t livepeer/ai-runner:base .
docker build -f docker/Dockerfile.lipsync -t livepeer/ai-runner:lipsync .

docker run --name lipsync-worker -e PIPELINE=lipsync-e MODEL_ID=parler-tts/parler-tts-large-v1 -e HUGGINGFACE_TOKEN={token} --gpus all -p 8000:8000 -v ~/.lpData/models:/models livepeer/ai-runner:lipsync

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant