Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

simulation code - step2, decentralized SGD as a reference implementation, static graph #1

Closed
martinjaggi opened this issue Jun 23, 2020 · 1 comment

Comments

@martinjaggi
Copy link
Member

martinjaggi commented Jun 23, 2020

depends on #6

get an easy to use reference code for training (simulated decentralized, so just running locally without any p2p backend) on any given communication graph, on a standard/toy dataset. this will be useful to later to compare the p2p version to it.

for simplicity we'll first assume all nodes perform one step of SGD (gradient and communication) per clock step, and that the underlying communication graph remains fixed (the code should allow giving an arbitrary graph as an input)

@martinjaggi martinjaggi changed the title simulation code of decentralized SGD as a reference implementation, synchronized case simulation code - step2, decentralized SGD as a reference implementation, synchronized case Jul 9, 2020
@martinjaggi martinjaggi added this to the v1.0 p2p dummy prototype, plus simulator milestone Jul 9, 2020
@martinjaggi martinjaggi changed the title simulation code - step2, decentralized SGD as a reference implementation, synchronized case simulation code - step2, decentralized SGD as a reference implementation, static graph Aug 14, 2020
@Saipraneet
Copy link
Member

Saipraneet commented Dec 13, 2020

1e208c4

I think this simulation solves this issue (at least for CNN on MNIST). Uses an user defined communication graph which can be set each step. I think this also solves #2 with some minor adaptation. Additionally, we can control number of local updates in each node before communication as well (like in federated learning).

Please feel free to re-open issue/unroll commit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants