Skip to content

[BUILD] CUDA_QUANT_PREPROCESS off by default and Adjust CI#29687

Open
tianleiwu wants to merge 1 commit into
mainfrom
tlwu/20260713/adjust_build_options
Open

[BUILD] CUDA_QUANT_PREPROCESS off by default and Adjust CI#29687
tianleiwu wants to merge 1 commit into
mainfrom
tlwu/20260713/adjust_build_options

Conversation

@tianleiwu

Copy link
Copy Markdown
Contributor

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] [2] [3]
  • 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] [2]

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] [2] [3]

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant