Skip to content

Commit 4fe34b5

Browse files
committed
Included latest jax tpu embedding wheel and updated dockerfile
1 parent 4317d1c commit 4fe34b5

2 files changed

Lines changed: 31 additions & 0 deletions

File tree

Dockerfile

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Use an official Python 3.12 runtime as a parent image
2+
FROM python:3.12-slim
3+
4+
# Set the working directory
5+
WORKDIR /app
6+
7+
# This tells Python to look in /app for the 'recml' package
8+
ENV PYTHONPATH="${PYTHONPATH}:/app"
9+
10+
# Install system tools if needed (e.g., git)
11+
RUN apt-get update && apt-get install -y git && rm -rf /var/lib/apt/lists/*
12+
13+
# Install the latest jax-tpu-embedding wheel
14+
COPY jax_tpu_embedding-0.1.0.dev20260121-cp312-cp312-manylinux_2_31_x86_64.whl ./
15+
RUN pip install ./jax_tpu_embedding-0.1.0.dev20260121-cp312-cp312-manylinux_2_31_x86_64.whl
16+
17+
# Copy requirements.txt to current directory
18+
COPY requirements.txt ./
19+
20+
# Install dependencies
21+
RUN pip install --upgrade pip
22+
RUN pip install -r ./requirements.txt
23+
24+
# Force install the specific protobuf version
25+
RUN pip install "protobuf>=6.31.1" --no-deps
26+
27+
# Copy the current directory contents into the container
28+
COPY . /app
29+
30+
# Default command to run the training script
31+
CMD ["python", "recml/examples/dlrm_experiment_test.py"]
Binary file not shown.

0 commit comments

Comments
 (0)