Commit 3b9a8f7
Avoid assuming that jnp.sin will be traced in abstract mesh tests
The test does not clear the JAX caches, and jax.sin is a jitted closure
that's shared between all test methods, so there's no guarantee that someone
hasn't already traced sine at that same shape before. This only shows up rarely
since it depends on the subset of tests assigned to the same test executor.
PiperOrigin-RevId: 7067063801 parent 11e0fdf commit 3b9a8f7
2 files changed
+5
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4523 | 4523 | | |
4524 | 4524 | | |
4525 | 4525 | | |
4526 | | - | |
| 4526 | + | |
4527 | 4527 | | |
4528 | 4528 | | |
4529 | 4529 | | |
| |||
4536 | 4536 | | |
4537 | 4537 | | |
4538 | 4538 | | |
4539 | | - | |
| 4539 | + | |
| 4540 | + | |
4540 | 4541 | | |
4541 | 4542 | | |
4542 | 4543 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
811 | 811 | | |
812 | 812 | | |
813 | 813 | | |
814 | | - | |
| 814 | + | |
815 | 815 | | |
816 | 816 | | |
817 | 817 | | |
| |||
825 | 825 | | |
826 | 826 | | |
827 | 827 | | |
828 | | - | |
| 828 | + | |
829 | 829 | | |
830 | 830 | | |
831 | 831 | | |
| |||
0 commit comments