autodeployai / ai-serving

Serving AI/ML models in the open standard formats PMML and ONNX with both HTTP (REST API) and gRPC endpoints
Apache License 2.0
144 stars 31 forks source link

How to delete the specified version and list all the models by REST api? #4

Closed potoo0 closed 3 years ago

potoo0 commented 3 years ago
  1. Current undeployment REST api will delete all versions of the model, how to delete the specified one?
  2. REST api for list all deployed models?
scorebot commented 3 years ago

@potoo0

  1. Currently, there is no way to delete the specified version, a previous version deletion will cause the next versions changed, or lead to an invalid version, that's the reason why no such API available.
  2. Use the following endpoint to get all deployed models: http://host:port/v1/models, see here
potoo0 commented 3 years ago

got it, thx.