You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. Split build.py to two files, because currently the file is over 3000
lines. This PR moves 900 of them to a new file.
2. Put the build args into groups. It makes more explicit that "--x86",
"--arm", "--arm64" and "--arm64ec" args are for Windows only.
3. Remove the "--use_avx512" and "--gen-api-doc" build args, as they are
not referenced anywhere. "--gen-api-doc" was for generating documents
for pytorch frontend.
4. Remove MPI related build flags.
5. Delete tools/ci_build/github/pai/orttraining-ci.yml
6. Remove --use_preinstalled_eigen and --eigen_path. Now we have a more
unified approach for all ORT's dependencies (not just eigen). See
https://onnxruntime.ai/docs/build/dependencies.html for more
information.
7. Windows specific build options won't show up on non-Windows
platforms. The same for macOS.
"MPI is not found. Please define onnxruntime_MPI_HOME to specify the path of MPI. Otherwise, NCCL will be disabled."
1672
-
"or you can remove --use_mpi from build args to disable MPI."
1673
-
)
1674
-
endif()
1675
-
endif()
1676
-
1677
1653
# Find NCCL
1678
1654
if (onnxruntime_USE_NCCL)
1679
1655
if (onnxruntime_USE_CUDA)
@@ -1743,13 +1719,9 @@ if (UNIX OR onnxruntime_USE_NCCL)
1743
1719
endif()
1744
1720
else()
1745
1721
set(onnxruntime_USE_NCCL OFF)
1746
-
set(onnxruntime_USE_MPI OFF)
1747
-
message( WARNING "MPI and NCCL are disabled because build is on Windows or USE_NCCL is set to OFF." )
1722
+
message( WARNING "NCCL is disabled because build is on Windows or USE_NCCL is set to OFF." )
1748
1723
endif()
1749
1724
1750
-
if (onnxruntime_USE_MPI)
1751
-
add_definitions(-DUSE_MPI=1)
1752
-
endif()
1753
1725
1754
1726
# Default version parts for Microsoft.AI.MachineLearning.dll, onnxruntime.dll, onnxruntime_providers_openvino.dll and onnxruntime_providers_shared.dll in non-ADO pipeline local builds
1755
1727
set(VERSION_MAJOR_PART 0 CACHESTRING"First part of numeric file/product version.")
0 commit comments