Skip to content

CompatHelper: bump compat for JET in [weakdeps] to 0.12, (keep existing compat) - #1260

Closed
github-actions[bot] wants to merge 1 commit into
mainfrom
compathelper/new_version/2026-07-29-00-21-05-906-03464599791
Closed

CompatHelper: bump compat for JET in [weakdeps] to 0.12, (keep existing compat)#1260
github-actions[bot] wants to merge 1 commit into
mainfrom
compathelper/new_version/2026-07-29-00-21-05-906-03464599791

Conversation

@github-actions

@github-actions github-actions Bot commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

This pull request changes the compat entry for the JET package from 0.9, 0.10, 0.11 to 0.9, 0.10, 0.11, 0.12.
This keeps the compat entries for earlier versions.

Note: I have not tested your package with this new compat entry.
It is your responsibility to make sure that your package tests pass before you merge this pull request.

CI Summary — GitHub Actions

Documentation Preview

Mooncake.jl documentation for PR #1260 is available at:
https://chalk-lab.github.io/Mooncake.jl/previews/PR1260/

Performance

Performance Ratio:
Ratio of time to compute gradient and time to compute function.
Warning: results are very approximate! See here for more context.

┌────────────────────────────┬──────────┬──────────┬─────────────┬─────────┬─────────────┬────────┐
│                      Label │   Primal │ Mooncake │ MooncakeFwd │  Zygote │ ReverseDiff │ Enzyme │
│                     String │   String │   String │      String │  String │      String │ String │
├────────────────────────────┼──────────┼──────────┼─────────────┼─────────┼─────────────┼────────┤
│                   sum_1000 │ 450.0 ns │     1.42 │        1.44 │   0.193 │       0.747 │   1.16 │
│                  _sum_1000 │ 680.0 ns │     8.84 │        1.14 │  4350.0 │        41.5 │   1.58 │
│               sum_sin_1000 │  5.42 μs │     3.21 │        1.24 │    1.88 │        11.8 │   2.08 │
│              _sum_sin_1000 │  5.36 μs │     2.97 │        1.79 │   287.0 │        10.9 │   1.87 │
│                   kron_sum │ 351.0 μs │     6.45 │        2.63 │    17.0 │       226.0 │   11.9 │
│              kron_view_sum │ 368.0 μs │      7.9 │        4.17 │    19.4 │       232.0 │   11.2 │
│      naive_map_sin_cos_exp │  2.45 μs │     2.93 │         1.8 │ missing │        5.14 │   1.45 │
│            map_sin_cos_exp │  2.71 μs │     2.96 │        1.83 │    1.07 │        3.86 │   1.68 │
│      broadcast_sin_cos_exp │  2.71 μs │     3.02 │        1.79 │     2.8 │        1.11 │   1.34 │
│                 simple_mlp │ 335.0 μs │     4.59 │        3.08 │    2.23 │        9.51 │   3.45 │
│                     gp_lml │ 226.0 μs │     7.64 │        2.24 │    4.58 │     missing │   3.86 │
│ turing_broadcast_benchmark │  1.71 ms │     5.38 │        2.71 │ missing │        37.6 │   1.58 │
│         large_single_block │ 552.0 ns │     8.02 │        1.81 │  3230.0 │        19.2 │   1.77 │
└────────────────────────────┴──────────┴──────────┴─────────────┴─────────┴─────────────┴────────┘

@willtebbutt
willtebbutt force-pushed the compathelper/new_version/2026-07-29-00-21-05-906-03464599791 branch from b38f1f9 to 85b383f Compare July 29, 2026 00:21
@codecov

codecov Bot commented Jul 29, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

sunxd3 added a commit that referenced this pull request Aug 3, 2026
* Consolidate compat bumps: JET 0.12, Revise 3, drop LoweredCodeUtils cap

Consolidates #920, #1253, #1260, and #1261, none of which can land
individually: JET 0.12 requires LoweredCodeUtils 3.8 and Revise 3.16,
both forbidden by the pins from #932 and #1203.

- Widen JET compat to include 0.12 (root and docs).
- Widen Revise to 3 and keep it as a root test dep (per #920); drop the
  pin-carrier Revise entries from sub-test environments.
- Remove the LoweredCodeUtils "<3.6" cap and its pin-carrier entries
  everywhere (#1203): JET 0.11.4 and 0.12 carry correct LoweredCodeUtils
  compat themselves, so the guard is redundant now.
- Bump version to 0.5.42 (the JET weakdep compat change needs a release).

The Revise pin's original motivation (allocation-test breakage, #921) no
longer reproduces after the count_allocs rewrite (#1093, #1094):
allocation-sensitive test_rule runs are identical with and without Revise
3.16.2 loaded on Julia 1.12.6. With the widened compat the test
environment resolves JET 0.12.0 + Revise 3.16.2 + LoweredCodeUtils 3.8.0
and MooncakeJETExt precompiles cleanly.

* Drop Revise test dep entirely

CI on this branch is green (99/99) with Revise unpinned, so the entry no
longer serves its pin-carrier purpose: Revise is never imported by the
test suite and JET 0.12 depends on it directly.
@sunxd3 sunxd3 closed this Aug 3, 2026
@sunxd3
sunxd3 deleted the compathelper/new_version/2026-07-29-00-21-05-906-03464599791 branch August 3, 2026 11:31
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