Skip to content

Commit 40197ed

Browse files
authored
Fix the PyTorchProfiler description (#19334)
1 parent d08e6cd commit 40197ed

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/lightning/pytorch/profilers/pytorch.py

+2-3
Original file line numberDiff line numberDiff line change
@@ -240,9 +240,8 @@ def __init__(
240240
table_kwargs: Optional[Dict[str, Any]] = None,
241241
**profiler_kwargs: Any,
242242
) -> None:
243-
r"""This profiler uses PyTorch's Autograd Profiler and lets you inspect the cost of.
244-
245-
different operators inside your model - both on the CPU and GPU
243+
r"""This profiler uses PyTorch's Autograd Profiler and lets you inspect the cost of
244+
different operators inside your model - both on the CPU and GPU.
246245
247246
Args:
248247
dirpath: Directory path for the ``filename``. If ``dirpath`` is ``None`` but ``filename`` is present, the

0 commit comments

Comments
 (0)