Accelerating large scale generative AI: a comprehensive study.