!eWOErHSaiddIbsUNsJ:nixos.org

NixOS CUDA

308 Members
CUDA packages maintenance and support in nixpkgs | https://github.com/orgs/NixOS/projects/27/ | https://nixos.org/manual/nixpkgs/unstable/#cuda59 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
21 Jan 2026
@glepage:matrix.orgGaétan Lepage The protobuf patching related to onnxruntime was merged into staging.
-> https://github.com/NixOS/nixpkgs/pull/480716
21:33:34
22 Jan 2026
@glepage:matrix.orgGaétan Lepage

Sadness.

I had to package the 12.8 version of cuda-bindings, because we're on cuda 12.8.
However, it dlopens libcuda.so and the driver (on my system at least) tells it that it uses cuda 13.1.
Hence, it errors out :/

https://github.com/NixOS/nixpkgs/pull/482638

(cuda-bindings is supposed to be required in the new torch update, not sure how critical it is though)

12:06:42
@justbrowsing:matrix.orgKevin Mittman (UTC-7) Hmm a bit confused about that issue, as nvidia-smi shows the maximum CUDA version supported and with "backwards compat" should always be able to use a newer NVIDIA driver than a CUDA Toolkit was released with 20:14:30
@glepage:matrix.orgGaétan Lepage The version detection logic happens here and errors out here. 20:48:39
@glepage:matrix.orgGaétan Lepage

Here's the stack trace when I re-enable the failing test:

______________________ ERROR collecting test_nvjitlink.py ______________________
tests/test_nvjitlink.py:62: in <module>
    not check_nvjitlink_usable(), reason="nvJitLink not usable, maybe not installed or too old (<12.3)"
        ^^^^^^^^^^^^^^^^^^^^^^^^
tests/test_nvjitlink.py:58: in check_nvjitlink_usable
    return inner_nvjitlink._inspect_function_pointer("__nvJitLinkVersion") != 0
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
cuda/bindings/_internal/nvjitlink.pyx:254: in cuda.bindings._internal.nvjitlink._inspect_function_pointer
    ???
cuda/bindings/_internal/nvjitlink.pyx:257: in cuda.bindings._internal.nvjitlink._inspect_function_pointer
    ???
cuda/bindings/_internal/nvjitlink.pyx:205: in cuda.bindings._internal.nvjitlink._inspect_function_pointers
    ???
cuda/bindings/_internal/nvjitlink.pyx:99: in cuda.bindings._internal.nvjitlink._check_or_init_nvjitlink
    ???
cuda/bindings/_internal/nvjitlink.pyx:57: in cuda.bindings._internal.nvjitlink.load_library
    ???
cuda/bindings/_internal/utils.pyx:137: in cuda.bindings._internal.utils.get_nvjitlink_dso_version_suffix
    ???
E   cuda.bindings._internal.utils.NotSupportedError: only CUDA 12 driver is supported
------------------------------- Captured stdout --------------------------------
+++++++++++++++ 13010
22:27:19
@glepage:matrix.orgGaétan Lepage The code block mentionned above returns 13010 which fails the 12000 <= driver_ver < 13000 check in cuda/bindings/_internal/utils.pyx. 22:28:37

Show newer messages


Back to Room ListRoom Version: 9