From a526d1d015bc7ae4a5553b2ed87186fc44acbe68 Mon Sep 17 00:00:00 2001 From: Alexander Grund Date: Tue, 13 Oct 2026 14:52:34 +0200 Subject: [PATCH] Hook: Include cuDNN 8.9.2.26 in CUDA CC 0.0a exclusion EESSI/2023.06 uses the older cuDDN version and is now failing the check, even already at the installation of CUDA libraries to `host_injections`. --- eb_hooks.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eb_hooks.py b/eb_hooks.py index fc26f88b..c9645b6f 100644 --- a/eb_hooks.py +++ b/eb_hooks.py @@ -1075,8 +1075,8 @@ def pre_prepare_hook_cudnn(self, *args, **kwargs): """ if self.name == 'cuDNN': - # cuDNN 9.5.0.50 doesn't have support for 9.0a in all binaries - if self.version == "9.5.0.50": + # cuDNN 8.9.2.26 and 9.5.0.50 don't have support for 9.0a in all binaries + if self.version in ('8.9.2.26', '9.5.0.50'): cuda_cc = build_option('cuda_compute_capabilities') if cuda_cc and '9.0a' in cuda_cc: updated_cuda_cc = [v.replace('9.0a', '9.0') for v in cuda_cc]