emmm… sorry for that, I just want to reply the answer… (since i found that the question by @smartadpole is written in chinese. I will use english next time.
here is my reply to @smartadpole and @Lin_Jia, I translated by myself, in english.
hello @smartadpole
from /usr/lib/aarch64-linux-gnu, and CUDA/CUDNN, i can find that you are not using computers with x86_64 architecture to compile from source, and you may use NVIDIA Jetson TX2 to compile from source. (probably not use KVM to virtualize the hardware, since NVIDIA Graphic Cards cannot be virtualized)
the reply from @Lin_Jia:
the reason is right, since .cpp cannot be found. BUT, the solution is not downloading libtorch which is officially provided in pytorch.org , which is also precompiled in x86_64 architecture operating systems, which does not fit ARM-based devices.
So… one solution is that compiling again, with CUDNN excluded. (Just use CUDA is okay) At least, pytorch with cuda can also be accelerated.
yours sincerely
@wmf1997