Uploaded image for project: 'Apache Submarine'
  1. Apache Submarine
  2. SUBMARINE-299

Write a 'submarine' shell script

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Won't Fix
    • None
    • 0.4.0
    • None
    • None

    Description

      Write a shell script file called "submarine" under "${SUBMARINE_HOME}/bin" 

      use case:

      $SUBMARINE_HOME/bin/submarine job run --name tf-job-001 \
       --framework tensorflow \
       --verbose \
       --input_path "" \
       --num_workers 2 \
       --worker_resources memory=1G,vcores=1 \
       --num_ps 1 \
       --ps_resources memory=1G,vcores=1 \
       --worker_launch_cmd "myvenv.zip/venv/bin/python mnist_distributed.py --steps 2 --data_dir /tmp/data --working_dir /tmp/mode" \
       --ps_launch_cmd "myvenv.zip/venv/bin/python mnist_distributed.py --steps 2 --data_dir /tmp/data --working_dir /tmp/mode" \
       --insecure \
       --conf tony.containers.resources=path-to/myvenv.zip#archive,path-to/mnist_distributed.py,path-to/tony-cli-0.3.13-all.jar

      Attachments

        Issue Links

          Activity

            People

              lowc1012 Ryan Lo
              lowc1012 Ryan Lo
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m