|
|
|
@@ -70,7 +70,7 @@ |
|
|
|
<div class="repository"> |
|
|
|
{{template "repo/header" .}} |
|
|
|
<div class="ui container"> |
|
|
|
<div class="cloudbrain-type" style="display: none;" data-cloudbrain-type="{{.datasetType}}" data-repo-link="{{.RepoLink}}" data-flag-model="true" data-dataset-uuid="{{.uuid}}" data-dataset-name="{{.dataset_name}}" data-queue="{{.QueuesDetail}}" data-queue-start="{{.i18n.Tr "repo.wait_count_start"}}" data-queue-end="{{.i18n.Tr "repo.wait_count_end"}}"></div> |
|
|
|
<div class="cloudbrain-type" style="display: none;" data-cloudbrain-type="{{.datasetType}}" data-repo-link="{{.RepoLink}}" data-flag-model="true" data-dataset-uuid="{{.attachment}}" data-dataset-name="{{.dataset_name}}" data-queue="{{.QueuesDetail}}" data-queue-start="{{.i18n.Tr "repo.wait_count_start"}}" data-queue-end="{{.i18n.Tr "repo.wait_count_end"}}"></div> |
|
|
|
{{template "base/alert" .}} |
|
|
|
<h4 class="ui top attached header"> |
|
|
|
{{.i18n.Tr "repo.modelarts.train_job.new"}} |
|
|
|
@@ -176,28 +176,6 @@ |
|
|
|
<option name="job_type" value="TRAIN">TRAIN</option> |
|
|
|
</select> |
|
|
|
</div> |
|
|
|
<!--<div class="required min_title inline field"> |
|
|
|
<label class="label-fix-width" style="font-weight: normal;">{{.i18n.Tr "cloudbrain.gpu_type"}}</label> |
|
|
|
<select id="cloudbrain_gpu_type" class="ui search width806 dropdown gpu-type" placeholder="选择GPU类型" |
|
|
|
style='width:385px' name="gpu_type"> |
|
|
|
{{if .gpu_type}} |
|
|
|
{{range .train_gpu_types}} |
|
|
|
{{if eq $.gpu_type .Queue}} |
|
|
|
<option value="{{.Queue}}">{{.Value}}</option> |
|
|
|
{{end}} |
|
|
|
{{end}} |
|
|
|
{{range .train_gpu_types}} |
|
|
|
{{if ne $.gpu_type .Queue}} |
|
|
|
<option value="{{.Queue}}">{{.Value}}</option> |
|
|
|
{{end}} |
|
|
|
{{end}} |
|
|
|
{{else}} |
|
|
|
{{range .train_gpu_types}} |
|
|
|
<option value="{{.Queue}}">{{.Value}}</option> |
|
|
|
{{end}} |
|
|
|
{{end}} |
|
|
|
</select> |
|
|
|
</div>--> |
|
|
|
<div id="images-new-cb"> |
|
|
|
|
|
|
|
</div> |
|
|
|
@@ -232,29 +210,6 @@ |
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<!--<div class="required min_title inline field"> |
|
|
|
<label class="label-fix-width" style="font-weight: normal;">{{.i18n.Tr "cloudbrain.resource_specification"}}</label> |
|
|
|
<select id="cloudbrain_resource_spec" class="ui search dropdown" placeholder="选择资源规格" |
|
|
|
style='width:385px' name="resource_spec_id"> |
|
|
|
{{if .resource_spec_id}} |
|
|
|
{{range .train_resource_specs}} |
|
|
|
{{if eq $.resource_spec_id .Id}} |
|
|
|
<option value="{{.Id}}">{{$.i18n.Tr "cloudbrain.gpu_num"}}:{{.GpuNum}},{{$.i18n.Tr "cloudbrain.cpu_num"}}:{{.CpuNum}},{{$.i18n.Tr "cloudbrain.memory"}}(MB):{{.MemMiB}},{{$.i18n.Tr "cloudbrain.shared_memory"}}(MB):{{.ShareMemMiB}}</option> |
|
|
|
{{end}} |
|
|
|
{{end}} |
|
|
|
{{range .train_resource_specs}} |
|
|
|
{{if ne $.resource_spec_id .Id}} |
|
|
|
<option value="{{.Id}}">{{$.i18n.Tr "cloudbrain.gpu_num"}}:{{.GpuNum}},{{$.i18n.Tr "cloudbrain.cpu_num"}}:{{.CpuNum}},{{$.i18n.Tr "cloudbrain.memory"}}(MB):{{.MemMiB}},{{$.i18n.Tr "cloudbrain.shared_memory"}}(MB):{{.ShareMemMiB}}</option> |
|
|
|
{{end}} |
|
|
|
{{end}} |
|
|
|
{{else}} |
|
|
|
{{range .train_resource_specs}} |
|
|
|
<option name="resource_spec_id" value="{{.Id}}"> |
|
|
|
{{$.i18n.Tr "cloudbrain.gpu_num"}}:{{.GpuNum}},{{$.i18n.Tr "cloudbrain.cpu_num"}}:{{.CpuNum}},{{$.i18n.Tr "cloudbrain.memory"}}(MB):{{.MemMiB}},{{$.i18n.Tr "cloudbrain.shared_memory"}}(MB):{{.ShareMemMiB}}</option> |
|
|
|
{{end}} |
|
|
|
{{end}} |
|
|
|
</select> |
|
|
|
</div>--> |
|
|
|
|
|
|
|
<div class="required min_title inline field"> |
|
|
|
<label class="label-fix-width" style="font-weight: normal;">{{.i18n.Tr "cloudbrain.resource_specification"}}</label> |
|
|
|
|