[
https://issues.apache.org/jira/browse/SUBMARINE-299?focusedWorklogId=349087&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-349087
]
ASF GitHub Bot logged work on SUBMARINE-299:
--------------------------------------------
Author: ASF GitHub Bot
Created on: 25/Nov/19 11:29
Start Date: 25/Nov/19 11:29
Worklog Time Spent: 10m
Work Description: lowc1012 commented on pull request #104: SUBMARINE-299.
Write a 'submarine' shell script
URL: https://github.com/apache/submarine/pull/104
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 349087)
Time Spent: 20m (was: 10m)
> 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: 20m
> 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: [email protected]
For additional commands, e-mail: [email protected]