This is an implementation of the accelerated AllReduce for distribute DNN training using P4 switches. This project is a part of Advanced Computer Network course offered in the Masters in computer science program at Vrije Universitet, Amsterdam. More detail about the project on report.pdf.