Skip to content

Build support for cuda 13 - #1809

Merged
ksivaman merged 3 commits into
NVIDIA:mainfrom
ksivaman:cuda13
May 22, 2025
Merged

ksivaman merged 3 commits into
NVIDIA:mainfrom
ksivaman:cuda13

Conversation

@ksivaman

@ksivaman ksivaman commented May 21, 2025 •

Copy link
Copy Markdown
Member

Description

Add build support for CUDA 13. Note: This PR only fixes build failures with cuda13, not any runtime/test fixes.

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

  • Change default cuda architectures to build for based on cuda versions.
  • PFN_cuTensorMapEncodeTiled has been replaced with PFN_cuTensorMapEncodeTiled_v12000, which is defined for cuda 12 and 13.
  • CUBLASLT_MATMUL_DESC_ATOMIC_SYNC_NUM_CHUNKS_D_ROWS and CUBLASLT_MATMUL_DESC_ATOMIC_SYNC_NUM_CHUNKS_D_COLS gemm attributes are deprecated and will been removed in v13.0. This affects nvte_cublas_atomic_gemm which will also be unsupported for cuda13.
  • Misc fixes to ensure build with earlier system cuda/cuDNN versions.

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

Signed-off-by: Kirthi Shankar Sivamani <ksivamani@nvidia.com>
@ksivaman
ksivaman requested a review from ptrendx May 21, 2025 18:05
@ksivaman ksivaman added the build Build system label May 21, 2025
@ksivaman

Copy link
Copy Markdown
Member Author

/te-ci

Signed-off-by: Kirthi Shankar Sivamani <ksivamani@nvidia.com>
Comment thread transformer_engine/common/cudnn_utils.h Resolved
Comment thread transformer_engine/common/cudnn_utils.h Resolved
Signed-off-by: Kirthi Shankar Sivamani <ksivamani@nvidia.com>
@ksivaman

Copy link
Copy Markdown
Member Author

/te-ci

@timmoon10 timmoon10 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ksivaman
ksivaman merged commit 00328ac into NVIDIA:main May 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build Build system

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants