Repository navigation
Conversation
On ROCm builds with USE_ROCM_CK_GEMM=OFF, GroupedBlas.cpp still included ck_group_gemm.h and emitted a source-level reference to at::hip::detail::group_gemm_ck(...) inside an always-false `if (use_fast_path)` branch. The Linux/legacy-CMake build path tolerated this (dead-code-elimination hid the unresolved symbol), but the Windows build under enable_language(HIP) in #180485 surfaces it as a linker failure. Gate the include and the call site uniformly on USE_ROCM_CK_GEMM and replace the bool indirection with explicit `#if defined(USE_ROCM_CK_GEMM)` / `#else`, so the fallback path is the only thing the compiler sees when CK is disabled. Split out from #180485 per @malfet review. Authored with Claude Code.
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/182615
Note: Links to docs will display an error until the docs builds have been completed. ❌ 1 Cancelled JobAs of commit f54973f with merge base 3222b7c ( CANCELLED JOB - The following job was cancelled. Please retry:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
This PR needs a
|
|
@pytorchbot merge -f "forcing due to canceled unnecessary H100 job; all other CI ok" |
Merge startedYour change will be merged immediately since you used the force (-f) flag, bypassing any CI checks (ETA: 1-5 minutes). Please use Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
On ROCm builds with USE_ROCM_CK_GEMM=OFF, GroupedBlas.cpp still included ck_group_gemm.h and emitted a source-level reference to at::hip::detail::group_gemm_ck(...) inside an always-false `if (use_fast_path)` branch. The Linux/legacy-CMake build path tolerated this (dead-code-elimination hid the unresolved symbol), but the Windows build under enable_language(HIP) in pytorch#180485 surfaces it as a linker failure. Gate the include and the call site uniformly on USE_ROCM_CK_GEMM and replace the bool indirection with explicit `#if defined(USE_ROCM_CK_GEMM)` / `#else`, so the fallback path is the only thing the compiler sees when CK is disabled. Split out from pytorch#180485 per @malfet review. Authored with Claude Code. Pull Request resolved: pytorch#182615 Approved by: https://github.com/malfet
On ROCm builds with USE_ROCM_CK_GEMM=OFF, GroupedBlas.cpp still included ck_group_gemm.h and emitted a source-level reference to at::hip::detail::group_gemm_ck(...) inside an always-false `if (use_fast_path)` branch. The Linux/legacy-CMake build path tolerated this (dead-code-elimination hid the unresolved symbol), but the Windows build under enable_language(HIP) in pytorch#180485 surfaces it as a linker failure. Gate the include and the call site uniformly on USE_ROCM_CK_GEMM and replace the bool indirection with explicit `#if defined(USE_ROCM_CK_GEMM)` / `#else`, so the fallback path is the only thing the compiler sees when CK is disabled. Split out from pytorch#180485 per @malfet review. Authored with Claude Code. Pull Request resolved: pytorch#182615 Approved by: https://github.com/malfet
On ROCm builds with USE_ROCM_CK_GEMM=OFF, GroupedBlas.cpp still included ck_group_gemm.h and emitted a source-level reference to at::hip::detail::group_gemm_ck(...) inside an always-false `if (use_fast_path)` branch. The Linux/legacy-CMake build path tolerated this (dead-code-elimination hid the unresolved symbol), but the Windows build under enable_language(HIP) in pytorch#180485 surfaces it as a linker failure. Gate the include and the call site uniformly on USE_ROCM_CK_GEMM and replace the bool indirection with explicit `#if defined(USE_ROCM_CK_GEMM)` / `#else`, so the fallback path is the only thing the compiler sees when CK is disabled. Split out from pytorch#180485 per @malfet review. Authored with Claude Code. Pull Request resolved: pytorch#182615 Approved by: https://github.com/malfet
On ROCm builds with USE_ROCM_CK_GEMM=OFF, GroupedBlas.cpp still included ck_group_gemm.h and emitted a source-level reference to at::hip::detail::group_gemm_ck(...) inside an always-false `if (use_fast_path)` branch. The Linux/legacy-CMake build path tolerated this (dead-code-elimination hid the unresolved symbol), but the Windows build under enable_language(HIP) in pytorch#180485 surfaces it as a linker failure. Gate the include and the call site uniformly on USE_ROCM_CK_GEMM and replace the bool indirection with explicit `#if defined(USE_ROCM_CK_GEMM)` / `#else`, so the fallback path is the only thing the compiler sees when CK is disabled. Split out from pytorch#180485 per @malfet review. Authored with Claude Code. Pull Request resolved: pytorch#182615 Approved by: https://github.com/malfet
On ROCm builds with USE_ROCM_CK_GEMM=OFF, GroupedBlas.cpp still included ck_group_gemm.h and emitted a source-level reference to at::hip::detail::group_gemm_ck(...) inside an always-false
if (use_fast_path)branch. The Linux/legacy-CMake build path tolerated this (dead-code-elimination hid the unresolved symbol), but the Windows build under enable_language(HIP) in #180485 surfaces it as a linker failure.Gate the include and the call site uniformly on USE_ROCM_CK_GEMM and replace the bool indirection with explicit
#if defined(USE_ROCM_CK_GEMM)/#else, so the fallback path is the only thing the compiler sees when CK is disabled.Split out from #180485 per @malfet review.
Authored with Claude Code.
cc @sunway513 @jithunnair-amd @pruthvistony @ROCmSupport @jataylo @hongxiayang @naromero77amd @pragupta @jerrymannil @xinyazhang