A distributed PS training architecture with P4 programmable switches accelerating.
pytorch needed
sudo apt install libjpeg-dev zlib1g-dev libssl-dev libffi-dev python-dev build-essential libxml2-dev libxslt1-dev
python dependency
pip3 install pulp numpy tensorboard
cpu only pytorch
pip3 install torch==1.10.0+cpu torchvision==0.11.1+cpu torchaudio==0.10.0+cpu -f https://download.pytorch.org/whl/cpu/torch_stable.html
run python3 server.py