Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
PaddleClas
提交
8aed9831
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看板
提交
8aed9831
编写于
3月 15, 2022
作者:
D
dongshuilong
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
add pure and amp fp16 for bechmark r50
上级
10fbf55c
变更
24
隐藏空白更改
内联
并排
Showing
24 changed file
with
258 addition
and
5 deletion
+258
-5
test_tipc/static/ResNet50/N1C1/ResNet50_bs128_amp_fp16_SingleP_DP.sh
...tatic/ResNet50/N1C1/ResNet50_bs128_amp_fp16_SingleP_DP.sh
+13
-0
test_tipc/static/ResNet50/N1C1/ResNet50_bs128_fp32_SingleP_DP.sh
...pc/static/ResNet50/N1C1/ResNet50_bs128_fp32_SingleP_DP.sh
+17
-0
test_tipc/static/ResNet50/N1C1/ResNet50_bs128_pure_fp16_SingleP_DP.sh
...atic/ResNet50/N1C1/ResNet50_bs128_pure_fp16_SingleP_DP.sh
+13
-0
test_tipc/static/ResNet50/N1C1/ResNet50_bs256_amp_fp16_SingleP_DP.sh
...tatic/ResNet50/N1C1/ResNet50_bs256_amp_fp16_SingleP_DP.sh
+1
-1
test_tipc/static/ResNet50/N1C1/ResNet50_bs256_pure_fp16_SingleP_DP.sh
...atic/ResNet50/N1C1/ResNet50_bs256_pure_fp16_SingleP_DP.sh
+13
-0
test_tipc/static/ResNet50/N1C1/ResNet50_bs64_amp_fp16_SingleP_DP.sh
...static/ResNet50/N1C1/ResNet50_bs64_amp_fp16_SingleP_DP.sh
+1
-1
test_tipc/static/ResNet50/N1C1/ResNet50_bs64_pure_fp16_SingleP_DP.sh
...tatic/ResNet50/N1C1/ResNet50_bs64_pure_fp16_SingleP_DP.sh
+13
-0
test_tipc/static/ResNet50/N1C8/ResNet50_bs128_amp_fp16_MultiP_DP.sh
...static/ResNet50/N1C8/ResNet50_bs128_amp_fp16_MultiP_DP.sh
+13
-0
test_tipc/static/ResNet50/N1C8/ResNet50_bs128_fp32_MultiP_DP.sh
...ipc/static/ResNet50/N1C8/ResNet50_bs128_fp32_MultiP_DP.sh
+13
-0
test_tipc/static/ResNet50/N1C8/ResNet50_bs128_pure_fp16_MultiP_DP.sh
...tatic/ResNet50/N1C8/ResNet50_bs128_pure_fp16_MultiP_DP.sh
+13
-0
test_tipc/static/ResNet50/N1C8/ResNet50_bs256_amp_fp16_MultiP_DP.sh
...static/ResNet50/N1C8/ResNet50_bs256_amp_fp16_MultiP_DP.sh
+1
-1
test_tipc/static/ResNet50/N1C8/ResNet50_bs256_pure_fp16_MultiP_DP.sh
...tatic/ResNet50/N1C8/ResNet50_bs256_pure_fp16_MultiP_DP.sh
+13
-0
test_tipc/static/ResNet50/N1C8/ResNet50_bs64_amp_fp16_MultiP_DP.sh
.../static/ResNet50/N1C8/ResNet50_bs64_amp_fp16_MultiP_DP.sh
+1
-1
test_tipc/static/ResNet50/N1C8/ResNet50_bs64_pure_fp16_MultiP_DP.sh
...static/ResNet50/N1C8/ResNet50_bs64_pure_fp16_MultiP_DP.sh
+13
-0
test_tipc/static/ResNet50/N4C32/ResNet50_bs128_amp_fp16_MultiP_DP.sh
...tatic/ResNet50/N4C32/ResNet50_bs128_amp_fp16_MultiP_DP.sh
+13
-0
test_tipc/static/ResNet50/N4C32/ResNet50_bs128_fp32_MultiP_DP.sh
...pc/static/ResNet50/N4C32/ResNet50_bs128_fp32_MultiP_DP.sh
+13
-0
test_tipc/static/ResNet50/N4C32/ResNet50_bs128_pure_fp16_MultiP_DP.sh
...atic/ResNet50/N4C32/ResNet50_bs128_pure_fp16_MultiP_DP.sh
+13
-0
test_tipc/static/ResNet50/N4C32/ResNet50_bs256_amp_fp16_MultiP_DP.sh
...tatic/ResNet50/N4C32/ResNet50_bs256_amp_fp16_MultiP_DP.sh
+13
-0
test_tipc/static/ResNet50/N4C32/ResNet50_bs256_fp32_MultiP_DP.sh
...pc/static/ResNet50/N4C32/ResNet50_bs256_fp32_MultiP_DP.sh
+13
-0
test_tipc/static/ResNet50/N4C32/ResNet50_bs256_pure_fp16_MultiP_DP.sh
...atic/ResNet50/N4C32/ResNet50_bs256_pure_fp16_MultiP_DP.sh
+13
-0
test_tipc/static/ResNet50/N4C32/ResNet50_bs64_amp_fp16_MultiP_DP.sh
...static/ResNet50/N4C32/ResNet50_bs64_amp_fp16_MultiP_DP.sh
+13
-0
test_tipc/static/ResNet50/N4C32/ResNet50_bs64_fp32_MultiP_DP.sh
...ipc/static/ResNet50/N4C32/ResNet50_bs64_fp32_MultiP_DP.sh
+13
-0
test_tipc/static/ResNet50/N4C32/ResNet50_bs64_pure_fp16_MultiP_DP.sh
...tatic/ResNet50/N4C32/ResNet50_bs64_pure_fp16_MultiP_DP.sh
+13
-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_SingleP_DP.sh
0 → 100644
浏览文件 @
8aed9831
model_item
=
ResNet50
bs_item
=
128
fp_item
=
amp_fp16
run_process_type
=
SingleP
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_process_type
}
${
run_mode
}
${
device_num
}
${
max_epochs
}
${
num_workers
}
2>&1
;
test_tipc/static/ResNet50/N1C1/ResNet50_bs128_fp32_SingleP_DP.sh
0 → 100644
浏览文件 @
8aed9831
model_item
=
ResNet50
bs_item
=
128
fp_item
=
fp32
run_process_type
=
SingleP
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_process_type
}
${
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_process_type
}
${
run_mode
}
${
device_num
}
${
max_epochs
}
${
num_workers
}
2>&1
;
test_tipc/static/ResNet50/N1C1/ResNet50_bs128_pure_fp16_SingleP_DP.sh
0 → 100644
浏览文件 @
8aed9831
model_item
=
ResNet50
bs_item
=
128
fp_item
=
pure_fp16
run_process_type
=
SingleP
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_process_type
}
${
run_mode
}
${
device_num
}
${
max_epochs
}
${
num_workers
}
2>&1
;
test_tipc/static/ResNet50/N1C1/ResNet50_bs256_fp16_SingleP_DP.sh
→
test_tipc/static/ResNet50/N1C1/ResNet50_bs256_
amp_
fp16_SingleP_DP.sh
浏览文件 @
8aed9831
model_item
=
ResNet50
bs_item
=
256
fp_item
=
fp16
fp_item
=
amp_
fp16
run_process_type
=
SingleP
run_mode
=
DP
device_num
=
N1C1
...
...
test_tipc/static/ResNet50/N1C1/ResNet50_bs256_pure_fp16_SingleP_DP.sh
0 → 100644
浏览文件 @
8aed9831
model_item
=
ResNet50
bs_item
=
256
fp_item
=
pure_fp16
run_process_type
=
SingleP
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_process_type
}
${
run_mode
}
${
device_num
}
${
max_epochs
}
${
num_workers
}
2>&1
;
test_tipc/static/ResNet50/N1C1/ResNet50_bs64_fp16_SingleP_DP.sh
→
test_tipc/static/ResNet50/N1C1/ResNet50_bs64_
amp_
fp16_SingleP_DP.sh
浏览文件 @
8aed9831
model_item
=
ResNet50
bs_item
=
64
fp_item
=
fp16
fp_item
=
amp_
fp16
run_process_type
=
SingleP
run_mode
=
DP
device_num
=
N1C1
...
...
test_tipc/static/ResNet50/N1C1/ResNet50_bs64_pure_fp16_SingleP_DP.sh
0 → 100644
浏览文件 @
8aed9831
model_item
=
ResNet50
bs_item
=
64
fp_item
=
pure_fp16
run_process_type
=
SingleP
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_process_type
}
${
run_mode
}
${
device_num
}
${
max_epochs
}
${
num_workers
}
2>&1
;
test_tipc/static/ResNet50/N1C8/ResNet50_bs128_amp_fp16_MultiP_DP.sh
0 → 100644
浏览文件 @
8aed9831
model_item
=
ResNet50
bs_item
=
128
fp_item
=
amp_fp16
run_process_type
=
MultiP
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_process_type
}
${
run_mode
}
${
device_num
}
${
max_epochs
}
${
num_workers
}
2>&1
;
test_tipc/static/ResNet50/N1C8/ResNet50_bs128_fp32_MultiP_DP.sh
0 → 100644
浏览文件 @
8aed9831
model_item
=
ResNet50
bs_item
=
128
fp_item
=
fp32
run_process_type
=
MultiP
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_process_type
}
${
run_mode
}
${
device_num
}
${
max_epochs
}
${
num_workers
}
2>&1
;
test_tipc/static/ResNet50/N1C8/ResNet50_bs128_pure_fp16_MultiP_DP.sh
0 → 100644
浏览文件 @
8aed9831
model_item
=
ResNet50
bs_item
=
128
fp_item
=
pure_fp16
run_process_type
=
MultiP
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_process_type
}
${
run_mode
}
${
device_num
}
${
max_epochs
}
${
num_workers
}
2>&1
;
test_tipc/static/ResNet50/N1C8/ResNet50_bs256_fp16_MultiP_DP.sh
→
test_tipc/static/ResNet50/N1C8/ResNet50_bs256_
amp_
fp16_MultiP_DP.sh
浏览文件 @
8aed9831
model_item
=
ResNet50
bs_item
=
256
fp_item
=
fp16
fp_item
=
amp_
fp16
run_process_type
=
MultiP
run_mode
=
DP
device_num
=
N1C8
...
...
test_tipc/static/ResNet50/N1C8/ResNet50_bs256_pure_fp16_MultiP_DP.sh
0 → 100644
浏览文件 @
8aed9831
model_item
=
ResNet50
bs_item
=
256
fp_item
=
pure_fp16
run_process_type
=
MultiP
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_process_type
}
${
run_mode
}
${
device_num
}
${
max_epochs
}
${
num_workers
}
2>&1
;
test_tipc/static/ResNet50/N1C8/ResNet50_bs64_fp16_MultiP_DP.sh
→
test_tipc/static/ResNet50/N1C8/ResNet50_bs64_
amp_
fp16_MultiP_DP.sh
浏览文件 @
8aed9831
model_item
=
ResNet50
bs_item
=
64
fp_item
=
fp16
fp_item
=
amp_
fp16
run_process_type
=
MultiP
run_mode
=
DP
device_num
=
N1C8
...
...
test_tipc/static/ResNet50/N1C8/ResNet50_bs64_pure_fp16_MultiP_DP.sh
0 → 100644
浏览文件 @
8aed9831
model_item
=
ResNet50
bs_item
=
64
fp_item
=
pure_fp16
run_process_type
=
MultiP
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_process_type
}
${
run_mode
}
${
device_num
}
${
max_epochs
}
${
num_workers
}
2>&1
;
test_tipc/static/ResNet50/N4C32/ResNet50_bs128_amp_fp16_MultiP_DP.sh
0 → 100644
浏览文件 @
8aed9831
model_item
=
ResNet50
bs_item
=
128
fp_item
=
amp_fp16
run_process_type
=
MultiP
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_process_type
}
${
run_mode
}
${
device_num
}
${
max_epochs
}
${
num_workers
}
2>&1
;
test_tipc/static/ResNet50/N4C32/ResNet50_bs128_fp32_MultiP_DP.sh
0 → 100644
浏览文件 @
8aed9831
model_item
=
ResNet50
bs_item
=
128
fp_item
=
fp32
run_process_type
=
MultiP
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_process_type
}
${
run_mode
}
${
device_num
}
${
max_epochs
}
${
num_workers
}
2>&1
;
test_tipc/static/ResNet50/N4C32/ResNet50_bs128_pure_fp16_MultiP_DP.sh
0 → 100644
浏览文件 @
8aed9831
model_item
=
ResNet50
bs_item
=
128
fp_item
=
pure_fp16
run_process_type
=
MultiP
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_process_type
}
${
run_mode
}
${
device_num
}
${
max_epochs
}
${
num_workers
}
2>&1
;
test_tipc/static/ResNet50/N4C32/ResNet50_bs256_amp_fp16_MultiP_DP.sh
0 → 100644
浏览文件 @
8aed9831
model_item
=
ResNet50
bs_item
=
256
fp_item
=
amp_fp16
run_process_type
=
MultiP
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_process_type
}
${
run_mode
}
${
device_num
}
${
max_epochs
}
${
num_workers
}
2>&1
;
test_tipc/static/ResNet50/N4C32/ResNet50_bs256_fp32_MultiP_DP.sh
0 → 100644
浏览文件 @
8aed9831
model_item
=
ResNet50
bs_item
=
256
fp_item
=
fp32
run_process_type
=
MultiP
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_process_type
}
${
run_mode
}
${
device_num
}
${
max_epochs
}
${
num_workers
}
2>&1
;
test_tipc/static/ResNet50/N4C32/ResNet50_bs256_pure_fp16_MultiP_DP.sh
0 → 100644
浏览文件 @
8aed9831
model_item
=
ResNet50
bs_item
=
256
fp_item
=
pure_fp16
run_process_type
=
MultiP
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_process_type
}
${
run_mode
}
${
device_num
}
${
max_epochs
}
${
num_workers
}
2>&1
;
test_tipc/static/ResNet50/N4C32/ResNet50_bs64_amp_fp16_MultiP_DP.sh
0 → 100644
浏览文件 @
8aed9831
model_item
=
ResNet50
bs_item
=
64
fp_item
=
amp_fp16
run_process_type
=
MultiP
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_process_type
}
${
run_mode
}
${
device_num
}
${
max_epochs
}
${
num_workers
}
2>&1
;
test_tipc/static/ResNet50/N4C32/ResNet50_bs64_fp32_MultiP_DP.sh
0 → 100644
浏览文件 @
8aed9831
model_item
=
ResNet50
bs_item
=
64
fp_item
=
fp32
run_process_type
=
MultiP
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_process_type
}
${
run_mode
}
${
device_num
}
${
max_epochs
}
${
num_workers
}
2>&1
;
test_tipc/static/ResNet50/N4C32/ResNet50_bs64_pure_fp16_MultiP_DP.sh
0 → 100644
浏览文件 @
8aed9831
model_item
=
ResNet50
bs_item
=
64
fp_item
=
pure_fp16
run_process_type
=
MultiP
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_process_type
}
${
run_mode
}
${
device_num
}
${
max_epochs
}
${
num_workers
}
2>&1
;
test_tipc/static/ResNet50/benchmark_common/run_benchmark.sh
浏览文件 @
8aed9831
...
...
@@ -35,8 +35,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.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录