← Back to events
ActiveAIRelease

trunk/ffc54724e283412d8d396faaee20e281bb7cd67b: [ROCm] Free rocFFT plans (#197425)

Photo: PyTorch Releases

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

Why it's spreading

Sources