Skip to content

Commit 8175710

Browse files
committed
gmm tuning
1 parent 61b7ed6 commit 8175710

File tree

1 file changed

+2
-2
lines changed
  • python/sgl_jax/srt/layers

1 file changed

+2
-2
lines changed

python/sgl_jax/srt/layers/moe.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -223,12 +223,12 @@ def _expert_parallel_forward_with_shard_map(
223223

224224
# 转换为静态整数参数(在动态 m 值上使用最大值作为安全的静态值)
225225
static_tiling_gate = (
226-
min(optimal_tiling_gate[0], 16384), # 设置合理的最大值
226+
optimal_tiling_gate[0], # 设置合理的最大值
227227
optimal_tiling_gate[1],
228228
optimal_tiling_gate[2],
229229
)
230230
static_tiling_down = (
231-
min(optimal_tiling_down[0], 16384),
231+
optimal_tiling_down[0],
232232
optimal_tiling_down[1],
233233
optimal_tiling_down[2],
234234
)

0 commit comments

Comments
 (0)