ipex-llm
ipex-llm copied to clipboard
MacOS libbigquant_avx512.dylib failed to be loaded
I'm trying to run an inference using BigDL and I'm getting the following error:
Issue:
/var/folders/sk/vx8y4czd0ll7fmcv4z7441fw0000gp/T/bigquant.native.307074527125639494/libbigquant_avx512.dylib failed to be loaded.
2021-11-17 11:24:21 INFO SparkContext:54 - Invoking stop() from shutdown hook
2021-11-17 11:24:21 INFO AbstractConnector:318 - Stopped Spark@60b485aa{HTTP/1.1,[http/1.1]}{0.0.0.0:4040}
2021-11-17 11:24:21 INFO SparkUI:54 - Stopped Spark web UI at http://192.168.0.103:4040
2021-11-17 11:24:22 INFO MapOutputTrackerMasterEndpoint:54 - MapOutputTrackerMasterEndpoint stopped!
2021-11-17 11:24:22 INFO MemoryStore:54 - MemoryStore cleared
2021-11-17 11:24:22 INFO BlockManager:54 - BlockManager stopped
2021-11-17 11:24:22 INFO BlockManagerMaster:54 - BlockManagerMaster stopped
2021-11-17 11:24:22 INFO OutputCommitCoordinator$OutputCommitCoordinatorEndpoint:54 - OutputCommitCoordinator stopped!
2021-11-17 11:24:22 INFO SparkContext:54 - Successfully stopped SparkContext
2021-11-17 11:24:22 INFO ShutdownHookManager:54 - Shutdown hook called
2021-11-17 11:24:22 INFO ShutdownHookManager:54 - Deleting directory /private/var/folders/sk/vx8y4czd0ll7fmcv4z7441fw0000gp/T/spark-1a380e9f-9db0-433f-9d3d-cd6a2a13a1a2
System specs:
CPU: Intel(R) Core(TM) i7-1068NG7 CPU @ 2.30GHz OS: MacOS Big Sur 11.6.1
It seams that library is trying to use avx512 library but it isn't compiled for MacOS, only for Linux? Is there a chance to use mkldnn/avx512 on MacOS or force mklblass using some special flag before executing the process? I've tried -Dbigdl.engineType=mklblas but it does not work..
Thanks
Moving the issue to https://github.com/intel-analytics/analytics-zoo-internal/issues/16