Dependency Update: Relax JAX Version Constraints#18
Merged
ZedongPeng merged 1 commit intoMIT-Lu-Lab:mainfrom May 8, 2025
Merged
Dependency Update: Relax JAX Version Constraints#18ZedongPeng merged 1 commit intoMIT-Lu-Lab:mainfrom
ZedongPeng merged 1 commit intoMIT-Lu-Lab:mainfrom
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🔧 Dependency Update: Relax JAX Version Constraints
This PR updates the dependency versions in
pyproject.tomlto reflect recent improvements in the JAX ecosystem and ensure compatibility with macOS Intel hardware.✅ Motivation
jax.numpy.linalg.normwould raise an error on empty arrays. (Fixed inJAX v0.5.3)What happened in MPAX
In MPAX, this previously led to the following runtime error when the right-hand side array was empty:
MPAX/mpax/termination.py
Line 60 in 8a7171d
Other considerations
Starting with
jax==0.5.0, official wheels for macOS on Intel (x86) are no longer provided. To continue supporting users on macOS x86, we restrict the lower bound to>=0.4.38.