|
@@ -684,6 +684,7 @@ public class ProjectApplicationService {
|
|
|
SimulationMageGroupPO groupPO = mageGroupMapper.selectSimulationMageGroupById(projectStartMessageEntity.getSimulationMageGroupId());
|
|
|
String connectorPath = groupPO.getConnectorPath();
|
|
|
String controllerPath = groupPO.getControllerPath();
|
|
|
+ String softwarePath = groupPO.getSoftwarePath();
|
|
|
ArrayList<String> yamlToRunRedisKeyList = new ArrayList<>();
|
|
|
for (String taskJsonPath : taskJsonList) {
|
|
|
String taskId = FileUtil.getFilenameWithoutSuffix(taskJsonPath);
|
|
@@ -728,7 +729,7 @@ public class ProjectApplicationService {
|
|
|
}
|
|
|
// 只有准备启动(即 currentCount == 0)的时候才指定 cpu 编号
|
|
|
log.info("创建任务 {} 的 yaml:是否使用 gpu (0是1否){},当前节点已创建 yaml 个数为:{},当前节点名称为:{},当前 cpu 编号为:{},镜像名:{}", taskId, isChoiceGpu, currentCount, currentNodeName, cpuOrder, algorithmDockerImage);
|
|
|
- String yamlRedisKey = projectDomainService.createTempYaml(projectId, vehicleConfigId, modelType, algorithmDockerImage, currentNodeName, partition, offset, isChoiceGpu, cpuOrder, connectorPath, controllerPath);
|
|
|
+ String yamlRedisKey = projectDomainService.createTempYaml(projectId, vehicleConfigId, modelType, algorithmDockerImage, currentNodeName, partition, offset, isChoiceGpu, cpuOrder, connectorPath, controllerPath, softwarePath);
|
|
|
if (currentCount == 0) {
|
|
|
yamlToRunRedisKeyList.add(yamlRedisKey);
|
|
|
}
|