An issue was discovered in PyTorch v2.5 and v2.7.1. Omission of profiler.stop() can cause torch.profiler.profile (PythonTracer) to crash or hang during finalization, leading to a Denial of Service (DoS).
| Software | From | Fixed in |
|---|---|---|
| linuxfoundation / pytorch | 2.5.0 | 2.5.0.x |
| linuxfoundation / pytorch | 2.7.1 | 2.7.1.x |