Build onnxruntime with training, training_apis, tests and gcc-15#27191
Build onnxruntime with training, training_apis, tests and gcc-15#27191AlekseiNikiforovIBM wants to merge 1 commit intomicrosoft:mainfrom
Conversation
|
@tianleiwu @amarin16, could you please take a look at this change? |
|
@AlekseiNikiforovIBM could you share with us how (and if) you're using onnxruntime-training? |
|
I'm building it as one of optional test dependencies for pytorch like this: https://github.com/pytorch/pytorch/blob/main/.ci/docker/manywheel/Dockerfile_s390x#L129-L144 |
|
Thanks for the information. While this PR can be merged, I would like to share with you that onnxruntime-training is no longer being developed or actively maintained by our team and is not part of our future roadmap at the moment. |
|
Merging this PR would be great. And thank you for notice of ended support. I'll take a look later if I can disable training APIs when building onnxruntime. |
|
Pipelines are stuck. Trying to re-trigger all of them. Closing and re-opening the PR. |
Description
This change is needed to build onnxruntime with gcc-15 when training, training_apis and tests are enabled.
Motivation and Context
When building onnxruntime on fedora 43, both s390x and x86, with following command line, build fails:
./build.sh --config Debug --parallel 0 --enable_pybind --build_wheel --enable_training --enable_training_apis --enable_training_ops --allow_running_as_root --compile_no_warning_as_error.This change fixes build failure caused by cxxopts missing correct includes.