Browse Source

优化

pull/235/head
chenzhihang 8 months ago
parent
commit
6809f62b9c
5 changed files with 0 additions and 5 deletions
  1. +0
    -1
      ruoyi-modules/management-platform/src/main/java/com/ruoyi/platform/service/impl/ActiveLearnServiceImpl.java
  2. +0
    -1
      ruoyi-modules/management-platform/src/main/java/com/ruoyi/platform/service/impl/ExperimentInsServiceImpl.java
  3. +0
    -1
      ruoyi-modules/management-platform/src/main/java/com/ruoyi/platform/service/impl/ExperimentServiceImpl.java
  4. +0
    -1
      ruoyi-modules/management-platform/src/main/java/com/ruoyi/platform/service/impl/MachineLearnServiceImpl.java
  5. +0
    -1
      ruoyi-modules/management-platform/src/main/java/com/ruoyi/platform/service/impl/RayServiceImpl.java

+ 0
- 1
ruoyi-modules/management-platform/src/main/java/com/ruoyi/platform/service/impl/ActiveLearnServiceImpl.java View File

@@ -199,7 +199,6 @@ public class ActiveLearnServiceImpl implements ActiveLearnService {
Map<String, String> output2 = (Map<String, String>) output1.get(0);
String outputPath = output2.get("path").replace("{{workflow.name}}", (String) metadata.get("name"));
activeLearnIns.setResultPath(outputPath);
activeLearnInsService.queryStatusFromArgo(activeLearnIns);
activeLearnInsDao.insert(activeLearnIns);
activeLearnInsService.updateActiveLearnStatus(id);
// 记录开始扣除积分


+ 0
- 1
ruoyi-modules/management-platform/src/main/java/com/ruoyi/platform/service/impl/ExperimentInsServiceImpl.java View File

@@ -273,7 +273,6 @@ public class ExperimentInsServiceImpl implements ExperimentInsService {

@Override
public ExperimentIns queryStatusFromArgo(ExperimentIns ins) {

String namespace = ins.getArgoInsNs();
String name = ins.getArgoInsName();
Integer id = ins.getId();


+ 0
- 1
ruoyi-modules/management-platform/src/main/java/com/ruoyi/platform/service/impl/ExperimentServiceImpl.java View File

@@ -306,7 +306,6 @@ public class ExperimentServiceImpl implements ExperimentService {
experimentIns.setMetricRecord(JacksonUtil.toJSONString(metricRecord));
}
//插入ExperimentIns表中
experimentInsService.queryStatusFromArgo(experimentIns);
ExperimentIns insert = experimentInsService.insert(experimentIns);
//插入到模型依赖关系表
if (dependendcy != null && trainInfo != null) {


+ 0
- 1
ruoyi-modules/management-platform/src/main/java/com/ruoyi/platform/service/impl/MachineLearnServiceImpl.java View File

@@ -231,7 +231,6 @@ public class MachineLearnServiceImpl implements MachineLearnService {
break;
}
}
machineLearnInsService.queryStatusFromArgo(machineLearnIns);
machineLearnInsDao.insert(machineLearnIns);
machineLearnInsService.updateMLStatus(id);
if (computingResourceId != null) {


+ 0
- 1
ruoyi-modules/management-platform/src/main/java/com/ruoyi/platform/service/impl/RayServiceImpl.java View File

@@ -218,7 +218,6 @@ public class RayServiceImpl implements RayService {
Map<String, String> output2 = (Map<String, String>) output1.get(0);
String outputPath = output2.get("path").replace("{{workflow.name}}", (String) metadata.get("name")) + "/hpo";
rayIns.setResultPath(outputPath);
rayInsService.queryStatusFromArgo(rayIns);
rayInsDao.insert(rayIns);
rayInsService.updateRayStatus(id);
// 记录开始扣除积分


Loading…
Cancel
Save