Skip to content

Add llama3.1-70b E2E test scripts for pre-training#4279

Draft
chiajunglien wants to merge 2 commits into
AI-Hypercomputer:mainfrom
CIeNET-International:emma/e2e-training-llama3-70b
Draft

Add llama3.1-70b E2E test scripts for pre-training#4279
chiajunglien wants to merge 2 commits into
AI-Hypercomputer:mainfrom
CIeNET-International:emma/e2e-training-llama3-70b

Conversation

@chiajunglien

@chiajunglien chiajunglien commented Jun 26, 2026

Copy link
Copy Markdown

Description

This PR introduces end-to-end (E2E) testing and validation pipelines for the Llama3.1 70B model in MaxText.
Blocked by: https://buganizer.corp.google.com/issues/528113447

Tests

Pre-Training:

export RUN_ID=$(date +%Y-%m-%d-%H-%M)
bash tests/end_to_end/tpu/llama3.1/70b/test_llama3.1_70b_to_mt.sh $RUN_ID
bash tests/end_to_end/tpu/gemma4/26b/test_llama3.1_70b.sh $RUN_ID

Checklist

Before submitting this PR, please make sure (put X in square brackets):

  • I have performed a self-review of my code. For an optional AI review, add the gemini-review label.
  • I have necessary comments in my code, particularly in hard-to-understand areas.
  • I have run end-to-end tests tests and provided workload links above if applicable.
  • I have made or will make corresponding changes to the doc if needed, including adding new documentation pages to the relevant Table of Contents (toctree directive) as explained in our documentation.

….1-70b

Introduces E2E test configurations and scripts for llama3.1-70b model,
covering both inference decoding and pre-training validation pipelines.
hardware=cpu skip_jax_distributed_system=True \
checkpoint_storage_use_zarr3=False checkpoint_storage_use_ocdbt=False \
--lazy_load_tensors=False \
--eager_load_method='transformers'

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did llama model need eager mode?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

removed.

BASE_OUTPUT_DIRECTORY=gs://runner-maxtext-logs/${MODEL_NAME}/to_maxtext

# Step 1: Install torch
python3 -m pip install torch --index-url https://download.pytorch.org/whl/cpu

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please test whether we still need it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants