|
|
@@ -2076,6 +2076,9 @@ func InferenceJobIndex(ctx *context.Context) { |
|
|
|
for i, task := range tasks { |
|
|
|
tasks[i].CanDel = cloudbrain.CanDeleteJob(ctx, &task.Cloudbrain) |
|
|
|
tasks[i].CanModify = cloudbrain.CanModifyJob(ctx, &task.Cloudbrain) |
|
|
|
if tasks[i].ComputeResource == "" { |
|
|
|
tasks[i].ComputeResource = models.NPUResource |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
repoId := ctx.Repo.Repository.ID |
|
|
|