By default, software packaged in source code form has CUDA support disabled, because of the unfree license.Make sure your system configuration has the option enabled. Even with the drivers correctly installed, some software, like Blender, may not see the CUDA GPU.You can check which driver version your GPU supports by visiting the nvidia site and checking the driver version. Some GPUs, like Tesla K80, don't work with the latest drivers, so you must specify them in the option getting the value from your selected kernel, for example, _x11_legacy470.Some things to keep in mind when setting up CUDA in NixOS This can be accomplished in the following ways: There are some possible ways to setup a development environment using CUDA on NixOS. A better resource is likely the packaging CUDA sample code here. Note that these examples haven't been updated in a while (as of ). Several "CUDA-X" libraries are packages as well. You can see where they're defined in nixpkgs here. The CUDA toolkit is available in a number of different versions. Getting set up should be as simple as cachix use cuda-maintainers.ĭata center GPUs: Note that you may need to adjust your driver version to use "data center" GPUs like V100/A100s. If you have an issue using your NVIDIA GPU for computing purposes open an issue on GitHub and tag Using the cuda-maintainers cache is recommended! It will save you valuable time and electrons. These use cases are supported by the team on GitHub. For example, many users rely on NixOS for machine learning both locally and on cloud instances. NixOS supports using NVIDIA GPUs for pure computing purposes, not just for graphics.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |