flashinfer-ai / flashinfer

FlashInfer: Kernel Library for LLM Serving
https://flashinfer.ai
Apache License 2.0
1.1k stars 98 forks source link

Update CMakeLists.txt #203

Closed shreygupta2809 closed 4 months ago

shreygupta2809 commented 4 months ago

Update COMMAND python to COMMAND python3 to ensure that build uses python 3.X rather than defaulting to python 2.X in case python is not installed in the build environment. Main errors when using python 2.X:

  1. f-strings are not supported which results in syntax error
  2. Pathlib was introduced in python 3.4+ and results in module not found error in lower versions

cc @MasterJH5574