[ERROR] Worker (pid:11) was sent code 132 When deploying a Custom Model in serving

Junqueira
Databricks Partner

Hi, I've been developing a custom model with mlflow.pyfunc.PythonModel. Among other libs, I use ANNOY. While trying to serve the model as an endpoint in "serving", After a few fixes my model worked fine as well the endpoin call.

Altough, I tried update it, no big deal, but i didn's start the serving point again, it keeps showing the error: 

[ERROR] Worker (pid:11) was sent code 132

It tries to change worker e nothing happens. Even if I backup the older model, that works, the same error. AFter many changes and testing, I notice that ine thing is different from the working one from the fails. 

Fails have : "Using worker: sync"

Working has "Using worker: gevent"

 

How to I specifiy to use "gevent" working when starting an serving.??

thank you