Spaces:
Runtime error
Runtime error
File size: 1,485 Bytes
352d290 bb81b4a 352d290 bb81b4a 352d290 57d5bb1 bb81b4a |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 |
---
title: MovieGen Demo
emoji: π
colorFrom: gray
colorTo: blue
sdk: docker
sdk_version: 5.30.0
app_file: Dockerfile
pinned: false
license: mit
short_description: A demo space for MovieGen1.1.
---
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
## Hardware Requirements
See [HARDWARE.md](./HARDWARE.md) for detailed hardware requirements and recommendations for running this app efficiently on CPU or GPU.
## Running with Docker
You can run this app in a containerized environment using Docker. The provided `Dockerfile` will automatically detect if a GPU is available and install GPU-specific dependencies (like `flash-attn`) if needed.
### 1. Build the Docker image
```bash
docker build -t moviegen-demo .
```
### 2. Run the container
```bash
docker run --rm -p 7860:7860 moviegen-demo
```
- The app will be available at http://localhost:7860
- By default, the container runs in CPU mode. If a compatible GPU is available and Docker is configured for GPU access (e.g., with `--gpus all`), GPU dependencies will be installed and used automatically.
#### To run with GPU (if available):
```bash
docker run --rm --gpus all -p 7860:7860 moviegen-demo
```
> **Note:**
> - For GPU support, you must have the [NVIDIA Container Toolkit](https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/install-guide.html) installed and a CUDA-compatible GPU.
> - See [HARDWARE.md](./HARDWARE.md) for more details on requirements. |