Renew scripts
This commit is contained in:
@@ -73,7 +73,7 @@ ttgir 关键设计:
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
# A 侧(基线编译器):正常跑,自动 record autotune 选择
|
# A 侧(基线编译器):正常跑,自动 record autotune 选择
|
||||||
bash run_pytest.sh # -> runs/<op>_<ts_A>/
|
bash run_pytest.sh # -> runs/<op>_<ts_A>/
|
||||||
|
|
||||||
# B 侧(改动后编译器):replay A 侧的 config,保证两侧同 config
|
# B 侧(改动后编译器):replay A 侧的 config,保证两侧同 config
|
||||||
REPLAY_FROM=$PWD/runs/<op>_<ts_A> bash run_pytest.sh
|
REPLAY_FROM=$PWD/runs/<op>_<ts_A> bash run_pytest.sh
|
||||||
|
|||||||
+16
-21
@@ -21,28 +21,23 @@ FLAGGEMS_DIR="${FLAGGEMS_DIR:-/workspace/FlagGems-dev}"
|
|||||||
SHAPE_FILE="${SHAPE_FILE:-}"
|
SHAPE_FILE="${SHAPE_FILE:-}"
|
||||||
read -r -d '' INLINE_YAML <<'YAML' || true
|
read -r -d '' INLINE_YAML <<'YAML' || true
|
||||||
fused_marlin_moe_mxfp4:
|
fused_marlin_moe_mxfp4:
|
||||||
# 4 个 MoE 模型 x 4 档 token 数(M=1,16,64,256)= 16 组 shape
|
|
||||||
shapes:
|
shapes:
|
||||||
# Mixtral (E=8)
|
- [1, 256, 4096, 256, 6]
|
||||||
- [1, 8, 4096, 14336, 2]
|
- [2, 256, 4096, 256, 6]
|
||||||
- [16, 8, 4096, 14336, 2]
|
- [4, 256, 4096, 256, 6]
|
||||||
- [64, 8, 4096, 14336, 2]
|
- [8, 256, 4096, 256, 6]
|
||||||
- [256, 8, 4096, 14336, 2]
|
- [16, 256, 4096, 256, 6]
|
||||||
# DeepSeek-V3 (E=256, H=7168)
|
- [32, 256, 4096, 256, 6]
|
||||||
- [1, 256, 7168, 2048, 8]
|
- [64, 256, 4096, 256, 6]
|
||||||
- [16, 256, 7168, 2048, 8]
|
- [128, 256, 4096, 256, 6]
|
||||||
- [64, 256, 7168, 2048, 8]
|
- [256, 256, 4096, 256, 6]
|
||||||
- [256, 256, 7168, 2048, 8]
|
- [512, 256, 4096, 256, 6]
|
||||||
# Qwen3 (E=512)
|
- [1024, 256, 4096, 256, 6]
|
||||||
- [1, 512, 4096, 1024, 10]
|
- [2048, 256, 4096, 256, 6]
|
||||||
- [16, 512, 4096, 1024, 10]
|
- [4096, 256, 4096, 256, 6]
|
||||||
- [64, 512, 4096, 1024, 10]
|
- [8192, 256, 4096, 256, 6]
|
||||||
- [256, 512, 4096, 1024, 10]
|
- [16384, 256, 4096, 256, 6]
|
||||||
# DeepSeek-V4-Flash (E=256, H=4096)
|
- [32768, 256, 4096, 256, 6]
|
||||||
- [1, 256, 4096, 2048, 6]
|
|
||||||
- [16, 256, 4096, 2048, 6]
|
|
||||||
- [64, 256, 4096, 2048, 6]
|
|
||||||
- [256, 256, 4096, 2048, 6]
|
|
||||||
shape_desc: "num_tokens, num_experts, hidden_size, intermediate_size, topk"
|
shape_desc: "num_tokens, num_experts, hidden_size, intermediate_size, topk"
|
||||||
YAML
|
YAML
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,19 @@
|
|||||||
|
fused_marlin_moe_mxfp4:
|
||||||
|
shapes:
|
||||||
|
- [1, 256, 4096, 256, 6]
|
||||||
|
- [2, 256, 4096, 256, 6]
|
||||||
|
- [4, 256, 4096, 256, 6]
|
||||||
|
- [8, 256, 4096, 256, 6]
|
||||||
|
- [16, 256, 4096, 256, 6]
|
||||||
|
- [32, 256, 4096, 256, 6]
|
||||||
|
- [64, 256, 4096, 256, 6]
|
||||||
|
- [128, 256, 4096, 256, 6]
|
||||||
|
- [256, 256, 4096, 256, 6]
|
||||||
|
- [512, 256, 4096, 256, 6]
|
||||||
|
- [1024, 256, 4096, 256, 6]
|
||||||
|
- [2048, 256, 4096, 256, 6]
|
||||||
|
- [4096, 256, 4096, 256, 6]
|
||||||
|
- [8192, 256, 4096, 256, 6]
|
||||||
|
- [16384, 256, 4096, 256, 6]
|
||||||
|
- [32768, 256, 4096, 256, 6]
|
||||||
|
shape_desc: "num_tokens, num_experts, hidden_size, intermediate_size, topk"
|
||||||
Reference in New Issue
Block a user