microsoft / ELL

Embedded Learning Library
https://microsoft.github.io/ELL
Other
2.29k stars 295 forks source link

wrap.py: WrapException: <class 'buildtools.EllBuildToolsRunException'> #200

Closed jnbli closed 5 years ago

jnbli commented 5 years ago

I've put model.ell and categories.txt in a the same folder and run wrap.py, and I am getting an exception.

python3 /Users/jonathanli/Applications/squirrel-tracker/ELL/tools/wrap/wrap.py --model_file model.ell --language python --target host

copy "/Users/jonathanli/Applications/squirrel-tracker/ELL/CMake/OpenBLASSetup.cmake" "host/OpenBLASSetup.cmake" compiling model... /Users/jonathanli/Applications/squirrel-tracker/ELL/build/bin/compile -imap model.ell -cfn Predict -cmn model --bitcode --target host -od host --fuseLinearOps True --optimizeReorderDataNodes True --swig --blas true --optimize true

WrapException: <class 'buildtools.EllBuildToolsRunException'>: /Users/jonathanli/Applications/squirrel-tracker/ELL/build/bin/compile -imap model.ell -cfn Predict -cmn model --bitcode --target host -od host --fuseLinearOps True --optimizeReorderDataNodes True --swig --blas true --optimize true

lovettchris commented 5 years ago

Can you run just the "compile" part of this command again with "--verbose" and report the output you see?

/Users/jonathanli/Applications/squirrel-tracker/ELL/build/bin/compile -imap model.ell -cfn Predict -cmn model --bitcode --target host -od host --fuseLinearOps True --optimizeReorderDataNodes True --swig --blas true --optimize true --verbose
lovettchris commented 5 years ago

Please try the latest bits.