On the Sustainability of AI Inferences in the Edge