-
Notifications
You must be signed in to change notification settings - Fork 844
Expand file tree
/
Copy pathDockerfile
More file actions
28 lines (24 loc) · 724 Bytes
/
Copy pathDockerfile
File metadata and controls
28 lines (24 loc) · 724 Bytes
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
#---
# name: mooncake
# group: dynamo
# config: config.py
# depends: [cuda, rust, cmake, ninja, pytorch, torchvision, torchaudio, torchao, transformers, triton]
# buildkit_device: nvidia.com/gpu=all
# requires: '>=34.1.0'
# test: test.py
# notes: https://github.com/kvcache-ai/Mooncake
#---
ARG BASE_IMAGE
FROM ${BASE_IMAGE}
ARG MOONCAKE_VERSION \
MOONCAKE_VERSION_SPEC \
IS_SBSA
RUN apt-get update -y && \
apt-get install -y --no-install-recommends \
pkg-config \
cmake && \
# etcd etcd-server etcd-client && \ (not in ubuntu 24.04)
apt-get clean && \
rm -rf /var/lib/apt/lists/*
COPY build.sh install.sh /tmp/mooncake/
RUN /tmp/mooncake/install.sh || /tmp/mooncake/build.sh