Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions tests/py/dynamo/automatic_plugin/test_flashinfer_rmsnorm.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,10 @@

from ..conversion.harness import DispatchTestCase

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


@torch.library.custom_op("flashinfer::rmsnorm", mutates_args=()) # type: ignore[misc]
Expand Down
Loading