serve icon indicating copy to clipboard operation
serve copied to clipboard

Register Workflows at Server Start

Open imjohsep opened this issue 3 years ago • 4 comments

🚀 The feature

Register workflows as part of application startup for immediate access to workflow predictions.

Motivation, pitch

Currently, workflows must be registered via the management api at POST /workflows?url=myworkflow.war. This requires some outside manual or automated registration of a workflow that is already thoroughly defined. Workflows should be able to self register based on some additional configuration or by default during application startup.

Alternatives

Provide support for more than one model to be executed within a single handler. This would require some tweaking of how model archiving works, so it seems less desirable. ie. defining a single handler for two model archives.

Additional context

Workflow registration inhibits the usage of torchserve within Vertex as the management api is inaccessible.

imjohsep avatar Jul 22 '22 17:07 imjohsep

We need this feature in #1841

samils7 avatar Nov 23 '22 08:11 samils7

Request this feature

RTae avatar Jun 29 '23 03:06 RTae

Please add this feature!

rawanessam avatar Jan 01 '24 10:01 rawanessam

It is a must have feature to simplify configuration. curl -X POST tricks on docker startup is ugly

iivvaall avatar Apr 11 '24 04:04 iivvaall