|
|
|
@@ -228,7 +228,7 @@ func GrampusNotebookCreate(ctx *context.Context, form auth.CreateGrampusNotebook |
|
|
|
return |
|
|
|
} |
|
|
|
|
|
|
|
if processType == grampus.ProcessorTypeGPU { |
|
|
|
if processType == grampus.ProcessorTypeGPU || processType == grampus.ProcessorTypeGCU { |
|
|
|
if err := uploadCodeToMinio(codeLocalPath+"/", jobName, cloudbrain.CodeMountPath+"/"); err != nil { |
|
|
|
log.Error("Failed to uploadCodeToMinio: %s (%v)", repo.FullName(), err, ctx.Data["MsgID"]) |
|
|
|
grampusNotebookNewDataPrepare(ctx, processType) |
|
|
|
|