[BUILD] CUDA_QUANT_PREPROCESS off by default and Adjust CI#29687
Open
tianleiwu wants to merge 1 commit into
Open
[BUILD] CUDA_QUANT_PREPROCESS off by default and Adjust CI#29687tianleiwu wants to merge 1 commit into
tianleiwu wants to merge 1 commit into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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:
--cmake_extra_defines onnxruntime_BUILD_CUDA_QUANT_PREPROCESS=ONflag to the CUDA build jobs in.github/workflows/linux_cuda_ci.ymland.github/workflows/linux_cuda_plugin_ci.yml, enabling the CUDA quantization preprocessing module during CI builds. [1] [2] [3]--cmake_extra_defines onnxruntime_QUICK_BUILD=ONand--cmake_extra_defines onnxruntime_USE_FPA_INTB_GEMM=OFFflags to the CUDA no-cudnn build job for faster builds and to disable a specific GEMM implementation. [1] [2]Formatting and maintainability:
extra_build_flagsstrings in workflow YAML files to use multi-line lists for improved readability and easier maintenance. [1] [2] [3]CMake option default change:
onnxruntime_BUILD_CUDA_QUANT_PREPROCESSCMake option fromONtoOFFincmake/CMakeLists.txt, so the CUDA quantization preprocessing module is only built when explicitly enabled.