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

Temporary JAX fix for tests #189

Merged
merged 1 commit into from
Feb 17, 2023

Conversation

DanPuzzuoli
Copy link
Collaborator

Summary

The recent JAX 0.4.4 update has broken testing for the perturbation module. The discussion in the JAX repo is here, and has similar characteristics to a similar issue that was introduced and discussed a year ago here (the same minimal example works in both cases).

The JAX changelog indicates that running the lines:

import os

os.environ["JAX_JIT_PJIT_API_MERGE"] = "0"

before importing JAX will disable the major change associated with this release that seems to be causing the problem.

This PR adds this to the __init__.py file in the testing folder, to get the CI tests to run.

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