Skip to content

Commit 1fd6e76

Browse files
committed
ignore[no-redef]
1 parent bdf6927 commit 1fd6e76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lightning/pytorch/core/module.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
if _TORCH_GREATER_EQUAL_2_6:
8484
from torch.onnx import ONNXProgram
8585
else:
86-
from torch.onnx._internal.exporter import ONNXProgram
86+
from torch.onnx._internal.exporter import ONNXProgram # type: ignore[no-redef]
8787

8888
warning_cache = WarningCache()
8989
log = logging.getLogger(__name__)

0 commit comments

Comments
 (0)