[CI/Build][Bugfix] VLLM_USE_PRECOMPILED should skip compilation (#4534)

Signed-off-by: Travis Johnson <tsjohnso@us.ibm.com>
This commit is contained in:
Travis Johnson 2024-05-01 12:01:50 -06:00 committed by GitHub
parent 69909126a7
commit 8b798eec75
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -378,6 +378,7 @@ package_data = {
"vllm": ["py.typed", "model_executor/layers/fused_moe/configs/*.json"]
}
if os.environ.get("VLLM_USE_PRECOMPILED"):
ext_modules = []
package_data["vllm"].append("*.so")
setup(