-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
52 additions
and
1 deletion.
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
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,51 @@ | ||
# Mxnet 单机单卡测试 | ||
参考:[🔗](https://github.com/fusimeng/framework_benchmark) | ||
## 一、准备数据和代码 | ||
### 1、下载 | ||
我们已将数据和代码存储到我公司的FTP服务器上,单击[此处](http://123.151.118.124:13390/sitonholy/scm/mxnet-smsg.tar.gz)下载,并将其上传到服务器上。 | ||
### 2、上传数据 | ||
依次单击`系统管理->文件管理->文档上传`将文件(主要,文件应该是解压后的)上传到服务器。 | ||
![](../imgs/bm-01.png) | ||
## 二、提交作业 | ||
JSON文件如下: | ||
``` | ||
{ | ||
"jobName": "lenet_test_16bf8962", | ||
"image": "sitonholy/scm:16.04-10.0-7.4-3.6-4.1.0-pmt", | ||
"authFile": "", | ||
"dataDir": "", | ||
"outputDir": "", | ||
"codeDir": "", | ||
"retryCount": 0, | ||
"taskRoles": [ | ||
{ | ||
"name": "default", | ||
"taskNumber": 1, | ||
"cpuNumber": 1, | ||
"memoryMB": 8192, | ||
"shmMB": 256, | ||
"gpuNumber": 2, | ||
"storageGB": 5, | ||
"minFailedTaskCount": null, | ||
"minSucceededTaskCount": null, | ||
"command": "cd /root/data/framework_benchmark/mxnet/smsg && python fashion-mnist.py", | ||
"portList": [] | ||
} | ||
], | ||
"jobEnvs": {}, | ||
"extras": { | ||
"virtualGroup": "total" | ||
}, | ||
"gpuType": "TITANX" | ||
} | ||
``` | ||
|
||
## 三、日志查看 | ||
![](../imgs/bm-02.png) | ||
*图1* | ||
### 1、查看日志 | ||
单击图1中`标准输出`查看相应日志如下: | ||
![](../imgs/bm-03.png) | ||
### 2、资源监控 | ||
单击图1中`前往工作指标页面`查看资源利用情况: | ||
![](../imgs/bm-04.png) |