torchserve-dashboard icon indicating copy to clipboard operation
torchserve-dashboard copied to clipboard

Init status of Torchserve

Open JiangongWang opened this issue 2 years ago • 2 comments

Can I set the init status of Torchserve as start?

JiangongWang avatar Jan 11 '22 05:01 JiangongWang

you want torchserve to start as soon as you run the torchserve-dashboard command? If so, you can add a call to ts.start_torchserve() on line 140 of dash.py. (first clone the repo, make the changes, run "pip install -e .")

I'll look into adding this feature into the CLI options next release so you can just use it like "torchserve-dashboard --init [...blah blah other options]"

Thanks for the suggestion 😄

cceyda avatar Jan 11 '22 23:01 cceyda

Thank you! Looking forward to the new release.

JiangongWang avatar Jan 13 '22 01:01 JiangongWang