Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 213fd03

Browse filesBrowse files
committed
Fix version
1 parent 7e724d5 commit 213fd03
Copy full SHA for 213fd03

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎torch/CMakeLists.txt

Copy file name to clipboardExpand all lines: torch/CMakeLists.txt
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@ add_custom_target(
481481
gen_torch_version ALL
482482
"${Python_EXECUTABLE}" "${TOOLS_PATH}/generate_torch_version.py"
483483
--is-debug=${TORCH_VERSION_DEBUG}
484-
--cuda-version=${CUDAToolkit_VERSION}
484+
--cuda-version=${CUDAToolkit_VERSION_MAJOR}.${CUDAToolkit_VERSION_MINOR}
485485
--hip-version=${HIP_VERSION}
486486
--xpu-version=${SYCL_COMPILER_VERSION}
487487
BYPRODUCTS ${TORCH_SRC_DIR}/version.py

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.