STAlloc: Enhancing Memory Efficiency in Large-Scale Model Training with Spatio-Temporal Planning