You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@submarine.apache.org by "Liu Xun (Jira)" <ji...@apache.org> on 2019/11/25 11:14:00 UTC

[jira] [Commented] (SUBMARINE-299) Write a 'submarine' shell script

    [ https://issues.apache.org/jira/browse/SUBMARINE-299?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16981448#comment-16981448 ] 

Liu Xun commented on SUBMARINE-299:
-----------------------------------


The submarine job submission method is still under discussion in the community. There are three ways to discuss the current discussion, but it is not finalized.

Submit the job through the Submission workbench
Submit the job through the submarine server
Connect the submarine server through the submarine client to submit the job
Thank you very much for your interest in the submarine project, but I am very sorry that this PR is not acceptable for the time being.

I suggest you attend a meeting in the submarine community so that you can learn more about the direction of the community.

> Write a 'submarine' shell script
> --------------------------------
>
>                 Key: SUBMARINE-299
>                 URL: https://issues.apache.org/jira/browse/SUBMARINE-299
>             Project: Apache Submarine
>          Issue Type: Improvement
>            Reporter: Ryan Lo
>            Assignee: Ryan Lo
>            Priority: Minor
>              Labels: pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Write a shell script file called "submarine" under "${SUBMARINE_HOME}/bin" 
> use case:
> {code:java}
> $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{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@submarine.apache.org
For additional commands, e-mail: dev-help@submarine.apache.org