Open IssacXid opened 9 months ago
The last commit for the DNNL backend was a year ago. I'm guessing the TVM relay backend isn't updated for the latest oneDNN. The oneDNN v3.0 has memory descriptor breaking changes which might cause the compilation error. Using an older oneDNN (such as 2.7? I don't know) may solve the problem.
Thanks, @mshr-h.
This is a duplicate for #13672.
Expected behavior
I have built oneDNN following this link https://oneapi-src.github.io/oneDNN/dev_guide_build.html. And I modify the config.cmake set(USE_DNNL ON). It should be able to build TVM with DNNL json BYOC feature and running the file /test/python/relay/test_external_codegen.py should result in all the unit test including DNNL to pass.
Actual behavior
While building, it throws this error:
Some other errors are:
Environment
OS: WSL in Windows Installed OneDNN from WSL terminal only
Steps to reproduce
Set USE_DNNL=ON, LLVM=ON in /build/config.cmake Build OneDNN using the instruction in https://oneapi-src.github.io/oneDNN/dev_guide_build.html mentioned for Linux. build TVM in WSL
Triage