We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bdf6927 commit 1fd6e76Copy full SHA for 1fd6e76
src/lightning/pytorch/core/module.py
@@ -83,7 +83,7 @@
83
if _TORCH_GREATER_EQUAL_2_6:
84
from torch.onnx import ONNXProgram
85
else:
86
- from torch.onnx._internal.exporter import ONNXProgram
+ from torch.onnx._internal.exporter import ONNXProgram # type: ignore[no-redef]
87
88
warning_cache = WarningCache()
89
log = logging.getLogger(__name__)
0 commit comments