Browse Source

#3277

gcu:fix bug
tags/v1.22.12.2^2
chenyifan01 3 years ago
parent
commit
6a7df0460b
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      modules/grampus/grampus.go

+ 3
- 0
modules/grampus/grampus.go View File

@@ -197,6 +197,9 @@ func GenerateNotebookJob(ctx *context.Context, req *GenerateNotebookJobReq) (job
ReadOnly: false,
ContainerPath: cloudbrain.CodeMountPath,
}
if ProcessorTypeGCU == req.ProcessType {
imageUrl = ""
}
req.Command = fmt.Sprintf(CommandGpuDebug, cpCommand, setting.CullIdleTimeout, setting.CullIdleTimeout, setting.CullInterval, setting.CullIdleTimeout, setting.CullInterval)
log.Info("debug command:" + req.Command)



Loading…
Cancel
Save