-
MLX - dynamic loading of mlx-c (#13735)
发布于
2026-01-17 00:34:22 +00:00 - MLX - dynamic loading of mlx-c
Create a wrapper layer to indirect the dependency on mlx-c so
the main ollama binary does not have a load-time dependency on mlx-c, mlx, and on linux, cuda. Lazy load the library via dlopen
so we can adjust the path to ensure the dependencies are found
and fail gracefully if not present.-
review comments
-
fix broken tests
下载附件