-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add dockerfile at root and update docs/benchmark to include docker in…
…structions
- Loading branch information
Showing
2 changed files
with
81 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
FROM nvidia/cuda:11.2.1-base-ubuntu20.04 | ||
RUN apt-get update && \ | ||
apt-get install --no-install-recommends --no-install-suggests -y \ | ||
curl python3 python3-pip | ||
WORKDIR /lambda_diffusers | ||
COPY . . | ||
RUN pip3 install --no-cache-dir -r requirements.txt | ||
CMD ["python3", "-u", "scripts/benchmark.py", "--samples", "1,2,4,8,16"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters