Spaces:
Sleeping
Sleeping
Download docker-compose.gpu.yml from kodnuke/youtube-bot: direct link, hf CLI and curl.
- Browser
- Download file 952 Bytes
-
https://huggingface.co/spaces/kodnuke/youtube-bot/resolve/main/docker-compose.gpu.yml
- Command line
-
hf download hf://spaces/kodnuke/youtube-bot/docker-compose.gpu.yml
-
curl -L -o docker-compose.gpu.yml https://huggingface.co/spaces/kodnuke/youtube-bot/resolve/main/docker-compose.gpu.yml
952 Bytes
| # GPU override file | |
| # Usage: docker compose -f docker-compose.yml -f docker-compose.gpu.yml up -d | |
| # | |
| # Prerequisites: | |
| # 1. NVIDIA GPU driver installed on host | |
| # 2. NVIDIA Container Toolkit installed | |
| # 3. Verify with: docker info | grep nvidia | |
| # | |
| # This file overrides the default docker-compose.yml to: | |
| # - Build with Dockerfile.gpu (NVIDIA CUDA base image) | |
| # - Attach GPU devices to both services because video generation can run in | |
| # either the WebUI process or the API process | |
| services: | |
| webui: | |
| build: | |
| context: . | |
| dockerfile: Dockerfile.gpu | |
| deploy: | |
| resources: | |
| reservations: | |
| devices: | |
| - driver: nvidia | |
| count: 1 | |
| capabilities: [gpu] | |
| api: | |
| build: | |
| context: . | |
| dockerfile: Dockerfile.gpu | |
| deploy: | |
| resources: | |
| reservations: | |
| devices: | |
| - driver: nvidia | |
| count: 1 | |
| capabilities: [gpu] | |