Closed DylanWangWQF closed 2 years ago
BTW, if we run piranha locally, we may need to add extra functions to simulate LAN and WAN environments. For me, I want to build my experiment based on piranha, so I need to collect the result under both LAN and WAN.
Hey @DylanWangWQF, coming back from out of town so apologies for the delay. I used Docker during some of my evaluation a while back, but haven't updated the Dockerfile for the current setup. Taking a look, since the Dockerfile copies your local files/
and scripts/
directories into the resulting image, you need to download the right dataset (e.g. MNIST) locally first.
That missing dataset might be why your local run above is not actually training.
As for LAN/WAN latency simulation, I wonder if it's a good idea to integrate that into Piranha or add that as a separate software layer somewhere else. In any case, I think it'll be hard to get the same performance running all parties locally because they're all contending for the PCIe bus to talk to their GPUs.
Hey @DylanWangWQF, coming back from out of town so apologies for the delay. I used Docker during some of my evaluation a while back, but haven't updated the Dockerfile for the current setup. Taking a look, since the Dockerfile copies your local
files/
andscripts/
directories into the resulting image, you need to download the right dataset (e.g. MNIST) locally first.That missing dataset might be why your local run above is not actually training.
Yep! I have already tested it successfully.
As for LAN/WAN latency simulation, I wonder if it's a good idea to integrate that into Piranha or add that as a separate software layer somewhere else. In any case, I think it'll be hard to get the same performance running all parties locally because they're all contending for the PCIe bus to talk to their GPUs.
Yes, if I run locally on a single machine, maybe I have to test how much it affects the overall performance of my exp. Thanks!
BTW, does piranha implement the functionality of the equality test in 3PC?
Hi @jlwatson I tried to run piranha locally on 3 GPUs and build it in the docker container.
In
Makefile
,CUDA_VERSION=11.5
while the installed version is specified as11.6
in Dockerfile. I guess here needs the synchronization in piranha (I just changed the version inMakefile
to avoid make error).After solving several configuration issues, I can run piranha locally now. I guess some commands in the
Dockfile
should be updated (e.g., download the dataset for training, etc..). Here is the running log:Here are some logs in my machine if someone wants to check: