diff --git a/pyproject.toml b/pyproject.toml
index 018dde3d380b39f1dcf52eee81a6066afe11d49e..155976423d7b000d52e24dcab9f8ba4ef4da1123 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -58,11 +58,16 @@ before-build = [
     "yum repolist -v",
     "yum-config-manager --add-repo https://developer.download.nvidia.com/compute/cuda/repos/rhel7/x86_64/cuda-rhel7.repo",
     "yum clean all",
-    "echo '\n\n\n\n yum -y install cuda-toolkit-11-8.x86_64'",
-    "yum -y install cuda-toolkit-11-8.x86_64",
+    "nvidia-smi",
+    "echo '\n\n\n\n yum -y install cuda-toolkit-12-5.x86_64'",
+    "yum -y install cuda-toolkit-12-5.x86_64",
     "ls -al /usr/local",
     "export PATH=$PATH:/usr/local/cuda/bin",
     "nvcc --version",
+    "echo ''",
+    "echo ''",
+    "echo 'Installing required dependencies for aidge_backend_cuda.'",
+    "echo ''",
     "bash .gitlab/ci/cibuildwheel_build_deps_before_build_wheel.sh /host"
 ]
 before-test = [