You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[CMake][Bugfix] Set default value for FLASHINFER_GEN_MASK_MODES (#340)
This commit resolves a build-time error with the following message:
```
CMake Error at 3rdparty/flashinfer/CMakeLists.txt:313 (add_library):
No SOURCES given to target: prefill_kernels
```
This occurred after
#266, which replaces the
`FLASHINFER_GEN_CASUALS` option with `FLASHINFER_GEN_MASK_MODES`.
However, the definition of `flashinfer_option(FLASHINFER_GEN_CASUALS ...
)` was not replaced. As a result, loop over the empty `MASK_MODES` does
not produce any kernels that should be compiled.
This commit updates the `flashinfer_option(FLASH_GEN_CASUALS ...)` line
to instead define `FLASH_GEN_MASK_MODES`, using the same default value
as `config.cmake`.
0 commit comments