Is it possible to deploy to a Cloudflare worker?

I still don’t understand it completely but it seems like Cloudflare workers are some sort of a serverless architecture for deploying web apps and endpoints. I used them to deploy another app I found on Github since it’s a free service (for a limited # of requests per day.)

Now, I’m wondering if it’s possible to deploy a model to a Cloudflare worker (note that they support Python.) However, I haven’t found many Cloudflare worker examples written in Python on Github. Has anyone even attempted something like this?

My intuition tells me that deploying a Fastai model to a Cloudflare worker is akin to trying to fly to the moon in an airplane but feel free to prove me wrong.

1 Like