Accelerate Deep Learning and LLM Inference with Apache Spark in the Cloud