Could not delete Aten.dll pytorch : Access is denied

Hi,

I changed my GPU and want to recompile pytorch, because I already got
cuda runtime error (10) : invalid device ordinal at torch/csrc/cuda/Module.cpp:87

But now I can’t re-compile pytorch with new GPUs because of aten.dll. Any suggestion?

Is it possible that some process is still using aten.dll? You could try restarting your computer.

If all else fails you can probably just delete it as administrator from your command prompt.

1 Like