-
Notifications
You must be signed in to change notification settings - Fork 109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add kunlunxin mask-rcnn #276
Merged
Merged
Changes from 1 commit
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
### 模型Checkpoint下载 | ||
[模型Checkpoint下载](../../benchmarks/mask_rcnn/README.md#模型checkpoint) | ||
### 测试数据集下载 | ||
[测试数据集下载](../../benchmarks/mask_rcnn/README.md#数据集下载地址) | ||
|
||
### 昆仑芯XPU配置与运行信息参考 | ||
#### 环境配置 | ||
- ##### 硬件环境 | ||
- 机器型号: 昆仑芯AI加速器组R480-X8 | ||
- 加速卡型号: 昆仑芯AI加速卡R300 | ||
- 多机网络类型、带宽: InfiniBand,200Gb/s | ||
|
||
- ##### 软件环境 | ||
- OS版本:Ubuntu 20.04 | ||
- OS kernel版本: 5.4.0-26-generic | ||
- 加速卡驱动版本:4.0.25 | ||
- Docker镜像和版本:pytorch1.12.1-cpu-ubuntu20.04:v0.01 | ||
- 训练框架版本:xmlir | ||
- 训练编译器版本:xacc | ||
- 依赖软件版本:pytorch-1.12.1+cpu | ||
|
||
|
||
### 运行情况 | ||
* 通用指标 | ||
|
||
| 指标名称 | 指标值 | 特殊说明 | | ||
| -------------- | ----------------------- | ------------------------------------------- | | ||
| 任务类别 | 图像目标检测及语义分割 | | | ||
| 模型 | mask_rcnn | | | ||
| 数据集 | coco2017 | | | ||
| 数据精度 | precision,见“性能指标” | 可选fp32/amp/fp16 | | ||
| 超参修改 | fix_hp,见“性能指标” | 跑满硬件设备评测吞吐量所需特殊超参 | | ||
| 硬件设备简称 | R300 | | | ||
| 硬件存储使用 | mem,见“性能指标” | 通常称为“显存”,单位为GiB | | ||
| 端到端时间 | e2e_time,见“性能指标” | 总时间+Perf初始化等时间 | | ||
| 总吞吐量 | p_whole,见“性能指标” | 实际训练图片数除以总时间(performance_whole) | | ||
| 训练吞吐量 | p_train,见“性能指标” | 不包含每个epoch末尾的评估部分耗时 | | ||
| **计算吞吐量** | **p_core,见“性能指标”** | 不包含数据IO部分的耗时(p3>p2>p1) | | ||
| 训练结果 | map,见“性能指标” | 单位为平均目标检测正确率 | | ||
| 额外修改项 | 无 | | | ||
|
||
* 性能指标 | ||
|
||
| 配置 | precision | fix_hp | e2e_time | p_whole | p_train | p_core | map_bbox && map_segm | mem | | ||
| ------------------- | --------- | ------------- | -------- | ------- | ------- | ------ | -------------------- | --------- | | ||
| R300单机单卡(1x1) | fp32 | | | | | | | | | ||
| R300单机8卡(1x8) | fp32 | bs=8,lr=0.16 | | | | | | 11.3/32.0 | | ||
| R300两机8卡(2x8) | fp32 | | | | | | | | |
5 changes: 5 additions & 0 deletions
5
training/kunlunxin/mask_rcnn-pytorch/config/config_R300x1x1.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
vendor: str = "kunlunxin" | ||
train_batch_size = 8 | ||
eval_batch_size = 8 | ||
lr = 0.16 | ||
distributed=False | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 代码格式化下 |
4 changes: 4 additions & 0 deletions
4
training/kunlunxin/mask_rcnn-pytorch/config/config_R300x1x8.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
vendor: str = "kunlunxin" | ||
train_batch_size = 8 | ||
eval_batch_size = 8 | ||
lr = 0.16 |
4 changes: 4 additions & 0 deletions
4
training/kunlunxin/mask_rcnn-pytorch/config/config_R300x2x8.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
vendor: str = "kunlunxin" | ||
train_batch_size = 16 | ||
eval_batch_size = 16 | ||
lr = 0.16 |
7 changes: 7 additions & 0 deletions
7
training/kunlunxin/mask_rcnn-pytorch/config/environment_variables.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# ================================================= | ||
# Export variables | ||
# ================================================= | ||
|
||
|
||
export XACC_ENABLE=1 | ||
export BKCL_PCIE_RING=1 |
Empty file.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
map_bbox && map_segm 请填写