Page MenuHomePhabricator

Deploy logo-detection model-server to LiftWing production
Closed, ResolvedPublic

Description

The logo-detection model-server is in the Wikimedia docker registry as per T362598: Prepare docker image for hosting the logo-detection model-server on LiftWing.
As the next step to T362749: Deploy logo-detection model-server to LiftWing staging and in light of T364551#9977031, deploy the service to the production endpoint.

Structured Content will provide a rough estimate of the expected load in T370756: Estimate the logo detection service's expected load.

Event Timeline

Change #1058031 had a related patch set uploaded (by Kevin Bazira; author: Kevin Bazira):

[operations/deployment-charts@master] ml-services: move logo-detection isvc to prod

https://gerrit.wikimedia.org/r/1058031

Change #1058031 merged by jenkins-bot:

[operations/deployment-charts@master] ml-services: move logo-detection isvc to prod

https://gerrit.wikimedia.org/r/1058031

@mfossati, the logo-detection inference service is now live in LiftWing production. It can be accessed through:
1.Internal endpoint:

$ curl "https://inference.svc.codfw.wmnet:30443/v1/models/logo-detection:predict" -X POST -d '{"instances": [ { "filename": "Cambia_logo.png", "image": "base64_encoded_image", "target": "logo" } ] }' -H  "Host: logo-detection.logo-detection.wikimedia.org" -H "Content-Type: application/json" --http1.1

2.Documentation:

Please let us know in case there are any edge cases we may have missed. :)

Thank you @kevinbazira for your work, I can confirm that the endpoint is working, made a test request from stat1010.

Change #1064005 had a related patch set uploaded (by Kevin Bazira; author: Kevin Bazira):

[operations/puppet@production] httpbb: add post deployment tests for the logo-detection endpoint

https://gerrit.wikimedia.org/r/1064005

Change #1064005 merged by Klausman:

[operations/puppet@production] httpbb: add post deployment tests for the logo-detection endpoint

https://gerrit.wikimedia.org/r/1064005