Skip to content

Commit 088dd8d

Browse files
committed
Use backwards compatible tree_map import
1 parent a0fe321 commit 088dd8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

s2fft/utils/torch_wrapper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737

3838
import jax
3939
import jax.dlpack
40-
from jax.tree import map as tree_map
40+
from jax.tree_util import tree_map
4141

4242
try:
4343
import torch

0 commit comments

Comments
 (0)