Deterministic Mode: Add 1-stage triton kernel for prefill (#11147)
Co-authored-by: Minglei Zhu <mingleizhu1122@gmail.com> Co-authored-by: Binyao Jiang <bijiang@linkedin.com>
This commit is contained in:
co-authored by
Minglei Zhu
Binyao Jiang
parent
7a020e0f3b
commit
4fff1ec1d9
@@ -1431,8 +1431,8 @@ class ServerArgs:
|
||||
f"but you explicitly specified '{self.attention_backend}'."
|
||||
)
|
||||
|
||||
# Currently, only FA3 supports radix cache. Support for other backends is in progress
|
||||
if self.attention_backend != "fa3":
|
||||
# Currently, only FA3 and Triton supports radix cache. Support for other backends is in progress
|
||||
if self.attention_backend not in ["fa3", "triton"]:
|
||||
self.disable_radix_cache = True
|
||||
logger.warning(
|
||||
f"Currently radix cache is not compatible with {self.attention_backend} attention backend for deterministic inference. It will be supported in the future."
|
||||
|
||||
Reference in New Issue
Block a user