Skip to content

Conversation

@copybara-service
Copy link

Add a cache around abstract_eval rules.

PiperOrigin-RevId: 772952508
@copybara-service copybara-service bot merged commit 9cf81e4 into main Jun 18, 2025
@copybara-service copybara-service bot deleted the test_771059608 branch June 18, 2025 16:35
rniczh added a commit to PennyLaneAI/catalyst that referenced this pull request Nov 28, 2025
**Context:**

**Description of the Change:**

- The API of `lower_jaxpr_to_fun` has changed, replacing `public` with
`main_function`. Now, custom function names (e.g., `jit_…`) were not
permitted, with `main` being the default. To address this,
`main_function` is now set to False, while `sym_visibility` is set to
True for MLIR, retaining the `jit_func` function name. Additionally,
`name_stack` has been removed. jax-ml/jax#29783
- Params are now required to be hashable. (PL)
jax-ml/jax#29498
- `make_var` and `get_var` has been removed. Should set the var (`val`)
when initializing the `DynamicJaxprTracer`.
jax-ml/jax#29937. There is a typo in jax
jax-ml/jax#32718, we will patch the installation
of jax in this PR.
- Replace `flatten_lowering_ir_args` with `flatten_ir_values`
jax-ml/jax#29706
- jax introduced the `TracingEqn` and replace `frame.eqns` (originally
using `JaxprEqn`) with `frame.tracing_eqns`.
jax-ml/jax#30135
- `pjit_p` has been removed, use `jit_p` instead
- Fix jax source code by patching it when after jax is installed (run
`bin/patch_jax_installation.py`)
- Fix jax source code by patching it with
(`frontend/catalyst/jax_extras/patches.py`)

**Benefits:**

**Possible Drawbacks:**

**Related GitHub Issues:**

---------

Co-authored-by: JerryChen97 <chenys13@outlook.com>
Co-authored-by: Paul <79805239+paul0403@users.noreply.github.com>
Co-authored-by: David Ittah <dime10@users.noreply.github.com>
Co-authored-by: Ali Asadi <10773383+maliasadi@users.noreply.github.com>
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.

1 participant