Closed VirxEC closed 1 year ago
Actually the error is related to OpenCL headers and runtime library that is missing - without it, for sure you can't build.
Also make sure you build against CPU version of pytorch.
Oh cool. I already have the CPU version of PyTorch 1.13.0 from their own index - the repo built with static library kineto_LIBRARY-NOTFOUND not found
still emitting.
I just had to install ocl-icd-opencl-dev
and opencl-headers
I'm having the same problem, but on macOS 11.7.10 (Big Sur). I've tried installing opencl-headers
, opencl-clhpp-headers
, and opencl-icd
through homebrew but I'm still facing the same problem. My error output looks just like what's posted above, except only OCL_PATH
is missing and not OCL_LIB
.
I'm having the same problem, but on macOS 11.7.10 (Big Sur). I've tried installing
opencl-headers
,opencl-clhpp-headers
, andopencl-icd
through homebrew but I'm still facing the same problem. My error output looks just like what's posted above, except onlyOCL_PATH
is missing and notOCL_LIB
.
The hacking is here: https://github.com/artyom-beilis/pytorch_dlprim/issues/25#issuecomment-1403873957
However, for Apple clang plus Apple silicon, it is not easy to build one. I have been through loads of errors with Apple Clang more than here https://github.com/artyom-beilis/dlprimitives/pull/16
My machine
I have mesa git and Rusticl support installed and working in theory along with
spirv-tools
on Ubuntu 22.10 - but I can't seem to build dlprim!clinfo -l
outputs this:What I think the problem is
The command I'm running is
cmake -DCMAKE_PREFIX_PATH=$VIRTUAL_ENV/lib/python3.10/site-packages/torch/share/cmake/Torch ..
The problem is one of two things:
OR
Full command log