Skip to content

Commit ca901a2

Browse files
wang2yn84The tunix Authors
authored andcommitted
[Tunix] Update Dockerfile dependencies and installation order.
PiperOrigin-RevId: 904786949
1 parent 60ce6df commit ca901a2

1 file changed

Lines changed: 4 additions & 7 deletions

File tree

Dockerfile

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,27 +21,24 @@ ENV PATH="/opt/venv/bin:$PATH"
2121
RUN pip install --upgrade pip
2222

2323
RUN pip install git+https://github.com/ayaka14732/jax-smi.git
24-
RUN pip install git+https://github.com/AI-Hypercomputer/pathways-utils.git
2524
# If you encounter a checkpoint issue, try using following old version of pathways-utils.
2625
# RUN pip install git+https://github.com/AI-Hypercomputer/pathways-utils.git@b72729bb152b7b3426299405950b3af300d765a9#egg=pathwaysutils
2726
RUN pip install gcsfs
28-
RUN pip install jax[tpu] -f https://storage.googleapis.com/jax-releases/libtpu_releases.html
29-
30-
RUN pip install --upgrade wandb
27+
RUN pip install wandb
3128

3229
# Set the working directory
3330
WORKDIR /app
3431

3532
# Copy the project files to the image
3633
COPY . .
3734

35+
# Install the project in editable mode
36+
RUN pip install -e .
37+
3838
ENV VLLM_TARGET_DEVICE=tpu
3939

4040
RUN pip install -r /app/requirements/requirements.txt
4141
RUN pip install --force-reinstall -r /app/requirements/special_requirements.txt
4242

43-
# Install the project in editable mode
44-
RUN pip install --force-reinstall .
45-
4643
# Set the default command to bash
4744
CMD ["bash"]

0 commit comments

Comments
 (0)