[BUILD] CUDA_QUANT_PREPROCESS off by default and Adjust CI (#29687)
This pull request updates the build and CI configuration for
CUDA-related workflows and the main CMake options. The main changes are
the addition of new CMake build flags to enable CUDA quantization
preprocessing, improved formatting for build flags, and a change in the
default for the CUDA quant preprocess build option. These updates
improve clarity, make it easier to customize builds, and ensure that the
CUDA quant preprocess module is only built when explicitly requested.
**Build configuration changes:**
* Added the `--cmake_extra_defines
onnxruntime_BUILD_CUDA_QUANT_PREPROCESS=ON` flag to the CUDA build jobs
in `.github/workflows/linux_cuda_ci.yml` and
`.github/workflows/linux_cuda_plugin_ci.yml`, enabling the CUDA
quantization preprocessing module during CI builds.
[[1]](diffhunk://#diff-04806013a5e7991ba5606145885d9b0fcd99a7df1f3bb96a2d38fc724ccd9b2aL32-R46)
[[2]](diffhunk://#diff-04806013a5e7991ba5606145885d9b0fcd99a7df1f3bb96a2d38fc724ccd9b2aL114-R138)
[[3]](diffhunk://#diff-64cd92765a9461e73a80c6b0401fe1960170834725a7e8a2ea153aff6d8f8388R45)
* Added the `--cmake_extra_defines onnxruntime_QUICK_BUILD=ON` and
`--cmake_extra_defines onnxruntime_USE_FPA_INTB_GEMM=OFF` flags to the
CUDA no-cudnn build job for faster builds and to disable a specific GEMM
implementation.
[[1]](diffhunk://#diff-4e310144ab53bd9b6e48c7ceba29ad2c310724645278a28b85f7ba3a453c4980L35-R47)
[[2]](diffhunk://#diff-04806013a5e7991ba5606145885d9b0fcd99a7df1f3bb96a2d38fc724ccd9b2aL114-R138)
**Formatting and maintainability:**
* Reformatted long `extra_build_flags` strings in workflow YAML files to
use multi-line lists for improved readability and easier maintenance.
[[1]](diffhunk://#diff-04806013a5e7991ba5606145885d9b0fcd99a7df1f3bb96a2d38fc724ccd9b2aL32-R46)
[[2]](diffhunk://#diff-04806013a5e7991ba5606145885d9b0fcd99a7df1f3bb96a2d38fc724ccd9b2aL114-R138)
[[3]](diffhunk://#diff-4e310144ab53bd9b6e48c7ceba29ad2c310724645278a28b85f7ba3a453c4980L35-R47)
**CMake option default change:**
* Changed the default value of the
`onnxruntime_BUILD_CUDA_QUANT_PREPROCESS` CMake option from `ON` to
`OFF` in `cmake/CMakeLists.txt`, so the CUDA quantization preprocessing
module is only built when explicitly enabled.