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

AttributeError: 'Worker' object has no attribute '_global_rank' #85

Open
christopher5106 opened this issue Jan 10, 2017 · 2 comments
Open

Comments

@christopher5106
Copy link

is the lstm example working ? thanks

@christopher5106
Copy link
Author

if I remove this line i get :

'Worker' object has no attribute '_multinode'

@cshanbo
Copy link

cshanbo commented Feb 14, 2017

I got this error, too. Can anybody help? I installed every dependency that platoon needs. But still got this error.
I did some debug step by step. I found that the error might be caused by

self._local_id = gpucoll.GpuCommCliqueId(context=self.gpuctx)

in channel/worker.py.
I'm not familiar with the gpuarray class and not sure about how GpuCommCliqueId works. But this expression seems to be crushed. So the following initialization for worker is not complete.

update

I got the idea from another issue, and the error was solved.
We should install nccl first, then install libgpuarray and pygpu. (Remember to set your LD_LIBRARY_PATH).

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