Piper: A Programmable Distributed Training System — ThinkLLM