From cf7056e015d038b7d6fcdb30bd9b42f300a633ca Mon Sep 17 00:00:00 2001 From: ychao_1983 Date: Wed, 14 Dec 2022 10:41:16 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- routers/repo/grampus.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/routers/repo/grampus.go b/routers/repo/grampus.go index f471f0c4d..df56cfa94 100755 --- a/routers/repo/grampus.go +++ b/routers/repo/grampus.go @@ -1696,6 +1696,11 @@ func GrampusNotebookRestart(ctx *context.Context) { Type: task.Type, Uuid: task.Uuid, Image: task.Image, + ImageID: task.ImageID, + EngineID: task.EngineID, + CommitID: task.CommitID, + EngineName: task.EngineName, + IsLatestVersion: "1", BranchName: task.BranchName, DatasetName: task.DatasetName, ComputeResource: task.ComputeResource, @@ -1708,6 +1713,7 @@ func GrampusNotebookRestart(ctx *context.Context) { LabelName: task.LabelName, PreTrainModelUrl: task.PreTrainModelUrl, CkptName: task.CkptName, + WorkServerNumber: 1, } err = models.RestartCloudbrain(task, newTask) From 0b5b3450672c0540d041d4e01617d4bb5006390d Mon Sep 17 00:00:00 2001 From: ychao_1983 Date: Thu, 15 Dec 2022 10:54:04 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=9B=BD=E9=99=85?= =?UTF-8?q?=E5=8C=96=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- options/locale/locale_en-US.ini | 1 + options/locale/locale_zh-CN.ini | 1 + 2 files changed, 2 insertions(+) diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini index ddc26257d..c42b9fcce 100755 --- a/options/locale/locale_en-US.ini +++ b/options/locale/locale_en-US.ini @@ -1061,6 +1061,7 @@ model_rename=Duplicate model name, please modify model name. notebook_file_not_exist=Notebook file does not exist. notebook_select_wrong=Please select a Notebook(.ipynb) file first. notebook_file_no_right=You have no right to access the Notebook(.ipynb) file. +debug_again_fail=Fail to restart debug task, please try again later. date=Date repo_add=Project Increment diff --git a/options/locale/locale_zh-CN.ini b/options/locale/locale_zh-CN.ini index c2518a0cd..6f6332b03 100755 --- a/options/locale/locale_zh-CN.ini +++ b/options/locale/locale_zh-CN.ini @@ -1060,6 +1060,7 @@ model_rename=模型名称重复,请修改模型名称 notebook_file_not_exist=Notebook文件不存在。 notebook_select_wrong=请先选择Notebook(.ipynb)文件。 notebook_file_no_right=您没有这个Notebook文件的读权限。 +debug_again_fail=再次调试失败,请稍后再试。 date=日期 repo_add=新增项目