Understanding Distributed Training with Mosaic Composer and Comparing to Popular Frameworks such as HF Accelerate and PyTorch Lightning