Skip to content

Commit

Permalink
add kokoro api container to titan
Browse files Browse the repository at this point in the history
  • Loading branch information
jpetrucciani committed Jan 14, 2025
1 parent f3f5ed7 commit 8c42672
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion hosts/titan/configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -156,10 +156,20 @@ in
nix-ld.enable = true;
};

# nvidia setup?
virtualisation = {
docker.enable = true;
podman.enable = true;
oci-containers.containers = {
kokoro = {
image = "ghcr.io/remsky/kokoro-fastapi-gpu:v0.1.0";
ports = [ "8880:8880" ];
volumes = [ "/var/lib/kokoro/voices:/app/api/src/voices" ];
devices = [ "nvidia.com/gpu=0" ];
environment = {
PYTHONPATH = "/app:/app/models";
};
};
};
};
hardware = {
nvidia = {
Expand Down

0 comments on commit 8c42672

Please sign in to comment.