Skip to content

Commit e805e6f

Browse files
committed
upd
1 parent 30059a4 commit e805e6f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

flashinfer/fused_moe/core.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1170,7 +1170,7 @@ def refine_tuning_config(cls, tune_max_num_tokens: int):
11701170
DynamicTensorSpec(
11711171
(0, 1, 2, 3, 4, 5),
11721172
(0, 0, 0, 0, 0, 0),
1173-
get_last_power_of_2_num_tokens_buckets(tune_max_num_tokens),
1173+
get_last_power_of_2_num_tokens_buckets(tune_max_num_tokens, 8),
11741174
lambda x: min(last_positive_power_of_2(x), tune_max_num_tokens),
11751175
cls.dynamic_tensor_initializers,
11761176
),
@@ -1181,7 +1181,7 @@ def refine_tuning_config(cls, tune_max_num_tokens: int):
11811181
DynamicTensorSpec(
11821182
(0, 1, 2, 3, 4),
11831183
(0, 0, 0, 0, 0),
1184-
get_last_power_of_2_num_tokens_buckets(tune_max_num_tokens),
1184+
get_last_power_of_2_num_tokens_buckets(tune_max_num_tokens, 8),
11851185
lambda x: min(last_positive_power_of_2(x), tune_max_num_tokens),
11861186
cls.dynamic_tensor_initializers[:5],
11871187
),

0 commit comments

Comments
 (0)