Skip to content

Commit

Permalink
Update to fix rccl error in Microsoft CI
Browse files Browse the repository at this point in the history
  • Loading branch information
TedThemistokleous committed Jul 10, 2024
1 parent ddb339b commit 4e9996e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1554,7 +1554,7 @@ if (UNIX AND onnxruntime_USE_NCCL)
if (onnxruntime_USE_NCCL)
if (onnxruntime_USE_CUDA)
set(NCCL_LIBNAME "nccl")
elseif (onnxruntime_USE_ROCM)
elseif (onnxruntime_USE_ROCM) OR (onnxruntime_USE_MIGRAPHX)
set(NCCL_LIBNAME "rccl")
endif()
find_path(NCCL_INCLUDE_DIR
Expand Down

0 comments on commit 4e9996e

Please sign in to comment.