Browse Source

Merge pull request '新增gpu训练停止状态' (#1832) from fix-1820 into V20220415

Reviewed-on: https://git.openi.org.cn/OpenI/aiforge/pulls/1832
Reviewed-by: ychao_1983 <ychao_1983@sina.com>
tags/v1.22.4.1^2
ychao_1983 3 years ago
parent
commit
afe345a0b7
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      templates/admin/cloudbrain/list.tmpl

+ 1
- 1
templates/admin/cloudbrain/list.tmpl View File

@@ -155,7 +155,7 @@
</a>
</form>
{{else}}
<a style="padding: 0.5rem 1rem;" id="ai-stop-{{$JobID}}" class="ui basic ai_stop_version {{if eq .Status "KILLED" "FAILED" "START_FAILED" "KILLING" "COMPLETED" "SUCCEEDED"}}disabled {{else}} blue {{end}}button" data-repopath="{{.Repo.OwnerName}}/{{.Repo.Name}}{{if eq .ComputeResource "CPU/GPU"}}/cloudbrain/train-job{{else}}/modelarts/{{if eq .JobType "INFERENCE"}}inference-job{{else}}train-job{{end}}{{end}}" data-jobid="{{$JobID}}" data-version="{{.VersionName}}" >
<a style="padding: 0.5rem 1rem;" id="ai-stop-{{$JobID}}" class="ui basic ai_stop_version {{if eq .Status "KILLED" "FAILED" "START_FAILED" "KILLING" "COMPLETED" "SUCCEEDED" "STOPPED"}}disabled {{else}} blue {{end}}button" data-repopath="{{.Repo.OwnerName}}/{{.Repo.Name}}{{if eq .ComputeResource "CPU/GPU"}}/cloudbrain/train-job{{else}}/modelarts/{{if eq .JobType "INFERENCE"}}inference-job{{else}}train-job{{end}}{{end}}" data-jobid="{{$JobID}}" data-version="{{.VersionName}}" >
{{$.i18n.Tr "repo.stop"}}
</a>
{{end}}


Loading…
Cancel
Save