!eWOErHSaiddIbsUNsJ:nixos.org

NixOS CUDA

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

Load older messages


SenderMessageTime
28 May 2026
@glepage:matrix.orgGaétan Lepage

No, it's a compilation error:

/nix/store/9bvirxizyiq3pg5rmgpz2f6aw6y7c1fm-cuda13.2-cuda_cccl-13.2.27/include/cub/device/device_transform.cuh:44:111: error: global qualification of class name is invalid before ':' token
   44 | struct ::cuda::proclaims_copyable_arguments<CUB_NS_QUALIFIER::detail::__return_constant<T>> : ::cuda::std::true_type
      |                                                                                                               ^
/nix/store/9bvirxizyiq3pg5rmgpz2f6aw6y7c1fm-cuda13.2-cuda_cccl-13.2.27/include/cub/device/device_transform.cuh:44:111: error: expected '{' before ':' token
make[2]: *** [CMakeFiles/onnxruntime_providers_cuda.dir/build.make:8382: CMakeFiles/onnxruntime_providers_cuda.dir/build/source/onnxruntime/contrib_ops/cuda/math/bias_softmax_impl.cu.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /nix/store/54yzskzwmapls2awvih149wyzci717gw-onnx-src/onnx/version_converter/convert.cc:5:
/nix/store/54yzskzwmapls2awvih149wyzci717gw-onnx-src/onnx/version_converter/convert.h: In constructor 'onnx::version_conversion::DefaultVersionConverter::DefaultVersionConverter()':
/nix/store/54yzskzwmapls2awvih149wyzci717gw-onnx-src/onnx/version_converter/convert.h:110:3: note: variable tracking size limit exceeded with '-fvar-tracking-assignments', retrying without
  110 |   DefaultVersionConverter() {
      |   ^~~~~~~~~~~~~~~~~~~~~~~
/nix/store/9bvirxizyiq3pg5rmgpz2f6aw6y7c1fm-cuda13.2-cuda_cccl-13.2.27/include/cub/device/device_transform.cuh:44:111: error: global qualification of class name is invalid before ':' token
   44 | struct ::cuda::proclaims_copyable_arguments<CUB_NS_QUALIFIER::detail::__return_constant<T>> : ::cuda::std::true_type
      |                                                                                                               ^
/nix/store/9bvirxizyiq3pg5rmgpz2f6aw6y7c1fm-cuda13.2-cuda_cccl-13.2.27/include/cub/device/device_transform.cuh:44:111: error: expected '{' before ':' token
make[2]: *** [CMakeFiles/onnxruntime_providers_cuda.dir/build.make:8562: CMakeFiles/onnxruntime_providers_cuda.dir/build/source/onnxruntime/contrib_ops/cuda/moe/ft_moe/moe_kernel.cu.o] Error 1
19:57:26
@sporeray:matrix.orgRobbie Buxton Oh I think I fixed this actually one sec 20:01:17
@sporeray:matrix.orgRobbie BuxtonTry adding as a patch opencv/opencv_contrib pull request 409720:03:22
@sporeray:matrix.orgRobbie BuxtonSorry for not sending a link on mobile20:03:32
@glepage:matrix.orgGaétan LepageThanks so much.20:16:00
@sporeray:matrix.orgRobbie Buxton I didn’t need to patch onnxruntime tho just disable to tests 20:17:09
@sporeray:matrix.orgRobbie Buxton Was running 1.24.4 which is in master 20:17:25
@glepage:matrix.orgGaétan Lepage It does not apply on 4.13.0 though... modules/cudev/include/opencv2/cudev/ptr2d/zip.hpp does not exist 20:23:01
@sporeray:matrix.orgRobbie Buxton Weird, it applies for me 20:26:07
@glepage:matrix.orgGaétan Lepage This one?
https://github.com/opencv/opencv_contrib/commit/f2854f4f5e7b67d4e073ea002ae0174d437e2962
20:27:11
@sporeray:matrix.orgRobbie Buxton Yup as an overlay we add it to the patch list if cuda support is enabled 20:28:04
@sporeray:matrix.orgRobbie Buxton Using fetchPatch with stripLen2 with extraPrefix = opencv_contrib/ 20:28:55
@sporeray:matrix.orgRobbie Buxton * Using fetchPatch with stripLen = 2 with extraPrefix = opencv_contrib/ 20:29:08
@glepage:matrix.orgGaétan LepageIndeed. You rock!20:31:40
@glepage:matrix.orgGaétan Lepage https://github.com/NixOS/nixpkgs/pull/525342 20:38:41
@glepage:matrix.orgGaétan Lepage Fixes onnxruntime too: https://github.com/NixOS/nixpkgs/pull/525369 22:11:56
29 May 2026
@berrij:fairydust.spaceBerriJHere you go: https://uni-duisburg-essen.sciebo.de/s/r44i7DSJJWBoBag The password is: 123404:11:59
@glepage:matrix.orgGaétan Lepage

Here's a good one 🥲🐸

https://github.com/NixOS/nixpkgs/pull/525504
cc Kevin Mittman (UTC-7)

09:34:51
@glepage:matrix.orgGaétan Lepage *

Here's a good one 🥲🐸

https://github.com/NixOS/nixpkgs/pull/525504
cc Kevin Mittman (UTC-7)

(Maybe I'm just holding it wrong and I badly packaged apex)

09:39:24
30 May 2026
@justbrowsing:matrix.orgKevin Mittman (UTC-7)Yeah I wish it was a consistent interface, have run into similar elsewhere02:13:22
@glepage:matrix.orgGaétan LepageUnfortunately, my fix now breaks the build with our default set of capabilities08:51:20
@613fd0ba9f744876:matrix.orgFlakeyForger joined the room.18:10:46
@613fd0ba9f744876:matrix.orgFlakeyForger set a profile picture.18:21:02
@613fd0ba9f744876:matrix.orgFlakeyForger removed their profile picture.18:25:15
@613fd0ba9f744876:matrix.orgFlakeyForger set a profile picture.18:25:26
1 Jun 2026
@glepage:matrix.orgGaétan LepageMerged!18:28:28
2 Jun 2026
@bjth:matrix.orgBryan HonofWould it be worth backporting that one to 26.05?07:47:09
@glepage:matrix.orgGaétan Lepage

Tehcnically yes, but the team is currently

  • under staffed
  • lacking compute, both for CI and development/testing

So we're doing our best to keep the lights on and things somehow up to date. All the extra, as much as we'd love to do (and I truly do) is currently out of scope.

(Having said that, backporting this one to 26.05 shouldn't be too bad. Don't hesitate to open a PR, I'll try to do it today otherwise)

07:58:19
@glepage:matrix.orgGaétan Lepage Opened the backport PR :) : https://github.com/NixOS/nixpkgs/pull/527055 08:57:59
@glepage:matrix.orgGaétan Lepage *

Opened the backport PR :) : https://github.com/NixOS/nixpkgs/pull/527055

Testing is ongoing

08:58:09

Show newer messages


Back to Room ListRoom Version: 9