pixano_inference.celery
Celery configuration file.
add_celery_worker_and_queue(provider, model_config, gpu)
Add a new worker and a queue to the celery app to handle model.
Source code in pixano_inference/celery.py
create_celery_app()
Create a new celery app.
Source code in pixano_inference/celery.py
delete_celery_worker_and_queue(model_name)
Delete a worker and a queue of the celery app that handled a model.
Source code in pixano_inference/celery.py
delete_model()
instantiate_model(provider, model_config, gpu)
Instantiate a model.
Source code in pixano_inference/celery.py
model_queue_name(model_name)
predict(request)
Run a model inference from the request.