trunk/ffc54724e283412d8d396faaee20e281bb7cd67b: [ROCm] Free rocFFT plans (#197425)
- PyTorch: 1131 events in the last 90 days
- PyTorch: 1117th Release in the last 90 days
- Previous: earlier the same day · trunk/f7a710f51a2acab5c9d455584e15eeb52d831bc9: [Profiler] Add a merge rule for Profiler (#197474)
What happened
rocFFT plans were intentionally leaked in bbd2350 ( #37427 ) to work around a process-exit crash that presented as a double free. The root cause is understood and has been fixed in rocFFT for years, so the leak is no longer needed. Root cause In 2020 the Repo singleton in rocFFT cached whole ExecPlan s, deduplicated by plan parameters and reference counted. PyTorch's cuFFT plan cache is a namespace-scope static ( pl…
Summary assembled by rule from the sources below