Skip to content

Commit

Permalink
[small] Fix norm option in config.cmake (#679)
Browse files Browse the repository at this point in the history
The option name of normalization is not aligned in config.cmake
(`FLASHINFER_NORMALIZATION`) and
[CMakeLists.txt](https://github.com/flashinfer-ai/flashinfer/blob/2bc3214075391c175057302023c4bd99f64b2899/CMakeLists.txt#L44)
(`FLASHINFER_NORM`), so it does not build the test and bench for norm.
This PR changed the option name in config.cmake to `FLASHINFER_NORM` to
align with the option name in CMakeLists.txt.
  • Loading branch information
ByronHsu authored Dec 18, 2024
1 parent caeb3d3 commit d7ac8e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/config.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ set(FLASHINFER_CASCADE ON)
# Whether to compile sampling kernel tests/benchmarks or not.
set(FLASHINFER_SAMPLING ON)
# Whether to compile normalization kernel tests/benchmarks or not.
set(FLASHINFER_NORMALIZATION ON)
set(FLASHINFER_NORM ON)
# Whether to compile fastdiv tests
set(FLASHINFER_FASTDIV_TEST ON)
# Whether to compile fastdequant tests
Expand Down

0 comments on commit d7ac8e3

Please sign in to comment.