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

Paralleling walks generation (corpus generation) #30

Closed
vgupta123 opened this issue Dec 30, 2016 · 3 comments
Closed

Paralleling walks generation (corpus generation) #30

vgupta123 opened this issue Dec 30, 2016 · 3 comments

Comments

@vgupta123
Copy link

vgupta123 commented Dec 30, 2016

Hi,

Can we parallelize this graph.build_deepwalk_corpus so that we could generate multiple walks parallelly?
This would bring a good speedup if we have to generate large numbers of walks?. Also, we could see if we could use previous walks (sub part) for generation of new walks.

@phanein
Copy link
Owner

phanein commented Jan 6, 2017

Some of this functionality exists. Arguments --workers and --max-memory-data-size allow control of parallel walk generation, and dumping the walks to disk.

Reusing existing walks would only be a small change - see how this code loads walks from disk.

@rkchunduri
Copy link

HI Phanein,

How can I run deepwalk on aws cluster,I have cluster with 5 instances, but does it run without any code change and specify --workers =5 ?

@GTmac
Copy link
Collaborator

GTmac commented Apr 3, 2017

@rkchunduri This will not work. --workers=5 will use 5 threads on a single machine for generating random walks.

@GTmac GTmac closed this as completed Jul 24, 2017
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

4 participants