File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -30,21 +30,6 @@ dependencies = [
3030 " haystack-ai>=2.22.0" , " llama-cpp-python>=0.2.87"
3131]
3232
33- # On macOS, building `llama-cpp-python` from source often fails on GitHub runners (CMake: "OpenMP not found"), so we
34- # pull pre-built Metal wheels from a custom index. Linux/Windows resolve normally from PyPI.
35- [[tool .uv .index ]]
36- name = " llama-cpp-python-macos"
37- url = " https://abetlen.github.io/llama-cpp-python/whl/metal/"
38- explicit = true
39- [tool .uv .sources ]
40- llama-cpp-python = [
41- { index = " llama-cpp-python-macos" , marker = " sys_platform == 'darwin'" },
42- ]
43-
44- [tool .uv ]
45- # The 0.3.20 wheel on the macOS Metal index is corrupted (truncated ZIP); skip it on macOS only.
46- override-dependencies = [" llama-cpp-python!=0.3.20; sys_platform == 'darwin'" ]
47-
4833[project .urls ]
4934Documentation = " https://github.com/deepset-ai/haystack-core-integrations/tree/main/integrations/llama_cpp#readme"
5035Issues = " https://github.com/deepset-ai/haystack-core-integrations/issues"
You can’t perform that action at this time.
0 commit comments