Thanks for the reply.
My work directory is ~, and my pytorch directory is under /pytorch_build,
I did python setup.py clean but still the same error.
there’s no Dockerfile for pytorch building yet, I just run a container and did all the compilation in it using the image built from the Dockerfile above