- Drop the standalone apps/old-pipeline-parallel-inference app and its fleet/orchestrator/tests (~24k lines). - Add datastream::hardware (cpu/gpu/net) modules; add mvp-system config, arena_manager, and vastai_offer_preview. - Rename mvp_orch_one_node->orchestrator and mvp_node->worker_node; expand VastAI provisioning; rework xtask runner. Signed-off-by: Zachery Aaron Shores-Chmielewski <zacheryasc@gmail.com>
20 lines
800 B
Docker
20 lines
800 B
Docker
FROM rust:1-bookworm
|
|
|
|
RUN apt-get update && \
|
|
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
|
|
ca-certificates \
|
|
pkg-config \
|
|
python3 \
|
|
python3-pip && \
|
|
python3 -m pip install --no-cache-dir --break-system-packages tinygrad==0.12.0 numpy && \
|
|
apt-get clean && \
|
|
rm -rf /var/lib/apt/lists/*
|
|
|
|
ENV DEV=CPU
|
|
ENV PYTHONDONTWRITEBYTECODE=1
|
|
ENV CARGO_TARGET_DIR=/workspace/target
|
|
COPY . /workspace
|
|
WORKDIR /workspace
|
|
RUN cargo test -p mvp-system --features local-e2e --test local-e2e-cluster --no-run
|
|
|
|
ENTRYPOINT ["sh", "-c", "test_bin=$(find /workspace/target/debug/deps -maxdepth 1 -type f -perm /111 \\( -name 'local_e2e_cluster-*' -o -name 'local-e2e-cluster-*' \\) | head -n 1); exec \"$test_bin\" \"$@\"", "local-e2e-cluster"]
|