Spaces:
Running
Running
File size: 575 Bytes
b10121d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
FROM nvidia/cuda:12.1.0-base-ubuntu22.04
# Basic installs
ARG DEBIAN_FRONTEND=noninteractive
ENV TZ='America/Detroit'
RUN apt-get update -qq \
&& apt-get -y --no-install-recommends install python3-pip \
&& apt-get clean all \
&& rm -r /var/lib/apt/lists/*
# HuggingFace cache dir
ENV HF_HOME=/root/.cache/huggingface
# Copy over benchmark suite and install dependencies
ADD . /workspace/image-to-video
WORKDIR /workspace/image-to-video
RUN pip install -r requirements.txt
# Benchmark script to run
ENTRYPOINT ["python3", "scripts/benchmark_one_datapoint.py"]
|