Skip to content

[All] Bump minimum supported cuDNN version to 9.18.1 - #4018

Merged
cyanguwa merged 3 commits into
NVIDIA:mainfrom
cyanguwa:bump_cudnn_9.18.1
Dec 4, 2026
Merged

cyanguwa merged 3 commits into
NVIDIA:mainfrom
cyanguwa:bump_cudnn_9.18.1

Conversation

@cyanguwa

@cyanguwa cyanguwa commented Dec 4, 2026 •

Copy link
Copy Markdown
Collaborator

Description

Raise the cuDNN floor from 9.12.0 to 9.18.1 and drop the version gates that the new floor makes unreachable.

Update the three declaration sites that define the floor: kMinCudnnVersion in cudnn_min_version.h, MIN_CUDNN_VERSION in common/init.py, and the build-time check in cmake/cuDNN.cmake. Update the installation docs and the Gemma tutorial assert to match.

Remove the now-dead support checks for FP8 delayed scaling determinism, FP8 current scaling, THD on sm12x, non-vanilla softmax with THD, the cuDNN <= 9.15 CUDA graph workaround, and the corresponding tests.

The nvidia-cudnn-frontend floor is unchanged at 1.31.0; it tracks a separate release train and is forward compatible with newer cuDNN.

MR 689 bumps the minimum version in our CI Core image to 9.18.1.3. PyTorch/Jax CI image is fine.

Type of change

  • Documentation change (change only to the documentation, either a fix or a new content)
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Infra/Build change
  • Code refactoring

Changes

See Description.

Checklist:

  • I have read and followed the contributing guidelines
  • The functionality is complete
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes

Raise the cuDNN floor from 9.12.0 to 9.18.1 and drop the version gates
that the new floor makes unreachable.

Update the three declaration sites that define the floor: kMinCudnnVersion
in cudnn_min_version.h, MIN_CUDNN_VERSION in common/__init__.py, and the
build-time check in cmake/cuDNN.cmake. Update the installation docs and the
Gemma tutorial assert to match.

Remove the now-dead support checks for FP8 delayed scaling determinism,
FP8 current scaling, THD on sm12x, non-vanilla softmax with THD, the
cuDNN <= 9.15 CUDA graph workaround, and the corresponding tests.

The nvidia-cudnn-frontend floor is unchanged at 1.31.0; it tracks a
separate release train and is forward compatible with newer cuDNN.

Signed-off-by: Charlene Yang <[email protected]>
@greptile-apps

greptile-apps Bot commented Dec 4, 2026 •

Copy link
Copy Markdown
Contributor

Confidence Score: 5/5RetriggerView in Greptile

[Medium impact] The PR appears safe to merge.

Summary

Raises the minimum supported cuDNN version from 9.12.0 to 9.18.1.

  • Transformer Engine requires cuDNN 9.18.1 or newer.
  • Supported attention builds no longer check obsolete cuDNN cutoffs.
  • JAX deterministic backward keeps its limits without a cuDNN version check.

No actionable issues were found. Tests were not run.

Reviews (3) · Last reviewed commit: "Merge branch 'main' into bump_cudnn_9.18..." · Reviewed by Greptile

Raise the cuDNN floor from 9.12.0 to 9.18.1 and drop the version gates
that the new floor makes unreachable.

Update the three declaration sites that define the floor: kMinCudnnVersion
in cudnn_min_version.h, MIN_CUDNN_VERSION in common/__init__.py, and the
build-time check in cmake/cuDNN.cmake. Update the installation docs and the
Gemma tutorial assert to match.

Remove the now-dead support checks for FP8 delayed scaling determinism,
FP8 current scaling, THD on sm12x, non-vanilla softmax with THD, the
cuDNN <= 9.15 CUDA graph workaround, and the corresponding tests.

The nvidia-cudnn-frontend floor is unchanged at 1.31.0; it tracks a
separate release train and is forward compatible with newer cuDNN.

Signed-off-by: Charlene Yang <[email protected]>
@cyanguwa

cyanguwa commented Dec 4, 2026

Copy link
Copy Markdown
Collaborator Author

/te-ci L0 L1

@cyanguwa

cyanguwa commented Dec 4, 2026

Copy link
Copy Markdown
Collaborator Author

/te-ci core

vcherepanov-nv
vcherepanov-nv previously approved these changes Dec 4, 2026
@cyanguwa

cyanguwa commented Dec 4, 2026

Copy link
Copy Markdown
Collaborator Author

/te-ci L0 L1

@cyanguwa

cyanguwa commented Dec 4, 2026

Copy link
Copy Markdown
Collaborator Author

Two previous CI verified the PR and the last CI verified the merge conflict resolution didn't break the TE builds.

@cyanguwa
cyanguwa merged commit 3eac423 into NVIDIA:main Dec 4, 2026
16 of 26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants