Skip to content

Commit e951cd4

Browse files
authored
fix noqa appearing in docs (#10116)
1 parent 9b21ecb commit e951cd4

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

pytorch_lightning/profiler/__init__.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,11 @@ def custom_processing_step(self, data):
146146
The output below shows the profiling for the action ``training_step_and_backward``.
147147
The user can provide ``PyTorchProfiler(record_functions={...})`` to extend the scope of profiled functions.
148148
149-
.. note:: When using the PyTorch Profiler, wall clock time will not not be representative of the true wall clock time. This is due to forcing profiled operations to be measured synchronously, when many CUDA ops happen asynchronously. It is recommended to use this Profiler to find bottlenecks/breakdowns, however for end to end wall clock time use the `SimpleProfiler`. # noqa: E501
149+
.. note::
150+
When using the PyTorch Profiler, wall clock time will not not be representative of the true wall clock time.
151+
This is due to forcing profiled operations to be measured synchronously, when many CUDA ops happen asynchronously.
152+
It is recommended to use this Profiler to find bottlenecks/breakdowns, however for end to end wall clock time use
153+
the `SimpleProfiler`.
150154
151155
.. code-block::
152156

0 commit comments

Comments
 (0)