Hi all,
I cloned master branch of pytorch
from link:- GitHub - pytorch/pytorch: Tensors and Dynamic neural networks in Python with strong GPU acceleration
I am building pytorch on riscv64
, I am facing issue:-
In file included from /home/root/kush/pytorch/third_party/cpuinfo/src/x86/init.c:5:
/home/root/kush/pytorch/third_party/cpuinfo/src/x86/cpuid.h:5:11: fatal error: cpuid.h: No such file or directory
5 | #include <cpuid.h>
| ^~~~~~~~~
compilation terminated.
make[2]: *** [confu-deps/cpuinfo/CMakeFiles/cpuinfo_internals.dir/build.make:121: confu-deps/cpuinfo/CMakeFiles/cpuinfo_internals.dir/src/x86/init.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1788: confu-deps/cpuinfo/CMakeFiles/cpuinfo_internals.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
if anyone know, where i am wrong, please guide me to build pytorch on riscv64.
T&R
Kush