Replies: 5 comments 20 replies
-
Although we don't have plan to support Intel Mac, I can try to give you some personal suggestions. For your second error type, I guess that you can just change L369 of |
Beta Was this translation helpful? Give feedback.
-
That definitely got me further - I made a draft PR in fork of this repo #1085 . tldr build now fails with
Thanks in advance @DDEle! |
Beta Was this translation helpful? Give feedback.
-
This may be related...
so I hacked the torch requirement to just |
Beta Was this translation helpful? Give feedback.
-
The torch==2.1.0 should not be the problem as long as the error message is not about Nvidia. We haven't tried to build extension for pytorch on Mac and I am not familiar with the torch part. If you are only interested in the LLM Runtime (Efficient LLM Inference on CPUs), maybe try only building it and see how far we can go? You can disable the build of qbits and the deprecated executor as following BTW, thanks for your interest of ITREX and it would be nice if we can have some limited support for Intel Mac users with help of community. |
Beta Was this translation helpful? Give feedback.
-
Hi @DDEle - I did what you said and another thing and made more progress - changes pushed to #1085 . Error now is below - I plan to look at it again in the morning. I'm interested to see what I can get out of this Intel-based machine for my LLM work - thanks for your help! Kind regards,
|
Beta Was this translation helpful? Give feedback.
-
Hello, All -
It isn't clear to me if this is supposed to work on Intel Macs or not, but I can't get this project to build cleanly on my late 2019 Intel-based MacBook Pro running macOS 13.5. Compilation appears to get fairly close when using
brew install gcc
(13.2.0),export CC=/usr/local/opt/gcc/bin/gcc-13
,export CXX=/usr/local/opt/gcc/bin/g++-13
.pip install -v .
I'm left with 2 kinds of errors one of which I maybe worked around?First error type
intel-extension-for-transformers/intel_extension_for_transformers/llm/library/jblas/jblas/kernel_jit.h
Line 1231 in 43e30bc
db(nullptr, sizeof(intptr_t)); // case 0 should never occur
seems to compileSecond error type
SYS_arch_prctl
is not declared, e.g.,I wasn't sure what to do for that one.
Thoughts?
- Luke
Beta Was this translation helpful? Give feedback.
All reactions