Skip to content

Commit a6df8f0

Browse files
committed
Revert "[ROCm] Use a ROCm version string without hash. (pytorch#166336)"
This reverts commit a77f5d9.
1 parent 3d74218 commit a6df8f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

torch/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,7 @@ add_custom_target(
490490
"${Python_EXECUTABLE}" "${TOOLS_PATH}/generate_torch_version.py"
491491
--is-debug=${TORCH_VERSION_DEBUG}
492492
--cuda-version=${CUDA_VERSION}
493-
--hip-version=${ROCM_VERSION_DEV}
493+
--hip-version=${HIP_VERSION}
494494
--xpu-version=${SYCL_COMPILER_VERSION}
495495
BYPRODUCTS ${TORCH_SRC_DIR}/version.py
496496
COMMENT "Regenerating version file..."

0 commit comments

Comments
 (0)