[Doc] add env docs for flashinfer backend (#6437)

This commit is contained in:
DefTruth 2024-07-15 12:16:51 +08:00 committed by GitHub
parent b47008b4d2
commit 44874a0bf9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -206,6 +206,7 @@ environment_variables: Dict[str, Callable[[], Any]] = {
# - "FLASH_ATTN": use FlashAttention
# - "XFORMERS": use XFormers
# - "ROCM_FLASH": use ROCmFlashAttention
# - "FLASHINFER": use flashinfer
"VLLM_ATTENTION_BACKEND":
lambda: os.getenv("VLLM_ATTENTION_BACKEND", None),