Legacy
FutureWarning stuff
Everything under this section of our documentation is under a future warning. It's not deprecated or outdated yet, but something we'll provide less support for and something you should expect to be deprecated in the future.
If you're starting a new project we strongly encourage you not to use anything in this section. There should be a more up-to-date version for what you need.
You don't need to be worried now about your code at the moment but we recommend you start looking at porting your project to the up-to-date docs.
To ensure that your model is compatible with Turboboot you should follow the previously recommended serverless-template and make sure that you follow the guides below:
- 1.The functions in
app.py
need to to follow the naming convetion ofinit()
andinference()
- 2.The entrypoint in the
Dockerfile
needs to remain unchanged - 3.The
server.py
file needs to remain as in the template
Last modified 1mo ago