Marigold examples / benchmark-vid-gen

benchmark-vid-gen

marigold registry add https://www.bayis.co.uk/marigold-examples/
marigold application install benchmark-vid-gen
Version0.1.0
Models3 declared
Archivebenchmark-vid-gen-0.1.0.tar.gz
sha256ac402709bc70dfee36d9f3f001f4b76b1cb7c1a2a850ea4e3337a7d0c5b0f4c8

Submits a fixed prompt set to every txt2vid model in a running Marigold deployment and records timing, VRAM, and power draw per clip.

Sized for the cost. Eighteen prompts across three models is 54 clips, and a clip is minutes rather than seconds. Run the smoke test first.

Setup

pip install requests pyyaml

Run

marigold cache populate marigold-examples/benchmark-vid-gen
marigold deployment start marigold-examples/benchmark-vid-gen

python run_benchmark.py --base-url http://localhost:8000 \
  --user-id benchmark --max-prompts 3 --out results/smoke.csv

The smoke test is three clips per model. Check the timings before running the full set, and multiply.

Prompt groups

Subjects all contain motion. A still scene gives a video model nothing to do and makes frame count meaningless as a measurement.

Options

Defaults differ from the image benchmark:

Clips

Binary output retrieval returns 501, so the CSV records the output reference. Files are on the machine running the worker:

$MARIGOLD_CACHE_DIR/data/outputs/txt2vid/

Clips are tens of megabytes each. Check disk before a full run.