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 GKE A3 Ultra support #940

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft

Add GKE A3 Ultra support #940

wants to merge 3 commits into from

Conversation

samos123
Copy link
Contributor

  • Adds support for easily adding more GKE GPU accelerators by using a base class
  • Adds Fuji v2 70B benchmark results

@samos123 samos123 requested review from ruomingp, markblee and a team as code owners January 22, 2025 00:23
@samos123 samos123 marked this pull request as draft January 22, 2025 00:23
Dockerfile Outdated
@@ -101,14 +93,63 @@ COPY . .
# GPU container spec. #
################################################################################

FROM base AS gpu
# This causes INTERNAL: No valid engine configs for Matmul error
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@markblee @kelvin-zou are you fine with moving to nvidia/cuda:12.6.3-cudnn-devel-ubuntu22.04 as the base image. I couldn't get A3 Ultra working on the original python base image.

Dockerfile Outdated

# TODO(markblee): Support extras.
ENV PIP_FIND_LINKS=https://storage.googleapis.com/jax-releases/jax_cuda_releases.html
RUN pip install .[core,gpu]
COPY . .
RUN pip install -U "jax[gpu]==0.4.38" "jax==0.4.38" "jaxlib==0.4.38" \
Copy link
Contributor Author

Choose a reason for hiding this comment

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

TODO: this should be removed. Maybe we should wait until axlearn main upgrades to 0.4.38.

Copy link
Contributor

@ruomingp ruomingp left a comment

Choose a reason for hiding this comment

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

Thanks!

# So we're using the NVIDIA provided cuda image instead which works.
FROM nvidia/cuda:12.6.3-cudnn-devel-ubuntu22.04 as gpu

# Copy from original base
Copy link
Contributor

Choose a reason for hiding this comment

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

Does it mean that we will need to keep the following commands consistent with those in BASE? Does Dockerfile support functions?

Comment on lines +100 to +102
# Using `FROM base as GPU` causes INTERNAL: No valid engine configs for Matmul error.
# So we're using the NVIDIA provided cuda image instead which works.
FROM nvidia/cuda:12.6.3-cudnn-devel-ubuntu22.04 as gpu
Copy link
Contributor

Choose a reason for hiding this comment

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

Let's make sure this change doesn't break our GPU training on AWS.

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