thunlp / OpenNE

An Open-Source Package for Network Embedding (NE)
MIT License
1.68k stars 485 forks source link

multi-GPU #106

Closed Bznkxs closed 3 years ago

Bznkxs commented 4 years ago

Supports GPU; Modifies model structure:

LynnZhang9 commented 3 years ago

Thank you for your work! But I still don't find how can we run this packages on gpu, where should we adjust the script?

Bznkxs commented 3 years ago

Thank you for your work! But I still don't find how can we run this packages on gpu, where should we adjust the script?

@LynnZhang9 please refer to readme.md at the pytorch branch(https://github.com/thunlp/OpenNE/tree/pytorch). It should be straightforward to run the stable branch with GPU.