Skip to content

Commit f1691e3

Browse files
authored
Merge pull request #90 from RajeshThallam/main
Fix DeepSeek 671B recipe to read from quantized checkpoints
2 parents 85e72b9 + e21e564 commit f1691e3

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

inference/trillium/JetStream-Maxtext/DeepSeek-R1-671B/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ helm install -f values.yaml \
363363
--set clusterName=$CLUSTER_NAME \
364364
--set job.jax_tpu_image.repository=${ARTIFACT_REGISTRY}/${JETSTREAM_MAXTEXT_IMAGE} \
365365
--set job.jax_tpu_image.tag=${JETSTREAM_MAXTEXT_VERSION} \
366-
--set maxtext_config.load_parameters_path=${GCS_CKPT_PATH_UNSCANNED}/0/items \
366+
--set maxtext_config.load_parameters_path=${GCS_CKPT_PATH_QUANTIZED} \
367367
jetstream-pathways \
368368
$RECIPE_ROOT/serve-model
369369
```

inference/trillium/JetStream-Maxtext/DeepSeek-R1-671B/docker/Dockerfile

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,11 @@ ENV XCLOUD_ENVIRONMENT=GCP
4444
# Install JetStream and MaxText
4545

4646
RUN git clone https://github.com/AI-Hypercomputer/JetStream.git && \
47-
git clone https://github.com/AI-Hypercomputer/maxtext.git && \
48-
git clone https://github.com/google/aqt.git
47+
cd JetStream && git checkout 29329e8 && cd .. && \
48+
git clone https://github.com/AI-Hypercomputer/maxtext.git && \
49+
cd maxtext && git checkout 4f63ce61 && cd .. && \
50+
git clone https://github.com/google/aqt.git && \
51+
cd aqt && git checkout 28504f5 && cd ..
4952

5053
RUN cd /maxtext && bash setup.sh && pip install torch --index-url https://download.pytorch.org/whl/cpu
5154

@@ -56,4 +59,4 @@ RUN cd /JetStream && pip install -e .
5659
RUN apt -y update && apt-get -y install python3-dev && apt-get -y install build-essential
5760
RUN cp -r /aqt/aqt/* /usr/local/lib/python3.10/dist-packages/aqt/
5861

59-
ENTRYPOINT [ "/bin/bash" ]
62+
ENTRYPOINT [ "/bin/bash" ]

0 commit comments

Comments
 (0)