Inference and serving