Skip to content

Commit 50cac66

Browse files
yushangdiclaude
andcommitted
Update cuda-bindings minimum version from 13.3.0 to 13.1.0
Address review comment: cudaGraphNodeGetToolsId API was introduced in CUDA 13.1.0, not 13.3.0. Update requirements and tutorial documentation to reflect the correct minimum version. Verified via CUDA documentation that the API first appeared in 13.1.0. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent 72d4e71 commit 50cac66

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.ci/docker/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ fastapi
2626
matplotlib
2727
librosa
2828
torch==2.12
29-
cuda-bindings>=13.3.0 # Required for CUDA graph annotations tutorial
29+
cuda-bindings>=13.1.0 # Required for CUDA graph annotations tutorial
3030
torchvision
3131
torchdata
3232
networkx

advanced_source/cuda_graph_annotations_tutorial.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
* PyTorch 2.12+
2424
* CUDA-capable GPU
2525
* Driver/CUDA-compat >= 13.1 for annotation support
26-
* cuda-bindings >= 13.3.0
26+
* cuda-bindings >= 13.1.0
2727
2828
CUDA graphs are a powerful optimization technique that can significantly reduce
2929
kernel launch overhead by capturing and replaying sequences of CUDA operations.
@@ -81,10 +81,10 @@
8181
# - PyTorch 2.12+
8282
# - A CUDA GPU
8383
# - Driver/CUDA-compat >= 13.1 for annotation support
84-
# - The ``cuda-bindings`` package >= 13.3.0 (``pip install cuda-python``)
84+
# - The ``cuda-bindings`` package >= 13.1.0 (``pip install cuda-python``)
8585
#
8686
# The cuda-bindings package provides the Python bindings for CUDA runtime APIs.
87-
# Version 13.3.0+ is required for the ``cudaGraphNodeGetToolsId`` API that
87+
# Version 13.1.0+ is required for the ``cudaGraphNodeGetToolsId`` API that
8888
# enables kernel annotations. If you have an older version, the tutorial will
8989
# run but annotations will be disabled with a warning message explaining how
9090
# to upgrade.

0 commit comments

Comments
 (0)