Skip to content

Conversation

kanglant
Copy link
Collaborator

@kanglant kanglant commented Oct 7, 2025

Description

This PR adds GPU extras to the maxtext package, allowing users to install the necessary dependencies for a GPU environment by running uv pip install -e .[cuda12] --resolution=lowest. It also integrates GPU package tests into the CI workflow.

FIXES: b/450562915

Tests

I've updated the package test and it is passed.

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.

Use exclusion rules instead of direct pinning to disable unsupported JAX versions. This will allow newer JAX versions in future releases without requiring manual updates.
@copybara-service copybara-service bot merged commit 210e9d7 into main Oct 15, 2025
37 checks passed
@copybara-service copybara-service bot deleted the kanglan/gpu_pyproj branch October 15, 2025 07:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants