google-coral / pycoral

Python API for ML inferencing and transfer-learning on Coral devices
https://coral.ai
Apache License 2.0
340 stars 138 forks source link

P rebuilt binaries fail to work on x86_64 with no SSE4_1 CPU. #100

Open lukolszewski opened 1 year ago

lukolszewski commented 1 year ago

Description

There is no mention of SSE4_1 in any documentation therefore I'm logging this issue. P rebuilt binaries fail to work on a CPU without SSE4_1 (in my tests specifically with Pentium E2200), however it works fine when the same system is moved to a machine with a CPU that has SSE4_1 (and AVX, but I believe it is SSE4_1 rather than AVX).

The result is that the classification example crashes with either "Illegal instruction" or no message at all. The kernel log always contains a message about "illegal instruction"

On my machine running Debian 11, using Gdb I found the instruction that always caused the crash was pinsrq (one of SSE4_1).

Please update the docs to contain this information so people with older systems don't waste time on the binaries.

Click to expand! ### Issue Type Documentation Bug ### Operating System Linux ### Coral Device M.2 Accelerator B+M ### Other Devices _No response_ ### Programming Language Python 3.9 ### Relevant Log Output _No response_