Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
PaddleClas
提交
e01c7e87
P
PaddleClas
项目概览
PaddlePaddle
/
PaddleClas
大约 1 年 前同步成功
通知
115
Star
4999
Fork
1114
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
19
列表
看板
标记
里程碑
合并请求
6
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
PaddleClas
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
19
Issue
19
列表
看板
标记
里程碑
合并请求
6
合并请求
6
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
未验证
提交
e01c7e87
编写于
3月 17, 2022
作者:
W
Walter
提交者:
GitHub
3月 17, 2022
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #1757 from RainFrost1/benchmark_bug
fix static r50 N1C8 benchmark
上级
b51e58bf
64033b36
变更
26
隐藏空白更改
内联
并排
Showing
26 changed file
with
243 addition
and
9 deletion
+243
-9
test_tipc/static/ResNet50/N1C1/ResNet50_bs128_amp_fp16_DP.sh
test_tipc/static/ResNet50/N1C1/ResNet50_bs128_amp_fp16_DP.sh
+12
-0
test_tipc/static/ResNet50/N1C1/ResNet50_bs128_fp32_DP.sh
test_tipc/static/ResNet50/N1C1/ResNet50_bs128_fp32_DP.sh
+16
-0
test_tipc/static/ResNet50/N1C1/ResNet50_bs128_pure_fp16_DP.sh
..._tipc/static/ResNet50/N1C1/ResNet50_bs128_pure_fp16_DP.sh
+12
-0
test_tipc/static/ResNet50/N1C1/ResNet50_bs256_amp_fp16_DP.sh
test_tipc/static/ResNet50/N1C1/ResNet50_bs256_amp_fp16_DP.sh
+1
-1
test_tipc/static/ResNet50/N1C1/ResNet50_bs256_pure_fp16_DP.sh
..._tipc/static/ResNet50/N1C1/ResNet50_bs256_pure_fp16_DP.sh
+12
-0
test_tipc/static/ResNet50/N1C1/ResNet50_bs64_amp_fp16_DP.sh
test_tipc/static/ResNet50/N1C1/ResNet50_bs64_amp_fp16_DP.sh
+1
-1
test_tipc/static/ResNet50/N1C1/ResNet50_bs64_pure_fp16_DP.sh
test_tipc/static/ResNet50/N1C1/ResNet50_bs64_pure_fp16_DP.sh
+12
-0
test_tipc/static/ResNet50/N1C8/ResNet50_bs128_amp_fp16_DP.sh
test_tipc/static/ResNet50/N1C8/ResNet50_bs128_amp_fp16_DP.sh
+12
-0
test_tipc/static/ResNet50/N1C8/ResNet50_bs128_fp32_DP.sh
test_tipc/static/ResNet50/N1C8/ResNet50_bs128_fp32_DP.sh
+12
-0
test_tipc/static/ResNet50/N1C8/ResNet50_bs128_pure_fp16_DP.sh
..._tipc/static/ResNet50/N1C8/ResNet50_bs128_pure_fp16_DP.sh
+12
-0
test_tipc/static/ResNet50/N1C8/ResNet50_bs256_amp_fp16_DP.sh
test_tipc/static/ResNet50/N1C8/ResNet50_bs256_amp_fp16_DP.sh
+2
-2
test_tipc/static/ResNet50/N1C8/ResNet50_bs256_fp32_DP.sh
test_tipc/static/ResNet50/N1C8/ResNet50_bs256_fp32_DP.sh
+1
-1
test_tipc/static/ResNet50/N1C8/ResNet50_bs256_pure_fp16_DP.sh
..._tipc/static/ResNet50/N1C8/ResNet50_bs256_pure_fp16_DP.sh
+12
-0
test_tipc/static/ResNet50/N1C8/ResNet50_bs64_amp_fp16_DP.sh
test_tipc/static/ResNet50/N1C8/ResNet50_bs64_amp_fp16_DP.sh
+2
-2
test_tipc/static/ResNet50/N1C8/ResNet50_bs64_fp32_DP.sh
test_tipc/static/ResNet50/N1C8/ResNet50_bs64_fp32_DP.sh
+1
-1
test_tipc/static/ResNet50/N1C8/ResNet50_bs64_pure_fp16_DP.sh
test_tipc/static/ResNet50/N1C8/ResNet50_bs64_pure_fp16_DP.sh
+12
-0
test_tipc/static/ResNet50/N4C32/ResNet50_bs128_amp_fp16_DP.sh
..._tipc/static/ResNet50/N4C32/ResNet50_bs128_amp_fp16_DP.sh
+12
-0
test_tipc/static/ResNet50/N4C32/ResNet50_bs128_fp32_DP.sh
test_tipc/static/ResNet50/N4C32/ResNet50_bs128_fp32_DP.sh
+12
-0
test_tipc/static/ResNet50/N4C32/ResNet50_bs128_pure_fp16_DP.sh
...tipc/static/ResNet50/N4C32/ResNet50_bs128_pure_fp16_DP.sh
+12
-0
test_tipc/static/ResNet50/N4C32/ResNet50_bs256_amp_fp16_DP.sh
..._tipc/static/ResNet50/N4C32/ResNet50_bs256_amp_fp16_DP.sh
+12
-0
test_tipc/static/ResNet50/N4C32/ResNet50_bs256_fp32_DP.sh
test_tipc/static/ResNet50/N4C32/ResNet50_bs256_fp32_DP.sh
+12
-0
test_tipc/static/ResNet50/N4C32/ResNet50_bs256_pure_fp16_DP.sh
...tipc/static/ResNet50/N4C32/ResNet50_bs256_pure_fp16_DP.sh
+12
-0
test_tipc/static/ResNet50/N4C32/ResNet50_bs64_amp_fp16_DP.sh
test_tipc/static/ResNet50/N4C32/ResNet50_bs64_amp_fp16_DP.sh
+12
-0
test_tipc/static/ResNet50/N4C32/ResNet50_bs64_fp32_DP.sh
test_tipc/static/ResNet50/N4C32/ResNet50_bs64_fp32_DP.sh
+12
-0
test_tipc/static/ResNet50/N4C32/ResNet50_bs64_pure_fp16_DP.sh
..._tipc/static/ResNet50/N4C32/ResNet50_bs64_pure_fp16_DP.sh
+12
-0
test_tipc/static/ResNet50/benchmark_common/run_benchmark.sh
test_tipc/static/ResNet50/benchmark_common/run_benchmark.sh
+3
-1
未找到文件。
test_tipc/static/ResNet50/N1C1/ResNet50_bs128_amp_fp16_DP.sh
0 → 100644
浏览文件 @
e01c7e87
model_item
=
ResNet50
bs_item
=
128
fp_item
=
amp_fp16
run_mode
=
DP
device_num
=
N1C1
max_epochs
=
1
num_workers
=
8
# get data
bash test_tipc/static/
${
model_item
}
/benchmark_common/prepare.sh
# run
bash test_tipc/static/
${
model_item
}
/benchmark_common/run_benchmark.sh
${
model_item
}
${
bs_item
}
${
fp_item
}
${
run_mode
}
${
device_num
}
${
max_epochs
}
${
num_workers
}
2>&1
;
test_tipc/static/ResNet50/N1C1/ResNet50_bs128_fp32_DP.sh
0 → 100644
浏览文件 @
e01c7e87
model_item
=
ResNet50
bs_item
=
128
fp_item
=
fp32
run_mode
=
DP
device_num
=
N1C1
max_epochs
=
1
num_workers
=
8
# get data
bash test_tipc/static/
${
model_item
}
/benchmark_common/prepare.sh
# run
bash test_tipc/static/
${
model_item
}
/benchmark_common/run_benchmark.sh
${
model_item
}
${
bs_item
}
${
fp_item
}
${
run_mode
}
${
device_num
}
${
max_epochs
}
${
num_workers
}
2>&1
;
# run profiling
sleep
10
;
export
PROFILING
=
true
bash test_tipc/static/
${
model_item
}
/benchmark_common/run_benchmark.sh
${
model_item
}
${
bs_item
}
${
fp_item
}
${
run_mode
}
${
device_num
}
${
max_epochs
}
${
num_workers
}
2>&1
;
test_tipc/static/ResNet50/N1C1/ResNet50_bs128_pure_fp16_DP.sh
0 → 100644
浏览文件 @
e01c7e87
model_item
=
ResNet50
bs_item
=
128
fp_item
=
pure_fp16
run_mode
=
DP
device_num
=
N1C1
max_epochs
=
1
num_workers
=
8
# get data
bash test_tipc/static/
${
model_item
}
/benchmark_common/prepare.sh
# run
bash test_tipc/static/
${
model_item
}
/benchmark_common/run_benchmark.sh
${
model_item
}
${
bs_item
}
${
fp_item
}
${
run_mode
}
${
device_num
}
${
max_epochs
}
${
num_workers
}
2>&1
;
test_tipc/static/ResNet50/N1C1/ResNet50_bs256_fp16_DP.sh
→
test_tipc/static/ResNet50/N1C1/ResNet50_bs256_
amp_
fp16_DP.sh
浏览文件 @
e01c7e87
model_item
=
ResNet50
bs_item
=
256
fp_item
=
fp16
fp_item
=
amp_
fp16
run_mode
=
DP
device_num
=
N1C1
max_epochs
=
1
...
...
test_tipc/static/ResNet50/N1C1/ResNet50_bs256_pure_fp16_DP.sh
0 → 100644
浏览文件 @
e01c7e87
model_item
=
ResNet50
bs_item
=
256
fp_item
=
pure_fp16
run_mode
=
DP
device_num
=
N1C1
max_epochs
=
1
num_workers
=
8
# get data
bash test_tipc/static/
${
model_item
}
/benchmark_common/prepare.sh
# run
bash test_tipc/static/
${
model_item
}
/benchmark_common/run_benchmark.sh
${
model_item
}
${
bs_item
}
${
fp_item
}
${
run_mode
}
${
device_num
}
${
max_epochs
}
${
num_workers
}
2>&1
;
test_tipc/static/ResNet50/N1C1/ResNet50_bs64_fp16_DP.sh
→
test_tipc/static/ResNet50/N1C1/ResNet50_bs64_
amp_
fp16_DP.sh
浏览文件 @
e01c7e87
model_item
=
ResNet50
bs_item
=
64
fp_item
=
fp16
fp_item
=
amp_
fp16
run_mode
=
DP
device_num
=
N1C1
max_epochs
=
1
...
...
test_tipc/static/ResNet50/N1C1/ResNet50_bs64_pure_fp16_DP.sh
0 → 100644
浏览文件 @
e01c7e87
model_item
=
ResNet50
bs_item
=
64
fp_item
=
pure_fp16
run_mode
=
DP
device_num
=
N1C1
max_epochs
=
1
num_workers
=
8
# get data
bash test_tipc/static/
${
model_item
}
/benchmark_common/prepare.sh
# run
bash test_tipc/static/
${
model_item
}
/benchmark_common/run_benchmark.sh
${
model_item
}
${
bs_item
}
${
fp_item
}
${
run_mode
}
${
device_num
}
${
max_epochs
}
${
num_workers
}
2>&1
;
test_tipc/static/ResNet50/N1C8/ResNet50_bs128_amp_fp16_DP.sh
0 → 100644
浏览文件 @
e01c7e87
model_item
=
ResNet50
bs_item
=
128
fp_item
=
amp_fp16
run_mode
=
DP
device_num
=
N1C8
max_epochs
=
8
num_workers
=
8
# get data
bash test_tipc/static/
${
model_item
}
/benchmark_common/prepare.sh
# run
bash test_tipc/static/
${
model_item
}
/benchmark_common/run_benchmark.sh
${
model_item
}
${
bs_item
}
${
fp_item
}
${
run_mode
}
${
device_num
}
${
max_epochs
}
${
num_workers
}
2>&1
;
test_tipc/static/ResNet50/N1C8/ResNet50_bs128_fp32_DP.sh
0 → 100644
浏览文件 @
e01c7e87
model_item
=
ResNet50
bs_item
=
128
fp_item
=
fp32
run_mode
=
DP
device_num
=
N1C8
max_epochs
=
8
num_workers
=
8
# get data
bash test_tipc/static/
${
model_item
}
/benchmark_common/prepare.sh
# run
bash test_tipc/static/
${
model_item
}
/benchmark_common/run_benchmark.sh
${
model_item
}
${
bs_item
}
${
fp_item
}
${
run_mode
}
${
device_num
}
${
max_epochs
}
${
num_workers
}
2>&1
;
test_tipc/static/ResNet50/N1C8/ResNet50_bs128_pure_fp16_DP.sh
0 → 100644
浏览文件 @
e01c7e87
model_item
=
ResNet50
bs_item
=
128
fp_item
=
pure_fp16
run_mode
=
DP
device_num
=
N1C8
max_epochs
=
8
num_workers
=
8
# get data
bash test_tipc/static/
${
model_item
}
/benchmark_common/prepare.sh
# run
bash test_tipc/static/
${
model_item
}
/benchmark_common/run_benchmark.sh
${
model_item
}
${
bs_item
}
${
fp_item
}
${
run_mode
}
${
device_num
}
${
max_epochs
}
${
num_workers
}
2>&1
;
test_tipc/static/ResNet50/N1C8/ResNet50_bs256_fp16_DP.sh
→
test_tipc/static/ResNet50/N1C8/ResNet50_bs256_
amp_
fp16_DP.sh
浏览文件 @
e01c7e87
model_item
=
ResNet50
bs_item
=
256
fp_item
=
fp16
fp_item
=
amp_
fp16
run_mode
=
DP
device_num
=
N1C8
max_epochs
=
1
max_epochs
=
8
num_workers
=
8
# get data
...
...
test_tipc/static/ResNet50/N1C8/ResNet50_bs256_fp32_DP.sh
浏览文件 @
e01c7e87
...
...
@@ -3,7 +3,7 @@ bs_item=256
fp_item
=
fp32
run_mode
=
DP
device_num
=
N1C8
max_epochs
=
1
max_epochs
=
8
num_workers
=
8
# get data
...
...
test_tipc/static/ResNet50/N1C8/ResNet50_bs256_pure_fp16_DP.sh
0 → 100644
浏览文件 @
e01c7e87
model_item
=
ResNet50
bs_item
=
256
fp_item
=
pure_fp16
run_mode
=
DP
device_num
=
N1C8
max_epochs
=
8
num_workers
=
8
# get data
bash test_tipc/static/
${
model_item
}
/benchmark_common/prepare.sh
# run
bash test_tipc/static/
${
model_item
}
/benchmark_common/run_benchmark.sh
${
model_item
}
${
bs_item
}
${
fp_item
}
${
run_mode
}
${
device_num
}
${
max_epochs
}
${
num_workers
}
2>&1
;
test_tipc/static/ResNet50/N1C8/ResNet50_bs64_fp16_DP.sh
→
test_tipc/static/ResNet50/N1C8/ResNet50_bs64_
amp_
fp16_DP.sh
浏览文件 @
e01c7e87
model_item
=
ResNet50
bs_item
=
64
fp_item
=
fp16
fp_item
=
amp_
fp16
run_mode
=
DP
device_num
=
N1C8
max_epochs
=
1
max_epochs
=
8
num_workers
=
8
# get data
...
...
test_tipc/static/ResNet50/N1C8/ResNet50_bs64_fp32_DP.sh
浏览文件 @
e01c7e87
...
...
@@ -3,7 +3,7 @@ bs_item=64
fp_item
=
fp32
run_mode
=
DP
device_num
=
N1C8
max_epochs
=
1
max_epochs
=
8
num_workers
=
8
# get data
...
...
test_tipc/static/ResNet50/N1C8/ResNet50_bs64_pure_fp16_DP.sh
0 → 100644
浏览文件 @
e01c7e87
model_item
=
ResNet50
bs_item
=
64
fp_item
=
pure_fp16
run_mode
=
DP
device_num
=
N1C8
max_epochs
=
8
num_workers
=
8
# get data
bash test_tipc/static/
${
model_item
}
/benchmark_common/prepare.sh
# run
bash test_tipc/static/
${
model_item
}
/benchmark_common/run_benchmark.sh
${
model_item
}
${
bs_item
}
${
fp_item
}
${
run_mode
}
${
device_num
}
${
max_epochs
}
${
num_workers
}
2>&1
;
test_tipc/static/ResNet50/N4C32/ResNet50_bs128_amp_fp16_DP.sh
0 → 100644
浏览文件 @
e01c7e87
model_item
=
ResNet50
bs_item
=
128
fp_item
=
amp_fp16
run_mode
=
DP
device_num
=
N4C32
max_epochs
=
32
num_workers
=
8
# get data
bash test_tipc/static/
${
model_item
}
/benchmark_common/prepare.sh
# run
bash test_tipc/static/
${
model_item
}
/benchmark_common/run_benchmark.sh
${
model_item
}
${
bs_item
}
${
fp_item
}
${
run_mode
}
${
device_num
}
${
max_epochs
}
${
num_workers
}
2>&1
;
test_tipc/static/ResNet50/N4C32/ResNet50_bs128_fp32_DP.sh
0 → 100644
浏览文件 @
e01c7e87
model_item
=
ResNet50
bs_item
=
128
fp_item
=
fp32
run_mode
=
DP
device_num
=
N4C32
max_epochs
=
32
num_workers
=
8
# get data
bash test_tipc/static/
${
model_item
}
/benchmark_common/prepare.sh
# run
bash test_tipc/static/
${
model_item
}
/benchmark_common/run_benchmark.sh
${
model_item
}
${
bs_item
}
${
fp_item
}
${
run_mode
}
${
device_num
}
${
max_epochs
}
${
num_workers
}
2>&1
;
test_tipc/static/ResNet50/N4C32/ResNet50_bs128_pure_fp16_DP.sh
0 → 100644
浏览文件 @
e01c7e87
model_item
=
ResNet50
bs_item
=
128
fp_item
=
pure_fp16
run_mode
=
DP
device_num
=
N4C32
max_epochs
=
32
num_workers
=
8
# get data
bash test_tipc/static/
${
model_item
}
/benchmark_common/prepare.sh
# run
bash test_tipc/static/
${
model_item
}
/benchmark_common/run_benchmark.sh
${
model_item
}
${
bs_item
}
${
fp_item
}
${
run_mode
}
${
device_num
}
${
max_epochs
}
${
num_workers
}
2>&1
;
test_tipc/static/ResNet50/N4C32/ResNet50_bs256_amp_fp16_DP.sh
0 → 100644
浏览文件 @
e01c7e87
model_item
=
ResNet50
bs_item
=
256
fp_item
=
amp_fp16
run_mode
=
DP
device_num
=
N4C32
max_epochs
=
32
num_workers
=
8
# get data
bash test_tipc/static/
${
model_item
}
/benchmark_common/prepare.sh
# run
bash test_tipc/static/
${
model_item
}
/benchmark_common/run_benchmark.sh
${
model_item
}
${
bs_item
}
${
fp_item
}
${
run_mode
}
${
device_num
}
${
max_epochs
}
${
num_workers
}
2>&1
;
test_tipc/static/ResNet50/N4C32/ResNet50_bs256_fp32_DP.sh
0 → 100644
浏览文件 @
e01c7e87
model_item
=
ResNet50
bs_item
=
256
fp_item
=
fp32
run_mode
=
DP
device_num
=
N4C32
max_epochs
=
32
num_workers
=
8
# get data
bash test_tipc/static/
${
model_item
}
/benchmark_common/prepare.sh
# run
bash test_tipc/static/
${
model_item
}
/benchmark_common/run_benchmark.sh
${
model_item
}
${
bs_item
}
${
fp_item
}
${
run_mode
}
${
device_num
}
${
max_epochs
}
${
num_workers
}
2>&1
;
test_tipc/static/ResNet50/N4C32/ResNet50_bs256_pure_fp16_DP.sh
0 → 100644
浏览文件 @
e01c7e87
model_item
=
ResNet50
bs_item
=
256
fp_item
=
pure_fp16
run_mode
=
DP
device_num
=
N4C32
max_epochs
=
32
num_workers
=
8
# get data
bash test_tipc/static/
${
model_item
}
/benchmark_common/prepare.sh
# run
bash test_tipc/static/
${
model_item
}
/benchmark_common/run_benchmark.sh
${
model_item
}
${
bs_item
}
${
fp_item
}
${
run_mode
}
${
device_num
}
${
max_epochs
}
${
num_workers
}
2>&1
;
test_tipc/static/ResNet50/N4C32/ResNet50_bs64_amp_fp16_DP.sh
0 → 100644
浏览文件 @
e01c7e87
model_item
=
ResNet50
bs_item
=
64
fp_item
=
amp_fp16
run_mode
=
DP
device_num
=
N4C32
max_epochs
=
32
num_workers
=
8
# get data
bash test_tipc/static/
${
model_item
}
/benchmark_common/prepare.sh
# run
bash test_tipc/static/
${
model_item
}
/benchmark_common/run_benchmark.sh
${
model_item
}
${
bs_item
}
${
fp_item
}
${
run_mode
}
${
device_num
}
${
max_epochs
}
${
num_workers
}
2>&1
;
test_tipc/static/ResNet50/N4C32/ResNet50_bs64_fp32_DP.sh
0 → 100644
浏览文件 @
e01c7e87
model_item
=
ResNet50
bs_item
=
64
fp_item
=
fp32
run_mode
=
DP
device_num
=
N4C32
max_epochs
=
32
num_workers
=
8
# get data
bash test_tipc/static/
${
model_item
}
/benchmark_common/prepare.sh
# run
bash test_tipc/static/
${
model_item
}
/benchmark_common/run_benchmark.sh
${
model_item
}
${
bs_item
}
${
fp_item
}
${
run_mode
}
${
device_num
}
${
max_epochs
}
${
num_workers
}
2>&1
;
test_tipc/static/ResNet50/N4C32/ResNet50_bs64_pure_fp16_DP.sh
0 → 100644
浏览文件 @
e01c7e87
model_item
=
ResNet50
bs_item
=
64
fp_item
=
pure_fp16
run_mode
=
DP
device_num
=
N4C32
max_epochs
=
32
num_workers
=
8
# get data
bash test_tipc/static/
${
model_item
}
/benchmark_common/prepare.sh
# run
bash test_tipc/static/
${
model_item
}
/benchmark_common/run_benchmark.sh
${
model_item
}
${
bs_item
}
${
fp_item
}
${
run_mode
}
${
device_num
}
${
max_epochs
}
${
num_workers
}
2>&1
;
test_tipc/static/ResNet50/benchmark_common/run_benchmark.sh
浏览文件 @
e01c7e87
...
...
@@ -34,8 +34,10 @@ function _train(){
if
[
${
fp_item
}
=
"fp32"
]
;
then
config_file
=
"-c ppcls/configs/ImageNet/ResNet/ResNet50.yaml"
el
se
el
if
[
${
fp_item
}
=
"amp_fp16"
]
;
then
config_file
=
"-c ppcls/configs/ImageNet/ResNet/ResNet50_amp_O1.yaml"
elif
[
${
fp_item
}
=
"pure_fp16"
]
;
then
config_file
=
"-c ppcls/configs/ImageNet/ResNet/ResNet50_amp_O2.yaml"
fi
if
[
${
profiling
}
=
"false"
]
;
then
profiling_config
=
""
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录