Skip to content

Commit 5b087f4

Browse files
Andy-Jostclaude
andcommitted
cuda-bindings header check: review wording for the run-time note (NVIDIA#2783)
Per review: "supports any CUDA 13.x toolkit" overstates the claim, and "this cuda-bindings build" names what the note is about. Co-Authored-By: Claude Fable 5.1 <[email protected]>
1 parent 1f05f42 commit 5b087f4

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎cuda_bindings/build_hooks.py‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -151,9 +151,9 @@ def _check_cuda_headers(cuda_path: str) -> None:
151151
if found != needed:
152152
raise RuntimeError(
153153
f"This cuda-bindings source tree needs CUDA {needed} headers, but {_cuda_h_path(cuda_path)} is "
154-
f"CUDA {found}. This is a build-time requirement only: at run time cuda-bindings supports any "
155-
f"CUDA {generated // 1000}.x toolkit, see {_INSTALL_URL}. Point CUDA_PATH or CUDA_HOME at a "
156-
f"CUDA {needed} toolkit, or build from cuda-bindings {found}.x sources."
154+
f"CUDA {found}. This is a build-time requirement only: at run time this cuda-bindings build can be "
155+
f"used with any CUDA {generated // 1000}.x toolkit, see {_INSTALL_URL}. Point CUDA_PATH or CUDA_HOME "
156+
f"at a CUDA {needed} toolkit, or build from cuda-bindings {found}.x sources."
157157
)
158158

159159

0 commit comments

Comments
 (0)