torcharrow icon indicating copy to clipboard operation
torcharrow copied to clipboard

illegal hardware instruction when running tests on a fresh install on OS X

Open erip opened this issue 3 years ago • 2 comments

Following the instructions in the README to build and test torcharrow leads to an illegal hardware instruction error on OS X 10.15.7. I'm running on 2.9 GHz Dual-Core Intel Core i7 (i386).

(torcharrow-dev) ➜  torcharrow git:(main) python -m unittest -v

test_ArrayColumnInt64 (torcharrow.test.lib_test.test_column.TestArrayColumns) ... [1]    29649 illegal hardware instruction  python -m unittest -v

erip avatar Jan 30 '22 16:01 erip

It seems like some of the guts of the code have an implicit dependency on MACOSX_DEPLOYMENT_TARGET=11. I might be out of luck on this machine. 😅

erip avatar Jan 31 '22 02:01 erip

@erip : This is due to previously Velox/TrochArrow is built with arch=native that causes GCC very aggressively use AVX512. We have fixed it in https://github.com/facebookresearch/torcharrow/pull/315 (in fact the recent portability improvement in Velox/TorchArrow should allow it to work with SSE-only machines). Would you mind try again (or just try the nightly build). Thanks!

wenleix avatar Jun 13 '22 16:06 wenleix

Believe this is fixed via #315 . Feel free to reopen it if it still encounters .

wenleix avatar Nov 21 '22 03:11 wenleix