Skip to content

Commit ce2297d

Browse files
maxtext authorsshralex
authored andcommitted
Merge pull request #1648 from AI-Hypercomputer:parambole/gpu_candidate
PiperOrigin-RevId: 754062547
2 parents 36dd7ee + 75285e6 commit ce2297d

File tree

6 files changed

+10
-12
lines changed

6 files changed

+10
-12
lines changed

.github/workflows/RunTests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ jobs:
5353
with:
5454
device_type: gpu
5555
device_name: a100-40gb-4
56-
build_mode: pinned
57-
base_image: gcr.io/tpu-prod-env-multipod/maxtext_gpu_jax_pinned:latest
56+
build_mode: stable_stack
57+
base_image: us-docker.pkg.dev/tpu-prod-env-multipod/jax-stable-stack/candidate/gpu:latest
5858

5959
tpu_unit_tests:
6060
needs: tpu_image

.github/workflows/UploadDockerImages.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,3 +73,6 @@ jobs:
7373
- name: build image with stable stack nightly jax
7474
run: |
7575
bash .github/workflows/build_and_upload_images.sh CLOUD_IMAGE_NAME=maxtext_gpu_stable_stack_nightly_jax MODE=stable_stack DEVICE=gpu PROJECT=tpu-prod-env-multipod LOCAL_IMAGE_NAME=maxtext_gpu_jax_stable_stack_nightly BASEIMAGE=us-docker.pkg.dev/tpu-prod-env-multipod/jax-stable-stack/gpu/jax_nightly:latest MAXTEXT_REQUIREMENTS_FILE=requirements_with_jax_stable_stack.txt
76+
- name: build image with jax stable stack release candidate image
77+
run: |
78+
bash .github/workflows/build_and_upload_images.sh CLOUD_IMAGE_NAME=maxtext_stable_stack_candidate_gpu MODE=stable_stack DEVICE=gpu PROJECT=tpu-prod-env-multipod LOCAL_IMAGE_NAME=maxtext_stable_stack_candidate_gpu BASEIMAGE=us-docker.pkg.dev/tpu-prod-env-multipod/jax-stable-stack/candidate/gpu:latest MAXTEXT_REQUIREMENTS_FILE=requirements_with_jax_stable_stack.txt

.github/workflows/run_tests_internal.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,6 @@ jobs:
6666
${{ inputs.container_resource_option }} \
6767
gcr.io/tpu-prod-env-multipod/maxtext_${{ github.run_id }}:${{ inputs.device_type }} \
6868
bash -c "
69-
python3 -m pip install -e . &&
69+
python3 -m pip install -e . --no-dependencies &&
7070
python3 -m pytest --pyargs MaxText.tests -m '${{ inputs.pytest_marker }}' --durations=0
7171
"

maxtext_jax_stable_stack.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ RUN if [ "$DEVICE" = "tpu" ] && ([ "$JAX_STABLE_STACK_BASEIMAGE" = "us-docker.pk
3232
python3 -m pip install --no-cache-dir --upgrade jax[tpu]; fi
3333

3434
# Install Maxtext requirements with Jax Stable Stack
35-
RUN apt-get update && apt-get install --yes google-cloud-cli && apt-get install --yes dnsutils
35+
RUN apt-get update && apt-get install --yes && apt-get install --yes dnsutils
3636

3737
# Install requirements file generated with pipreqs for JSS 0.5.2.
3838
# Othewise use general requirements_with_jax_stable_stack.txt

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,4 @@ mlperf-logging@git+https://github.com/mlperf/logging.git
3939
google-jetstream@git+https://github.com/AI-Hypercomputer/JetStream.git
4040
jsonlines
4141
pathwaysutils@git+https://github.com/AI-Hypercomputer/pathways-utils.git
42-
omegaconf
42+
omegaconf
Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,24 @@
11
# Requirements for Building the MaxText Docker Image
22
# These requirements are additional to the dependencies present in the JAX SS base image.
3-
absl-py
4-
aqtp==0.8.2
53
datasets
64
grain[parquet]>=0.2.6
7-
ml-goodput-measurement==0.0.10
85
orbax-checkpoint>=0.10.3
96
pylint
107
pytest
118
pyink
129
pre-commit
10+
protobuf==3.20.3
1311
pytype
1412
pillow>=11.1.0
1513
sentencepiece==0.1.97
1614
tensorflow-text>=2.13.0
1715
tensorflow-datasets
18-
tensorboardx>=2.6.2.2
1916
tiktoken
2017
transformers
2118
mlperf-logging@git+https://github.com/mlperf/logging.git
2219
google-jetstream@git+https://github.com/AI-Hypercomputer/JetStream.git
2320
jsonlines
2421
pathwaysutils@git+https://github.com/AI-Hypercomputer/pathways-utils.git
25-
google-cloud-monitoring
26-
google-api-core
2722
google-api-python-client
2823
omegaconf
29-
jaxtyping
24+
jaxtyping

0 commit comments

Comments
 (0)