-
-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Package request intel oneapi #74148
Comments
Thank you for your contributions.
|
I created a NUR package for OneAPI: https://github.com/Gricad/nur-packages/blob/master/pkgs/intel/oneapi.nix My |
@svenstaro this looks like a library based on oneapi and not the oneapi toolchain itself. |
I think it's it. The source URLs are all the real deal. |
@svenstaro it isn't oneapi but oneapi-mkl, the package name itself is "mkl" and the description reads :
it isn't oneapi itself but just a library. |
I'm trying to merge the L0 loader and GPU driver in #201063, and would love a review. Thanks! |
Would greatly appreciate this as well. |
@bzizou - what's in the way of merging your OneAPI directly into nixpkgs? |
This would be awesome since I would love to test the numba-dpex project. However, it needs the oneAPI as a prerequisite (see the pypi page of dpctl, a dependency of numba-dpex). I always get the same error message |
I am an engineer at Intel and maintain the numba-dpex project, which is part of the larger oneAPI software stack. I right now have no understanding of Nix and how the packaging works, but wanted to provide few suggestions with respect to @arunoruto's question about numba-dpex. Specific to numba-dpex and dpctl, at this point the whole of oneAPI is not needed. At runtime both numba-dpex and dpctl require the dpcpp compiler runtime and OpenCL/LevelZero drivers. To build from source, the One detour that I can suggest is to build a standalone Nix package for the dpcpp compiler. It is even possible to use the open-source version of the Intel dpcpp compiler (https://github.com/intel/llvm/releases) instead of the proprietary version in oneAPI. The open-source version of the compiler can support Nvidia and AMD devices out of the box along with Intel devices. Once there is a dpcpp compiler package, dpctl and numba-dpex can be built using it. Edit: Tagging @oleksandr-pavlyk who maintains dpctl. |
I think the https://github.com/NixOS/nixpkgs/blob/nixos-23.11/pkgs/development/compilers/llvm/17/llvm/default.nix can be the starting point to build a dpcpp nix package, but instead of using upstream LLVM the https://github.com/intel/llvm repository can be used. |
Thank you for the insights, I actually tried to package that some time ago https://github.com/MordragT/nixos/tree/master/pkgs/xpu-packages (I know weird name). But to support intel arc gpus you would need the proprietary version right ? |
@MordragT I do not think so. There are two aspects for device support:
Based on this, specifically for ARC gpus the open source compiler should work provided both compiler and compute runtime packages have support for them. I normally do not work on these GPUs myself, but will confirm once I get in to work and access one of our lab systems. But, you are right in general there can be devices that are not supported in the open source compiler stack. I also looked at your recipes (?) (sorry coming from conda world), it will also need an extra step for |
Hello, |
So intel just released oneapi and i wish to have it in nixos
basically a gpgpu and other accelerators solution :
https://software.intel.com/en-us/oneapi/base-kit
The text was updated successfully, but these errors were encountered: