提交 ce5cb7f9 编写于 作者: M mindspore-ci-bot 提交者: Gitee

!566 The assistant of profiling module under GPU adds training log path display

Merge pull request !566 from 黄伟锋/gpuprofiling
...@@ -20,6 +20,10 @@ limitations under the License. ...@@ -20,6 +20,10 @@ limitations under the License.
:class="{collapse:collapse}"> :class="{collapse:collapse}">
<div class="helper" <div class="helper"
v-show="!collapse"> v-show="!collapse">
<div class="summary-path">
{{$t('trainingDashboard.summaryDirPath')}}
<span>{{ summaryPath}}</span>
</div>
<div class="cur-card"> <div class="cur-card">
<label>{{$t('profiling.curCard')}}</label> <label>{{$t('profiling.curCard')}}</label>
<el-select v-model="curDashboardInfo.curCardNum" <el-select v-model="curDashboardInfo.curCardNum"
...@@ -61,6 +65,7 @@ import RequestService from '../../services/request-service'; ...@@ -61,6 +65,7 @@ import RequestService from '../../services/request-service';
export default { export default {
data() { data() {
return { return {
summaryPath: this.$route.query.summaryPath,
tipsArrayList: [ tipsArrayList: [
'step_trace-iter_interval', 'step_trace-iter_interval',
'minddata_pipeline-general', 'minddata_pipeline-general',
...@@ -330,11 +335,26 @@ export default { ...@@ -330,11 +335,26 @@ export default {
} }
.helper { .helper {
padding: 32px; padding: 32px;
padding-top: 20px;
height: 100%; height: 100%;
overflow-y: auto; overflow-y: auto;
margin-left: 24px; margin-left: 24px;
background: #edf0f5; background: #edf0f5;
word-wrap: break-word; word-wrap: break-word;
.summary-path {
line-height: 24px;
font-size: 14px;
overflow: hidden;
font-weight: bold;
padding-bottom: 10px;
word-break: break-all;
text-overflow: -o-ellipsis-lastline;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 4;
-webkit-box-orient: vertical;
}
.nowrap-style { .nowrap-style {
white-space: nowrap; white-space: nowrap;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册