-
Notifications
You must be signed in to change notification settings - Fork 173
Description
Summary
Hi there,
There is an absolute requirement to have this library distributed on nixpkgs. I'll try to assist best of my abilities but maintainers of this project should maintain this library on nixpkgs as well. I might create a PR to this project soon to make it possible for now(before nixpkgs) this:
nix build github:uxlfoundation/oneMathProblem statement
I managed to run whisper.cpp project on my NixOS system, Lunar Lake laptop can utilize the GPU by installing a custom proprietary OneAPI Toolkit distribution of Intel. However all this process has many setup, installion and build pitfalls and I suspect even 2025.2 distribution is Intels OneMKL, instead of oneMath.
I suspect ggml-sycl project also currently set up to target vendor specific oneMKL currently for this reason:
https://github.com/ggml-org/whisper.cpp/blob/master/ggml/src/ggml-sycl/CMakeLists.txt#L112
Current mkl package on nixpkgs is quite old and lacks plenty of features:
https://search.nixos.org/packages?channel=25.05&from=0&size=50&sort=relevance&type=packages&query=mkl
Preferred solution
nix profile install nixpkgs#onemath
# or declared in flake.nix and $ nix develop picks it up.When we have this package (along with other missing uclfoundation packages on nixpkgs. One of the pain points of edge computing, LLM inferencing now will be cleared up and made much easier to utilize the latest good tools and features. At very least, this will allow for much more minimal and straightforward inference docker containers. Nix has awesome tool to help with this, if we can package this for nixpkgs.
I'll try to help to best of my abilities but as I mentioned, some maintainers hopefully will take on the initiative(s) for all uxlfoundation projects, not only this one ;)