DeepGraphLearning / graphvite

GraphVite: A General and High-performance Graph Embedding System
https://graphvite.io
Apache License 2.0
1.21k stars 151 forks source link

Is the given example on the graphvite.io wrong? #79

Closed DoDzilla-ai closed 3 years ago

DoDzilla-ai commented 3 years ago

Below the title Reproduce baseline benchmarks there is an example that states the given example is using 4 GPUs and 12 CPUs but the command line code is this:

graphvite baseline rotate fb15k --gpu 4 --cpu 3

I didn't understand how --cpu 3 means "use 12 CPUs".

KiddoZhu commented 3 years ago

Here --cpu means the number of CPU per GPU.

This design ensures that CPUs can always be equally distributed to GPUs.

DoDzilla-ai commented 3 years ago

Ok, now it makes sense. Thank you. I think this explanation should be included somewhere there for people with a lack of coffee. This issue can be closed.