mirror of
https://github.com/dogkeeper886/ollama37.git
synced 2025-12-18 11:47:07 +00:00
llama: add compiler tags for cpu features (#7137)
This adds the ability to customize the default runner with user specified flags
This commit is contained in:
@@ -46,8 +46,6 @@ endif
|
||||
|
||||
# Override in environment space separated to tune GPU runner CPU vector flags
|
||||
ifeq ($(ARCH),amd64)
|
||||
# TODO may need a bit more work - setting 'GPU_RUNNER_CPU_FLAGS="avx avx2 avx512f avx512bw"' doesn't yield
|
||||
# a system_info showing 'AVX512 = 1' so there may be additional macros that are needed in GGML
|
||||
GPU_RUNNER_CPU_FLAGS ?= avx
|
||||
endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user