-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathfunction_test.sh
More file actions
executable file
·34 lines (30 loc) · 1.83 KB
/
function_test.sh
File metadata and controls
executable file
·34 lines (30 loc) · 1.83 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#!/usr/bin/env bash
# ## cuda optimized场景bencahmark测试
./scripts/auto-workflow.sh --model Qwen3.5-35B-A3B --device 0 --mode cuda --scenario optimized
## gems optimized场景bencahmark测试
./scripts/auto-workflow.sh --model Qwen3.5-35B-A3B --device 0 --mode gems --scenario optimized
## optimized场景性能报告
./scripts/auto-processing.sh --model Qwen3.5-35B-A3B --workflow bench
# ## cuda optimized场景torch profling
# ./scripts/auto-workflow.sh --model Qwen3.5-35B-A3B --device 0 --mode cuda --torch
## gems optimized场景torch profling
./scripts/auto-workflow.sh --model Qwen3.5-35B-A3B --device 0 --mode gems --torch
## cuda optmized场景torch profling性能报告
./scripts/auto-processing.sh --model Qwen3.5-35B-A3B --workflow torch --mode cuda
## gems optmized场景torch profling性能报告
./scripts/auto-processing.sh --model Qwen3.5-35B-A3B --workflow torch --mode gems
## cuda,gems optimized场景torch profiling性能对比,--mode compare只对已有的cuda和gems profiler结果做对比分析
./scripts/auto-processing.sh --model Qwen3.5-35B-A3B --workflow torch --mode compare
## 汇总所有模型的torch profiling性能报告
python scripts/tools/perf_summary_torch.py
## gems shape场景算子shape导出
./scripts/auto-workflow.sh --model Qwen3.5-35B-A3B --device 0 --scenario shape
## gems shape场景算子shape 解析
./scripts/auto-processing.sh --model Qwen3.5-35B-A3B --workflow shape
## pretune
## gems shape场景mm性能测试
./scripts/auto-workflow.sh --model Qwen3.5-35B-A3B --device 0 --scenario shape --gems-mode mm --gems-once true
## gems shape场景pretune mm性能测试
./scripts/auto-workflow.sh --model Qwen3.5-35B-A3B --device 0 --scenario shape --gems-mode mm --pretune --gems-once true
## gems shape场景mm性能测试报告
./scripts/auto-processing.sh --model Qwen3.5-35B-A3B --workflow shape --report