Package your model
Package and deploy your models with Magicpoint
Magicpoint is an open source model packaging tool developed by Each. You can use Magicpoint to package and deploy any model to Each, from open-source models on Hugging Face 🤗 and Github to your own proprietary models.
Magicpoint python package has 3 main functionality:
- Initialize
- Task
- Background Task
If you need more information about Magicpoint, read the documentation.
Initalize your Application
Initialize runs once when pod is ready. Init process is required for handling the inference or training applications.
Define your Task
Task is an endpoint that you can run via HTTP request or Magicpoint Client SDK. There is an difference between task and background task:
Task: It’s syncronous process that your http request can wait until the end.
Background Task: It’s asyncronous process that these type of endpoints returns an background task ID to track details.
Task: