Hi, I’ve been having trouble deploying a very simple model trained in Jupyter Notebook for weeks.
It’s a model with just three input parameters, but I find it impossible to use the model once it’s trained.
Is there any step-by-step guide on how to deploy a model? I don’t want modeling objectives or anything; I just want to use the model in the simplest way possible.
If you want to avoid using modeling objectives, you can always directly publish your model as a function from the model page, and then that function can be brought into workshop.
Is a model to predict prices based on X parameters, is quite simple.
I want to implement this in the middle of my workflow, after the pipeline builder is deployed and before creating the object type based on the dataset. (This dataset would be created with a new column representing the prices predicted by the model.)
I was trying a lot of things related with this topic,
the last try I was following the house pricing example.
And I implemented it following the steps but with my own code, the example uses Modeling Objective and works fine, but doing the same with my own data I have a “Module (i.e. driver) ran out of memory”.
I don’t know why this happens and how to solve it.
Please note that no matter where you use your model (batch deployments or python transforms), the model will not do any batching of your inputs, instead attempting to one-shot the entire dataset. In python transforms, you can use the DistributedInferenceWrapper which will batch the input data for you, or you can manually write the code to batch your inputs when you call .predict.