Skip to content

Commit 0e74828

Browse files
committed
fix flashinfer
1 parent 1e7dcd4 commit 0e74828

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

tests/py/dynamo/automatic_plugin/test_flashinfer_rmsnorm.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,11 @@
1212
from ..conversion.harness import DispatchTestCase
1313

1414
if importlib.util.find_spec("flashinfer"):
15-
import flashinfer
15+
# flashinfer has been impacted by torch upstream change: https://github.com/pytorch/pytorch/commit/660b0b8128181d11165176ea3f979fa899f24db1
16+
# got ImportError: cannot import name '_get_pybind11_abi_build_flags' from 'torch.utils.cpp_extension'
17+
# import flashinfer
1618

1719

18-
# flashinfer has been impacted by torch upstream change: https://github.com/pytorch/pytorch/commit/660b0b8128181d11165176ea3f979fa899f24db1
19-
# got ImportError: cannot import name '_get_pybind11_abi_build_flags' from 'torch.utils.cpp_extension'
20-
@unittest.skip("Not Available")
2120
@torch.library.custom_op("flashinfer::rmsnorm", mutates_args=()) # type: ignore[misc]
2221
def flashinfer_rmsnorm(
2322
input: torch.Tensor, weight: torch.Tensor, eps: float = 1e-6

0 commit comments

Comments
 (0)