Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
MindSpore
mindinsight
提交
67019a3c
M
mindinsight
项目概览
MindSpore
/
mindinsight
通知
7
Star
3
Fork
2
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
M
mindinsight
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
67019a3c
编写于
9月 08, 2020
作者:
P
ph
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
UI remove hardware visual
上级
81250b16
变更
12
展开全部
显示空白变更内容
内联
并排
Showing
12 changed file
with
44 addition
and
1220 deletion
+44
-1220
mindinsight/ui/src/assets/images/cpu-bg.svg
mindinsight/ui/src/assets/images/cpu-bg.svg
+0
-22
mindinsight/ui/src/assets/images/occupy.svg
mindinsight/ui/src/assets/images/occupy.svg
+0
-11
mindinsight/ui/src/components/gridTableSimple.vue
mindinsight/ui/src/components/gridTableSimple.vue
+40
-17
mindinsight/ui/src/components/header.vue
mindinsight/ui/src/components/header.vue
+2
-90
mindinsight/ui/src/components/histogramUnit.vue
mindinsight/ui/src/components/histogramUnit.vue
+1
-1
mindinsight/ui/src/locales/en-us.json
mindinsight/ui/src/locales/en-us.json
+0
-43
mindinsight/ui/src/locales/zh-cn.json
mindinsight/ui/src/locales/zh-cn.json
+0
-43
mindinsight/ui/src/router.js
mindinsight/ui/src/router.js
+0
-4
mindinsight/ui/src/services/request-service.js
mindinsight/ui/src/services/request-service.js
+0
-6
mindinsight/ui/src/store.js
mindinsight/ui/src/store.js
+0
-13
mindinsight/ui/src/views/train-manage/hardware-visual.vue
mindinsight/ui/src/views/train-manage/hardware-visual.vue
+0
-969
mindinsight/ui/src/views/train-manage/histogram.vue
mindinsight/ui/src/views/train-manage/histogram.vue
+1
-1
未找到文件。
mindinsight/ui/src/assets/images/cpu-bg.svg
已删除
100644 → 0
浏览文件 @
81250b16
<?xml version="1.0" encoding="UTF-8"?>
<svg
width=
"1920px"
height=
"1080px"
viewBox=
"0 0 1920 1080"
version=
"1.1"
xmlns=
"http://www.w3.org/2000/svg"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
>
<!-- Generator: Sketch 63.1 (92452) - https://sketch.com -->
<title>
矩形
</title>
<desc>
Created with Sketch.
</desc>
<defs>
<polygon
id=
"path-1"
points=
"0 0 1920 0 1920 1080 0 1080"
></polygon>
<pattern
id=
"pattern-3"
width=
"16.4850993"
height=
"16.4850993"
x=
"-16.4850993"
y=
"-16.4850993"
patternUnits=
"userSpaceOnUse"
>
<use
xlink:href=
"#image-4"
transform=
"scale(0.34343957,0.34343957)"
></use>
</pattern>
<image
id=
"image-4"
width=
"48"
height=
"48"
xlink:href=
"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAEGWlDQ1BrQ0dDb2xvclNwYWNlR2VuZXJpY1JHQgAAOI2NVV1oHFUUPrtzZyMkzlNsNIV0qD8NJQ2TVjShtLp/3d02bpZJNtoi6GT27s6Yyc44M7v9oU9FUHwx6psUxL+3gCAo9Q/bPrQvlQol2tQgKD60+INQ6Ium65k7M5lpurHeZe58853vnnvuuWfvBei5qliWkRQBFpquLRcy4nOHj4g9K5CEh6AXBqFXUR0rXalMAjZPC3e1W99Dwntf2dXd/p+tt0YdFSBxH2Kz5qgLiI8B8KdVy3YBevqRHz/qWh72Yui3MUDEL3q44WPXw3M+fo1pZuQs4tOIBVVTaoiXEI/MxfhGDPsxsNZfoE1q66ro5aJim3XdoLFw72H+n23BaIXzbcOnz5mfPoTvYVz7KzUl5+FRxEuqkp9G/Ajia219thzg25abkRE/BpDc3pqvphHvRFys2weqvp+krbWKIX7nhDbzLOItiM8358pTwdirqpPFnMF2xLc1WvLyOwTAibpbmvHHcvttU57y5+XqNZrLe3lE/Pq8eUj2fXKfOe3pfOjzhJYtB/yll5SDFcSDiH+hRkH25+L+sdxKEAMZahrlSX8ukqMOWy/jXW2m6M9LDBc31B9LFuv6gVKg/0Szi3KAr1kGq1GMjU/aLbnq6/lRxc4XfJ98hTargX++DbMJBSiYMIe9Ck1YAxFkKEAG3xbYaKmDDgYyFK0UGYpfoWYXG+fAPPI6tJnNwb7ClP7IyF+D+bjOtCpkhz6CFrIa/I6sFtNl8auFXGMTP34sNwI/JhkgEtmDz14ySfaRcTIBInmKPE32kxyyE2Tv+thKbEVePDfW/byMM1Kmm0XdObS7oGD/MypMXFPXrCwOtoYjyyn7BV29/MZfsVzpLDdRtuIZnbpXzvlf+ev8MvYr/Gqk4H/kV/G3csdazLuyTMPsbFhzd1UabQbjFvDRmcWJxR3zcfHkVw9GfpbJmeev9F08WW8uDkaslwX6avlWGU6NRKz0g/SHtCy9J30o/ca9zX3Kfc19zn3BXQKRO8ud477hLnAfc1/G9mrzGlrfexZ5GLdn6ZZrrEohI2wVHhZywjbhUWEy8icMCGNCUdiBlq3r+xafL549HQ5jH+an+1y+LlYBifuxAvRN/lVVVOlwlCkdVm9NOL5BE4wkQ2SMlDZU97hX86EilU/lUmkQUztTE6mx1EEPh7OmdqBtAvv8HdWpbrJS6tJj3n0CWdM6busNzRV3S9KTYhqvNiqWmuroiKgYhshMjmhTh9ptWhsF7970j/SbMrsPE1suR5z7DMC+P/Hs+y7ijrQAlhyAgccjbhjPygfeBTjzhNqy28EdkUh8C+DU9+z2v/oyeH791OncxHOs5y2AtTc7nb/f73TWPkD/qwBnjX8BoJ98VQNcC+8AAAFFSURBVGgF7djbDYMwDAXQBjEMYqyqY1WMxTppLiJIQIA8ariWkp8IPuweO60am67r7MstY8wwjuPH7dMz3uUua63p+/7r9rePIRW/9QmQzCV9ub0YgSIgzhxvQkjFb1EZBAdEKolkfJTqtnb7bv/zOJm58moRE0AzYgFoRawAGhE7gDZEEKAJcQjQgjgFaEBcAtgRUQBmRDSAFZEEYEQkA9gQWQAmRDaABVEEYEAUAx5H4EaGOyw+SMl66mbXzNOD4k6gCPNUY/CFwF1YOn5zRxJJRINqaUbUuZA/79sd3wm3xIdbdS60rXzo2XVCbO60/HxKJgFKKv4CkEziuyKBWAE0InYAbYggQBPiEKAFcQrQgLgEsCOiAMyIaAArIgnAiEgGsCGyAEyIbAALogjAgCgGPI7AX9w6F3JtqHMhnMWLFSrSD9jOnakVHpZYAAAAAElFTkSuQmCC"
></image>
</defs>
<g
id=
"硬件资源可视-特性文档"
stroke=
"none"
stroke-width=
"1"
fill=
"none"
fill-rule=
"evenodd"
>
<mask
id=
"mask-2"
fill=
"white"
>
<use
xlink:href=
"#path-1"
></use>
</mask>
<g
id=
"矩形"
>
<use
fill=
"#F2F5FC"
xlink:href=
"#path-1"
></use>
<use
fill-opacity=
"0.2"
fill=
"url(#pattern-3)"
style=
"mix-blend-mode: multiply;"
xlink:href=
"#path-1"
></use>
</g>
</g>
</svg>
\ No newline at end of file
mindinsight/ui/src/assets/images/occupy.svg
已删除
100644 → 0
浏览文件 @
81250b16
<?xml version="1.0" encoding="UTF-8"?>
<svg
width=
"197px"
height=
"197px"
viewBox=
"0 0 197 197"
version=
"1.1"
xmlns=
"http://www.w3.org/2000/svg"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
>
<!-- Generator: Sketch 63.1 (92452) - https://sketch.com -->
<title>
设备占比
</title>
<desc>
Created with Sketch.
</desc>
<g
id=
"硬件资源可视-特性文档"
stroke=
"none"
stroke-width=
"1"
fill=
"none"
fill-rule=
"evenodd"
>
<g
id=
"设备占比"
fill=
"#FA9841"
fill-rule=
"nonzero"
>
<path
d=
"M98.4375,0.1375 C44.1479091,0.1375 0.1375,44.1479091 0.1375,98.4375 C0.1375,152.727091 44.1479091,196.7375 98.4375,196.7375 C152.727091,196.7375 196.7375,152.727091 196.7375,98.4375 C196.682379,44.1707574 152.704243,0.192621163 98.4375,0.1375 Z M103.4375,15.4375 C121.974914,16.606052 139.582848,23.9661683 153.4375,36.3375 L103.4375,86.3375 L103.4375,15.3375 L103.4375,15.4375 Z M15.1374914,98.4375 C15.2134747,54.4129965 49.495318,18.0295843 93.4375,15.3375 L93.4375,98.4375 C93.46687,99.7540728 94.0043749,101.008251 94.9375,101.9375 L153.637491,160.6375 C129.148862,182.422768 94.1517029,187.800527 64.2521242,174.372702 C34.3525455,160.944877 15.1226403,131.21388 15.1374914,98.4375 Z M160.7375,153.6375 L105.5375,98.4375 L160.7375,43.2375 C188.850198,74.6684524 188.850198,122.206548 160.7375,153.6375 Z"
id=
"形状"
></path>
</g>
</g>
</svg>
\ No newline at end of file
mindinsight/ui/src/components/gridTableSimple.vue
浏览文件 @
67019a3c
...
...
@@ -67,7 +67,7 @@ limitations under the License.
:title=
"$t('scalar.fullScreen')"
@
click=
"toggleFullScreen"
:class=
"fullScreen ? 'active-color' : ''"
>
<
span><i
class=
"el-icon-full-screen"
></i></span
>
<
i
class=
"el-icon-full-screen"
></i
>
</div>
</div>
</div>
...
...
@@ -159,6 +159,7 @@ export default {
* @param {String} filterStr Dimension String
*/
initializeFilterArr
(
dimension
,
filterStr
)
{
this
.
filterCorrect
=
true
;
if
(
!
filterStr
)
{
this
.
filterArr
=
[];
return
;
...
...
@@ -223,11 +224,13 @@ export default {
)
{
return
value
;
}
else
if
(
value
<
0
)
{
return
`<span class="table-item-span" style="background:rgba(94, 124, 224,
${
value
/
this
.
statistics
.
min
}
)">
${
value
}
</span>`
;
return
`<span class="table-item-span" style="background:rgba(227, 125, 41,
${
value
/
this
.
statistics
.
min
}
)">
${
value
}
</span>`
;
}
else
{
return
`<span class="table-item-span" style="background:rgba(246, 111, 106,
${
value
/
this
.
statistics
.
max
}
)">
${
value
}
</span>`
;
return
`<span class="table-item-span" style="background:rgba(0, 165, 167,
${
value
/
this
.
statistics
.
max
}
)">
${
value
}
</span>`
;
}
},
/**
...
...
@@ -292,9 +295,8 @@ export default {
},
/**
* accuracy changed
* @param {Number} value The value after changed
*/
accuracyChange
(
value
)
{
accuracyChange
()
{
this
.
formateGridArray
();
if
(
!
this
.
requestError
&&
!
this
.
incorrectData
)
{
this
.
updateGrid
();
...
...
@@ -416,7 +418,6 @@ export default {
</
script
>
<
style
lang=
"scss"
>
.cl-slickgrid-container
{
width
:
100%
;
height
:
100%
;
display
:
flex
;
flex-direction
:
column
;
...
...
@@ -426,6 +427,36 @@ export default {
.grid-item
{
width
:
100%
;
height
:
100%
;
::-webkit-scrollbar-button
{
z-index
:
200
;
width
:
10px
;
height
:
10px
;
background
:
#fff
;
cursor
:
pointer
;
}
::-webkit-scrollbar-button:horizontal:single-button:start
{
background-image
:
url('../assets/images/scroll-btn-left.png')
;
background-position
:
center
;
}
::-webkit-scrollbar-button:horizontal:single-button:end
{
background-image
:
url('../assets/images/scroll-btn-right.png')
;
background-position
:
center
;
}
::-webkit-scrollbar-button:vertical:single-button:start
{
background-image
:
url('../assets/images/scroll-btn-up.png')
;
background-position
:
center
;
}
::-webkit-scrollbar-button:vertical:single-button:end
{
background-image
:
url('../assets/images/scroll-btn-down.png')
;
background-position
:
center
;
}
::-webkit-scrollbar-thumb
{
background-color
:
#bac5cc
;
}
::-webkit-scrollbar
{
width
:
10px
;
height
:
10px
;
}
}
.error-msg-container
{
width
:
100%
;
...
...
@@ -496,15 +527,7 @@ export default {
border-left
:
none
;
text-align
:
center
;
}
.slick-viewport-left
{
overflow
:
hidden
!
important
;
}
.slick-viewport-left
.slick-row
{
background-color
:
white
!
important
;
::-webkit-scrollbar
{
width
:
0px
;
}
}
.ui-widget-content
{
background
:
none
;
}
...
...
mindinsight/ui/src/components/header.vue
浏览文件 @
67019a3c
...
...
@@ -44,10 +44,6 @@ limitations under the License.
:title=
'$t("summaryManage.comparePlate")'
>
{{
$t
(
"
summaryManage.comparePlate
"
)
}}
</el-menu-item>
<el-menu-item
index=
"/hardware-visual"
:title=
'$t("summaryManage.hardwareVisual")'
>
{{
$t
(
"
summaryManage.hardwareVisual
"
)
}}
</el-menu-item>
</el-menu>
</div>
</div>
...
...
@@ -58,15 +54,8 @@ limitations under the License.
|| this.$route.path.indexOf('/histogram') > 0
|| this.$route.path.indexOf('/tensor') > 0
|| this.$route.path.indexOf('/training-dashboard') > 0
|| !this.$route.path.indexOf('/compare-plate')
|| !this.$route.path.indexOf('/hardware-visual')"
>
<div
class=
"reload-training"
v-if=
"this.$route.path.indexOf('/scalar') > 0
|| this.$route.path.indexOf('/image') > 0
|| this.$route.path.indexOf('/histogram') > 0
|| this.$route.path.indexOf('/tensor') > 0
|| this.$route.path.indexOf('/training-dashboard') > 0
|| !this.$route.path.indexOf('/compare-plate')"
>
<div
class=
"reload-training"
>
<!-- automatic refresh switch -->
<el-switch
v-model=
"isTimeReload"
:active-text=
"$t('header.timeReload')+$t('symbols.leftbracket')+
...
...
@@ -89,31 +78,6 @@ limitations under the License.
v-if=
"isTimeReload && isShowInp"
@
click=
"cancelTimeValue"
></i>
</div>
<div
class=
"reload-hardware"
v-if=
"!this.$route.path.indexOf('/hardware-visual')"
>
<!-- automatic refresh switch -->
<el-switch
v-model=
"isHardwareTimeReload"
:active-text=
"$t('header.timeReload')+$t('symbols.leftbracket')+
hardwareTimeReloadValue+$t('header.timeSecond')+$t('symbols.rightbracket')"
@
change=
"hardwareTimeReload"
></el-switch>
<i
class=
"el-icon-edit"
:title=
"$t('header.timeReloadScope')"
v-if=
"isHardwareTimeReload && !isShowHardwareInp"
@
click=
"editHardwareTime"
></i>
<el-input
v-if=
"isHardwareTimeReload && isShowHardwareInp"
v-model=
"newHardwareReloadValue"
type=
"text"
@
input=
"hardwareTimeValueChange"
></el-input>
<i
class=
"el-icon-check"
v-if=
"isHardwareTimeReload && isShowHardwareInp"
@
click=
"saveHardwareTimeValue"
></i>
<i
class=
"el-icon-close"
v-if=
"isHardwareTimeReload && isShowHardwareInp"
@
click=
"cancelHardwareTimeValue"
></i>
</div>
<!-- manual refresh switch -->
<img
src=
"../assets/images/reload.png"
alt=
""
...
...
@@ -154,9 +118,6 @@ export default {
isLanguage
:
true
,
timeReloadValue
:
this
.
$store
.
state
.
timeReloadValue
,
newReloadValue
:
this
.
$store
.
state
.
timeReloadValue
,
isShowHardwareInp
:
false
,
hardwareTimeReloadValue
:
this
.
$store
.
state
.
hardwareTimeReloadValue
,
newHardwareReloadValue
:
this
.
$store
.
state
.
hardwareTimeReloadValue
,
};
},
computed
:
{
...
...
@@ -183,13 +144,6 @@ export default {
}
return
isChinese
;
},
// set and get isHardwareTimeReload status
isHardwareTimeReload
:
{
get
()
{
return
this
.
$store
.
state
.
isHardwareTimeReload
;
},
set
(
val
)
{},
},
},
watch
:
{},
mounted
()
{},
...
...
@@ -244,48 +198,6 @@ export default {
.
replace
(
/
\.
/g
,
''
);
this
.
newReloadValue
=
Number
(
this
.
newReloadValue
);
},
// hardware reload setting
hardwareTimeReload
(
val
)
{
localStorage
.
isHardwareTimeReload
=
val
;
this
.
$store
.
commit
(
'
setIsHardwareTimeReload
'
,
val
);
},
editHardwareTime
()
{
this
.
isShowHardwareInp
=
true
;
},
saveHardwareTimeValue
()
{
if
(
this
.
newHardwareReloadValue
>=
0
)
{
this
.
newHardwareReloadValue
=
this
.
newHardwareReloadValue
<
3
?
3
:
this
.
newHardwareReloadValue
>
300
?
300
:
this
.
newHardwareReloadValue
;
const
timeValue
=
this
.
newHardwareReloadValue
;
this
.
hardwareTimeReloadValue
=
timeValue
;
localStorage
.
hardwareTimeReloadValue
=
timeValue
;
this
.
$store
.
commit
(
'
setHardwareTimeReloadValue
'
,
timeValue
);
this
.
isShowHardwareInp
=
false
;
}
else
{
this
.
cancelHardwareTimeValue
();
}
},
cancelHardwareTimeValue
()
{
this
.
isShowHardwareInp
=
false
;
this
.
newHardwareReloadValue
=
this
.
hardwareTimeReloadValue
;
},
hardwareTimeValueChange
()
{
if
(
this
.
newHardwareReloadValue
===
''
)
{
return
;
}
this
.
newHardwareReloadValue
=
this
.
newHardwareReloadValue
.
toString
()
.
replace
(
/
[^\.\d]
/g
,
''
)
.
replace
(
/
\.
/g
,
''
);
this
.
newHardwareReloadValue
=
Number
(
this
.
newHardwareReloadValue
);
},
// get active menu item
getActive
()
{
const
str
=
this
.
$route
.
path
.
split
(
'
/
'
);
...
...
mindinsight/ui/src/components/histogramUnit.vue
浏览文件 @
67019a3c
...
...
@@ -525,7 +525,7 @@ export default {
}
</td><td style="text-align:center;">
${
this
.
formateNUmber
(
hoveredItem
.
step
,
)}
</td><td>
${
this
.
formateNUmber
(
(
hoveredItem
.
relative_time
/
1000
).
toFixed
(
3
),
(
hoveredItem
.
relative_time
).
toFixed
(
3
),
)}${
unit
}
</td><td>
${
this
.
dealrelativeTime
(
new
Date
(
hoveredItem
.
wall_time
*
1000
).
toString
(),
)}
</td>`
;
...
...
mindinsight/ui/src/locales/en-us.json
浏览文件 @
67019a3c
...
...
@@ -400,49 +400,6 @@
"gpuunit"
:
"us/time"
,
"chartTitle"
:
"Average Time Consumption Ranking"
},
"hardwareVisual"
:
{
"processor"
:
"Ascend AI Processor"
,
"ram"
:
"Memory"
,
"selectedCpu"
:
"Selected CPUs:"
,
"allCpu"
:
"Total CPUs:"
,
"chipNameTip"
:
"Chip name"
,
"deviceIdTip"
:
"Chip ID"
,
"availableTip"
:
"Is chip available(for reference only)"
,
"healthTip"
:
"Chip health status"
,
"ipTip"
:
"Chip IP address"
,
"hbmTip"
:
"Chip HBM usage"
,
"powerTip"
:
"Chip real-time power"
,
"temperatureTip"
:
"Chip real-time temperature"
,
"cpuUserTip"
:
"Time for running in user mode (%)"
,
"cpuSystemTip"
:
"Time for running in kernel mode (%)"
,
"cpuIdleTip"
:
"Idle time (%)"
,
"cpuNiceTip"
:
"Time for running low-priority processes (%)"
,
"cpuIowaitTip"
:
"Time for waiting for I/O (%)"
,
"cpuIrqTip"
:
"Time for processing hardware interrupts (%)"
,
"cpuSoftirqTip"
:
"Time for processing software interrupts (%)"
,
"cpuStealTip"
:
"Time occupied by other VMs (%)"
,
"cpuGuestTip"
:
"Time for running the VM (%)"
,
"cpuGuestniceTip"
:
"Time for running low-priority VMs (%)"
,
"cpuInterruptTip"
:
"Time for processing hardware interrupts (%)"
,
"cpuDpcTip"
:
"Time for remote calling (%)"
,
"noNpuInfo"
:
"No Ascend AI processor information"
,
"normal"
:
"Normal"
,
"generalWarn"
:
"Minor warning"
,
"importantWarn"
:
"Major warning"
,
"emergencyWarn"
:
"Critical warning"
,
"noChip"
:
"The chip does not exist or is not started."
,
"availableFree"
:
"The chip is available."
,
"availableBusy"
:
"The chip is occupied or unavailable."
,
"failQueryChip"
:
"An error occurs during chip information query."
,
"name"
:
"Name"
,
"npu"
:
"ID"
,
"available"
:
"Available"
,
"health"
:
"Health"
,
"ipAddress"
:
"IP Address"
,
"hbmUsage"
:
"HBM-Usage(MB)"
,
"power"
:
"Power(W)"
,
"temp"
:
"Temp(℃)"
},
"components"
:
{
"summaryTitle"
:
"Training selection"
,
"tagSelectTitle"
:
"Tag Selection"
,
...
...
mindinsight/ui/src/locales/zh-cn.json
浏览文件 @
67019a3c
...
...
@@ -399,49 +399,6 @@
"gpuunit"
:
"us/次"
,
"chartTitle"
:
"平均耗时排行"
},
"hardwareVisual"
:
{
"processor"
:
"昇腾AI处理器"
,
"ram"
:
"内存"
,
"selectedCpu"
:
"CPU-选中:"
,
"allCpu"
:
"CPU-总计:"
,
"chipNameTip"
:
"芯片名称"
,
"deviceIdTip"
:
"芯片编号"
,
"availableTip"
:
"芯片是否空闲(仅供参考)"
,
"healthTip"
:
"芯片健康状态"
,
"ipTip"
:
"芯片IP地址"
,
"hbmTip"
:
"芯片已用HBM内存"
,
"powerTip"
:
"芯片实时功率"
,
"temperatureTip"
:
"芯片实时温度"
,
"cpuUserTip"
:
"运行于用户态的时间百分比"
,
"cpuSystemTip"
:
"运行于内核态的时间百分比"
,
"cpuIdleTip"
:
"处于空闲状态的时间百分比"
,
"cpuNiceTip"
:
"运行低优先级进程的时间百分比"
,
"cpuIowaitTip"
:
"等待IO的时间百分比"
,
"cpuIrqTip"
:
"处理硬中断的时间百分比"
,
"cpuSoftirqTip"
:
"处理软中断的时间百分比"
,
"cpuStealTip"
:
"被其他虚拟机抢夺的时间百分比"
,
"cpuGuestTip"
:
"运行虚拟机的时间百分比"
,
"cpuGuestniceTip"
:
"运行低优先级虚拟机的时间百分比"
,
"cpuInterruptTip"
:
"处理硬中断的时间百分比"
,
"cpuDpcTip"
:
"远程调用的时间百分比"
,
"noNpuInfo"
:
"暂无昇腾AI处理器信息"
,
"normal"
:
"正常"
,
"generalWarn"
:
"一般警告"
,
"importantWarn"
:
"重要警告"
,
"emergencyWarn"
:
"紧急警告"
,
"noChip"
:
"芯片不存在或未启动"
,
"availableFree"
:
"芯片空闲"
,
"availableBusy"
:
"芯片已被占用或不可用"
,
"failQueryChip"
:
"芯片信息查询有误"
,
"name"
:
"名称"
,
"npu"
:
"编号"
,
"available"
:
"是否空闲"
,
"health"
:
"健康状态"
,
"ipAddress"
:
"IP 地址"
,
"hbmUsage"
:
"已用HBM内存(MB)"
,
"power"
:
"功率(W)"
,
"temp"
:
"温度(℃)"
},
"components"
:
{
"summaryTitle"
:
"训练选择"
,
"tagSelectTitle"
:
"标签选择"
,
...
...
mindinsight/ui/src/router.js
浏览文件 @
67019a3c
...
...
@@ -117,9 +117,5 @@ export default new Router({
},
],
},
{
path
:
'
/hardware-visual
'
,
component
:
()
=>
import
(
'
./views/train-manage/hardware-visual.vue
'
),
},
],
});
mindinsight/ui/src/services/request-service.js
浏览文件 @
67019a3c
...
...
@@ -288,10 +288,4 @@ export default {
},
});
},
getMetricsData
()
{
return
axios
({
method
:
'
get
'
,
url
:
'
v1/mindinsight/sysmetric/current
'
,
});
},
};
mindinsight/ui/src/store.js
浏览文件 @
67019a3c
...
...
@@ -30,12 +30,6 @@ export default new Vuex.Store({
timeReloadValue
:
localStorage
.
timeReloadValue
?
localStorage
.
timeReloadValue
:
10
,
// Scheduled hardware reload flag
isHardwareTimeReload
:
localStorage
.
isHardwareTimeReload
===
'
false
'
?
false
:
true
,
// hardware reload time
hardwareTimeReloadValue
:
localStorage
.
hardwareTimeReloadValue
?
localStorage
.
hardwareTimeReloadValue
:
5
,
// multiSelevtGroup component count
multiSelectedGroupCount
:
0
,
tableId
:
0
,
...
...
@@ -81,13 +75,6 @@ export default new Vuex.Store({
setTimeReloadValue
:
(
state
,
val
)
=>
{
state
.
timeReloadValue
=
val
;
},
// set isHardwareTimeReload
setIsHardwareTimeReload
:
(
state
,
val
)
=>
{
state
.
isHardwareTimeReload
=
val
;
},
setHardwareTimeReloadValue
:
(
state
,
val
)
=>
{
state
.
hardwareTimeReloadValue
=
val
;
},
multiSelectedGroupComponentNum
(
state
)
{
state
.
multiSelectedGroupCount
++
;
},
...
...
mindinsight/ui/src/views/train-manage/hardware-visual.vue
已删除
100644 → 0
浏览文件 @
81250b16
此差异已折叠。
点击以展开。
mindinsight/ui/src/views/train-manage/histogram.vue
浏览文件 @
67019a3c
...
...
@@ -787,7 +787,7 @@ export default {
}
</td><td style="text-align:center;">
${
this
.
formateNUmber
(
hoveredItem
.
step
,
)}
</td><td>
${
this
.
formateNUmber
(
(
hoveredItem
.
relative_time
/
1000
).
toFixed
(
3
),
(
hoveredItem
.
relative_time
).
toFixed
(
3
),
)}${
unit
}
</td><td>
${
this
.
dealrelativeTime
(
new
Date
(
hoveredItem
.
wall_time
*
1000
).
toString
(),
)}
</td>`
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录