mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-05 16:48:03 +08:00
load hadamard_block_size from config (#3797)
This commit is contained in:
@@ -401,10 +401,6 @@ class LLMEngine:
|
||||
"FLAGS_use_append_attn": 1,
|
||||
"NCCL_ALGO": "Ring",
|
||||
"FLAGS_max_partition_size": int(os.getenv("FLAGS_max_partition_size", 1024)),
|
||||
"FLAGS_hardamard_moe_block_size": int(os.getenv("FLAGS_hardamard_moe_block_size", 128)),
|
||||
"FLAGS_hardamard_use_diagonal_block_matrix": int(
|
||||
os.getenv("FLAGS_hardamard_use_diagonal_block_matrix", 0)
|
||||
),
|
||||
}
|
||||
# environment variables needed by Dy2St
|
||||
variables.update(
|
||||
|
Reference in New Issue
Block a user