v1

latestSwagger 2.02026-07-17506482.8 KB
modelDeploy

Create a Service in the given Namesapce

Post Service.

post/mf/v1/service

Request body

service_idnumber

Service Id.

service_namestring required

Service Name.

typestring required

Service Type, Include Single, ABTest, Graph.

namespacestring required

Service NameSpace.

creation_timestampstring

creation timestamp of service.

last_updated_timestampstring

last update timestamp of this service.

cpunumber double required

Serivce CPU resource.

gpustring required

Serivce GPU resource.

memorynumber double required

Service memory resource.

group_idnumber

the group id of this service.

log_pathstring

The location of log path.

remarkstring

The location path of the model material.

Response

OK