Skip to content

Commit

Permalink
lintrunner
Browse files Browse the repository at this point in the history
  • Loading branch information
jjsjann123 committed Feb 9, 2023
1 parent ac5f5d9 commit 98a5bcd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion torch/_prims/nvfuser_prims.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,9 @@
def _assert_nvfuser_op_exists(fname: str):
try:
try:
from nvfuser import FusionDefinition as fd # type: ignore[import, attr-defined]
from nvfuser import ( # type: ignore[import, attr-defined]
FusionDefinition as fd,
)
except ImportError:
from nvfuser._C import FusionDefinition as fd # type: ignore[import]

Expand Down

0 comments on commit 98a5bcd

Please sign in to comment.