Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Llama2-70b sparsecore collective model to trillium configs #1042

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

Obliviour
Copy link
Collaborator

@Obliviour Obliviour commented Nov 15, 2024

Description

Add a new llama2-70b config with sparsecore offloading that scales up to 32 pods so far. Adjust the num_slices arg below:

  1. build maxtext dependencies
  2. have xpk in ~/xpk/xpk.py
  3. run below command

Tests

  • Ran successful training on TPUs

python3 benchmarks/benchmark_runner.py --project=${PROJECT} --zone={zone} --device_type=v6e-256 --num_slices=1 --cluster_name=${CLUSTER_NAME} --base_output_directory=${OUTPUT_DIR}
--model_name="llama2_70b_4096_sc" --libtpu_version=20241106 --base_docker_image=maxtext_base_image

Checklist

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

  • I have performed a self-review of my code.
  • 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.

@Obliviour Obliviour changed the title Update maxtext_trillium_model_configs.py Add Llama2-70b sparsecore collective model to trillium configs Nov 15, 2024
@Obliviour Obliviour marked this pull request as ready for review November 20, 2024 18:02
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