Updated on 2024-12-31 GMT+08:00

Boot Command

Description

Command for booting an image. The boot command will be automatically executed after the code directory is downloaded.

  • If the training boot script is a .py file, train.py for example, the boot command can be python ${MA_JOB_DIR}/demo-code/train.py.
  • If the training boot script is a .sh file, main.sh for example, the boot command can be bash ${MA_JOB_DIR}/demo-code/main.sh.

Multiple boot commands can be combined by semicolons (;) and ampersands (&&). demo-code (customizable) in the boot command is the last-level directory of the OBS path.