cloud vs edge ai deployment philosophies