mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-09-26 20:41:53 +08:00
[Optimize]support machete weight only gemm (#3561)
* support machete weight only gemm * add generate * update * fix * change file location * add sm_version limit * fix * fix * fix ci * fix coverage * fix xpu
This commit is contained in:
@@ -54,6 +54,8 @@ environment_variables: dict[str, Callable[[], Any]] = {
|
||||
"FD_SAMPLING_CLASS": lambda: os.getenv("FD_SAMPLING_CLASS", "base"),
|
||||
# Set moe backend."cutlass","marlin" and "triton" can be set currently.
|
||||
"FD_MOE_BACKEND": lambda: os.getenv("FD_MOE_BACKEND", "cutlass"),
|
||||
# Whether to use Machete for wint4 dense gemm.
|
||||
"FD_USE_MACHETE": lambda: os.getenv("FD_USE_MACHETE", "0"),
|
||||
# Set whether to disable recompute the request when the KV cache is full.
|
||||
"FD_DISABLED_RECOVER": lambda: os.getenv("FD_DISABLED_RECOVER", "0"),
|
||||
# Set triton kernel JIT compilation directory.
|
||||
|
Reference in New Issue
Block a user