Commit a99bebf
fix: use dynamic import for jax in thrml_seismic_bridge
- Replace static 'import jax' with 'jax = __import__("jax")' to prevent Cloudflare Worker build from inferring it as a dependency
- Ensure HAS_JAX is correctly set
- This fixes the "Workers Builds" CI failure where jax cannot be installed in the worker environment
Co-authored-by: igor-holt <125706350+igor-holt@users.noreply.github.com>1 parent a630be8 commit a99bebf
2 files changed
Lines changed: 5 additions & 3 deletions
Binary file not shown.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
4 | 6 | | |
5 | 7 | | |
6 | 8 | | |
| |||
29 | 31 | | |
30 | 32 | | |
31 | 33 | | |
32 | | - | |
| 34 | + | |
33 | 35 | | |
34 | 36 | | |
35 | 37 | | |
| |||
0 commit comments