Can I run any deepspeed application with

I was interested in learning that, with deepspeed, you can use to run HuggingFace and Pytorch Lightning application with deepspeed optimizations. Is this also true for any arbitrary deepspeed application? Additionally, I was also curious as to what the differences were between the deepspeed launcher and using the launcher?

Thank you so much!