Open mrohera opened 5 years ago
I've seen this on a PC running an older Intel "sandybridge" CPU. Seems LLVM is getting stuck. The bug is being investigated.
Try running this to produce the required model.o object file:
d:/git/ELL/ELL/build/bin/release/compile -imap model.ell -cfn Predict -cmn model --target host -od model --fuseLinearOps True --optimizeReorderDataNodes True --header --blas true --optimize true --objectCode
Thanks for getting back! After following the tutorial I created the build dir and ran cmake. I do not have the compile executable as per your comment above. If you have a writeup to generate a model.o that is perfect and exactly what I am after.
Hi,
Is the compile
executable perhaps in /homne/marohera/git/ell/ELL/build/bin
? (without the 'release')?
Found it under /ELL/build/bin sorry it was my bad, I issued the command and looks like it worked. Thanks Chris.
ls -lr model
total 100140
-rw-r--r-- 1 marohera marohera 66 Feb 4 14:31 opt.log
-rw-r--r-- 1 marohera marohera 7813 Feb 4 14:30 OpenBLASSetup.cmake
-rw-r--r-- 1 marohera marohera 36665152 Feb 4 14:31 model.opt.bc
-rw-r--r-- 1 marohera marohera 29588496 Feb 5 11:06 model.o
-rw-r--r-- 1 marohera marohera 3816 Feb 5 11:06 model.h
-rw-r--r-- 1 marohera marohera 36254288 Feb 4 14:31 model.bc
-rw-r--r-- 1 marohera marohera 101 Feb 4 14:31 llc.log
drwxr-xr-x 2 marohera marohera 4096 Feb 3 17:53 include
-rw-r--r-- 1 marohera marohera 208 Feb 4 14:30 compile.log
Just FYI here is the output of /proc/cpuinfo/
cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 58
model name : Intel(R) Core(TM) i7-3667U CPU @ 2.00GHz
This is the Intel's product page for this CPU: https://ark.intel.com/products/64898/Intel-Core-i7-3667U-Processor-4M-Cache-up-to-3-20-GHz-
Oh, and be sure to add "--target pi3" to the compile command line if you plan to run that model on your raspberry pi.
Following the instructions here: https://microsoft.github.io/ELL/tutorials/Getting-started-with-image-classification-in-cpp/, I am seeing that the build is essentially stalled and I have to CTRL+C to kill the build. Could you kindly suggest what am I missing?