-
Notifications
You must be signed in to change notification settings - Fork 203
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/support older intel mac book pro with gcc 13 #1085
base: main
Are you sure you want to change the base?
Feature/support older intel mac book pro with gcc 13 #1085
Commits on Dec 29, 2023
-
Intel Mac's don't support [AMX](https://www.intel.com/content/www/us/…
…en/products/docs/accelerator-engines/what-is-intel-amx.html) anyway per intel#1081 (comment) Signed-off-by: Luke Nezda <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 00a4adb - Browse repository at this point
Copy the full SHA 00a4adbView commit details -
gcc-13 said
reinterpret_cast<uintptr_t>(nullptr)
was ambiguous ¯\_(……ツ)_/¯ Signed-off-by: Luke Nezda <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5f4e039 - Browse repository at this point
Copy the full SHA 5f4e039View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1b14304 - Browse repository at this point
Copy the full SHA 1b14304View commit details -
disable the build of qbits and the deprecated executor on darwin per i…
…ntel#1081 (comment) Signed-off-by: Luke Nezda <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f02ed60 - Browse repository at this point
Copy the full SHA f02ed60View commit details -
attempting to address error : error: 'sysctlbyname' was not declared …
…in this scope; did you mean 'SYS_sysctlbyname'? ld: library not found for -lrt collect2: error: ld returned 1 exit status [2/164] Building CXX object models/mpt/CMakeFiles/mpt.dir/__/model_utils/util.cpp.o FAILED: models/mpt/CMakeFiles/mpt.dir/__/model_utils/util.cpp.o /usr/local/opt/gcc/bin/g++-13 -DNE_GELU_USE_VEC -DNE_SIMD_VEC_DOT_F16 -I/Users/nezda/code/itrex/intel_extension_for_transformers/llm/runtime/graph -I/Users/nezda/code/itrex/intel_extension_for_transformers/llm/runtime/graph/core/. -I/Users/nezda/code/itrex/intel_extension_for_transformers/llm/library/jblas -O3 -DNDEBUG -std=c++17 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX13.3.sdk -fPIC -mf16c -mfma -mavx -mavx2 -fopenmp -MD -MT models/mpt/CMakeFiles/mpt.dir/__/model_utils/util.cpp.o -MF models/mpt/CMakeFiles/mpt.dir/__/model_utils/util.cpp.o.d -o models/mpt/CMakeFiles/mpt.dir/__/model_utils/util.cpp.o -c /Users/nezda/code/itrex/intel_extension_for_transformers/llm/runtime/graph/models/model_utils/util.cpp /Users/nezda/code/itrex/intel_extension_for_transformers/llm/runtime/graph/models/model_utils/util.cpp: In function 'int32_t get_num_physical_cores()': /Users/nezda/code/itrex/intel_extension_for_transformers/llm/runtime/graph/models/model_utils/util.cpp:36:16: error: 'sysctlbyname' was not declared in this scope; did you mean 'SYS_sysctlbyname'? 36 | int result = sysctlbyname("hw.perflevel0.physicalcpu", &num_physical_cores, &len, NULL, 0); | ^~~~~~~~~~~~ | SYS_sysctlbyname [3/164] Building CXX object models/llama/CMakeFiles/llama.dir/__/model_utils/util.cpp.o FAILED: models/llama/CMakeFiles/llama.dir/__/model_utils/util.cpp.o /usr/local/opt/gcc/bin/g++-13 -DNE_GELU_USE_VEC -DNE_SIMD_VEC_DOT_F16 -I/Users/nezda/code/itrex/intel_extension_for_transformers/llm/runtime/graph -I/Users/nezda/code/itrex/intel_extension_for_transformers/llm/runtime/graph/core/. -I/Users/nezda/code/itrex/intel_extension_for_transformers/llm/library/jblas -O3 -DNDEBUG -std=c++17 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX13.3.sdk -fPIC -mf16c -mfma -mavx -mavx2 -fopenmp -MD -MT models/llama/CMakeFiles/llama.dir/__/model_utils/util.cpp.o -MF models/llama/CMakeFiles/llama.dir/__/model_utils/util.cpp.o.d -o models/llama/CMakeFiles/llama.dir/__/model_utils/util.cpp.o -c /Users/nezda/code/itrex/intel_extension_for_transformers/llm/runtime/graph/models/model_utils/util.cpp /Users/nezda/code/itrex/intel_extension_for_transformers/llm/runtime/graph/models/model_utils/util.cpp: In function 'int32_t get_num_physical_cores()': /Users/nezda/code/itrex/intel_extension_for_transformers/llm/runtime/graph/models/model_utils/util.cpp:36:16: error: 'sysctlbyname' was not declared in this scope; did you mean 'SYS_sysctlbyname'? 36 | int result = sysctlbyname("hw.perflevel0.physicalcpu", &num_physical_cores, &len, NULL, 0); | ^~~~~~~~~~~~ | SYS_sysctlbyname Signed-off-by: Luke Nezda <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 356fa1e - Browse repository at this point
Copy the full SHA 356fa1eView commit details -
don't link to -rt for APPLE either per intel#1081 (reply in thread)
Signed-off-by: Luke Nezda <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 46b64bd - Browse repository at this point
Copy the full SHA 46b64bdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8f99e30 - Browse repository at this point
Copy the full SHA 8f99e30View commit details -
trying to make Intel mac work... (this didn't help?)
Signed-off-by: Luke Nezda <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9087bfb - Browse repository at this point
Copy the full SHA 9087bfbView commit details -
hacked requirements to strip "+cpu" suffix from torch==2.1.0 requirem…
…ents Signed-off-by: Luke Nezda <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5fe2be0 - Browse repository at this point
Copy the full SHA 5fe2be0View commit details -
hacked requirements to strip "+cpu" suffix from torch==2.1.0 requirem…
…ents Signed-off-by: Luke Nezda <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for aae9843 - Browse repository at this point
Copy the full SHA aae9843View commit details -
added missing rope_scale param
Signed-off-by: Luke Nezda <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for beb027b - Browse repository at this point
Copy the full SHA beb027bView commit details -
attempt to deal with missing Linux-only os.sched_getaffinity for maco…
…s too Signed-off-by: Luke Nezda <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for aaee454 - Browse repository at this point
Copy the full SHA aaee454View commit details -
I think f_norm_eps should be rms_norm_eps;
guessed
still missing ff……n_hidden_size, rope_scale, rope_theta - tried to fix write_vocab_only but Params here missing lots too Signed-off-by: Luke Nezda <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for bfec292 - Browse repository at this point
Copy the full SHA bfec292View commit details -
Update intel_extension_for_transformers/llm/runtime/graph/scripts/req…
…uirements/common.txt Co-authored-by: Yi DING <[email protected]> Signed-off-by: Luke Nezda <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4ff62db - Browse repository at this point
Copy the full SHA 4ff62dbView commit details -
on mac (darwin) strip "+cpu" suffix from torch==2.1.0 requirements
Co-authored-by: Yi DING <[email protected]> Signed-off-by: Luke Nezda <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for cd05487 - Browse repository at this point
Copy the full SHA cd05487View commit details -
gcc-13 said
reinterpret_cast<uintptr_t>(nullptr)
was ambiguous ¯\_(……ツ)_/¯ - adjust per code review @DDEle Signed-off-by: Luke Nezda <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 05b66db - Browse repository at this point
Copy the full SHA 05b66dbView commit details