Skip to content

Commit 6b9db2c

Browse files
committed
deprecate method
1 parent 4095693 commit 6b9db2c

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
@@ -1542,7 +1542,7 @@ def forward(self, x):
15421542
15431543
"""
15441544
rank_zero_deprecation(
1545-
"`LightningModule.to_torchscript` has been deprecated in v2.5 and will be removed in v2.7. "
1545+
"`LightningModule.to_torchscript` has been deprecated in v2.7 and will be removed in v2.8. "
15461546
"TorchScript is deprecated in PyTorch. Use `torch.export.export()` for model exporting instead. "
15471547
"See https://pytorch.org/docs/stable/export.html for more information."
15481548
)

0 commit comments

Comments
 (0)