From cc024296fbaaa4ebb404f5b935dfb5cd14b7a4eb Mon Sep 17 00:00:00 2001 From: zhoupzh Date: Tue, 29 Nov 2022 16:52:55 +0800 Subject: [PATCH] fix issue --- templates/repo/grampus/notebook/gpu/new.tmpl | 15 ++++++++++++ templates/repo/grampus/notebook/show.tmpl | 24 +++++++++++++++----- 2 files changed, 33 insertions(+), 6 deletions(-) diff --git a/templates/repo/grampus/notebook/gpu/new.tmpl b/templates/repo/grampus/notebook/gpu/new.tmpl index ab983d631..767d45749 100644 --- a/templates/repo/grampus/notebook/gpu/new.tmpl +++ b/templates/repo/grampus/notebook/gpu/new.tmpl @@ -111,6 +111,21 @@ {{end}} +
+ + +
+
+ + +
+
+ + +
diff --git a/templates/repo/grampus/notebook/show.tmpl b/templates/repo/grampus/notebook/show.tmpl index 7aba31d6b..72e09b55c 100644 --- a/templates/repo/grampus/notebook/show.tmpl +++ b/templates/repo/grampus/notebook/show.tmpl @@ -210,6 +210,17 @@ {{end}}
+ + + + {{$.i18n.Tr "repo.grampus.train_job.ai_center"}} + + + +
+ {{if .AiCenter}}{{.AiCenter}}{{else}}--{{end}} +
+ @@ -227,7 +238,7 @@ - + {{if eq .ComputeResource "NPU"}} 代码obs地址 @@ -253,7 +264,7 @@ - + {{end}} @@ -261,6 +272,7 @@ + {{if eq .ComputeResource "NPU"}}
@@ -284,7 +296,8 @@ {{end}}
-
+ + {{end}} @@ -333,8 +346,7 @@ }); $('td.ti-text-form-content.spec div').text(specStr); })(); - console.log("---------=-=") + console.log("---------=-sdfsdfsd=") console.log({{.task}}) - console.log({{$.datasetDownload}}) - console.log({{$.duration}}); +