Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
warning message
  • Loading branch information
vpandiarajan20 committed Dec 1, 2025
commit 704f6963c2ec79b5c20dc4a651c0f3e0f67399e8
3 changes: 2 additions & 1 deletion cli/ml_training.go
Original file line number Diff line number Diff line change
Expand Up @@ -713,7 +713,6 @@ func MLTrainingScriptTestLocalAction(c *cli.Context, args mlTrainingScriptTestLo

// Build docker run command
dockerArgs := buildDockerRunArgs(scriptDirAbs, datasetRootAbs, outputDirAbs, tmpScript, containerImageURI)

// Setup context with signal handling for Ctrl+C
ctx, stop := signal.NotifyContext(context.Background(), os.Interrupt, syscall.SIGTERM)
defer stop()
Expand All @@ -723,6 +722,8 @@ func MLTrainingScriptTestLocalAction(c *cli.Context, args mlTrainingScriptTestLo
cmd.Stdout = c.App.Writer
cmd.Stderr = c.App.ErrWriter

printf(c.App.Writer, "WARNING: If this is your first time running training, it may take a few minutes to download the container image. This is normal and will not affect the training process.")

if err := cmd.Run(); err != nil {
// Check if the command was interrupted
if ctx.Err() == context.Canceled {
Expand Down