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

no attribute for multi-processing #28

Open
connection-ai opened this issue May 29, 2019 · 0 comments
Open

no attribute for multi-processing #28

connection-ai opened this issue May 29, 2019 · 0 comments

Comments

@connection-ai
Copy link

connection-ai commented May 29, 2019

Do you support mpiexec ? :-(
op module has no attribute for 'allreduce_nccl'

WARNING:tensorflow:From /usr/local/lib/python3.6/dist-packages/tensorflow/python/framework/op_def_library.py:263: colocate_with (from tensorflow.python.framework.ops) is deprecated and will be removed in a future version.
Instructions for updating:
Colocations handled automatically by placer.
WARNING:tensorflow:From /usr/local/lib/python3.6/dist-packages/tensorflow/python/framework/op_def_library.py:263: colocate_with (from tensorflow.python.framework.ops) is deprecated and will be removed in a future version.
Instructions for updating:
Colocations handled automatically by placer.
--sparcity matrix : 160 X 160
--sparcity matrix : 160 X 160
Traceback (most recent call last):
File "/storage/blocksparse/examples/transformer/enwik8_psy.py", line 498, in
train_loss, train_op, gn, ns = model(X, Y, loss_scale, train=True)
File "/storage/blocksparse/examples/transformer/enwik8_psy.py", line 365, in model
loss = bs.allreduce(loss)
File "/usr/local/lib/python3.6/dist-packages/blocksparse/nccl.py", line 42, in allreduce
ret = _op_module.allreduce_nccl(x, op_num=op_counter, sync_size=sync_size, num_comms=num_comms, prereduce=prereduce, logfile=logfile, name=name)
AttributeError: module 'b4313feb600581ca30dcf30777c2167e' has no attribute 'allreduce_nccl'
Traceback (most recent call last):
File "/storage/blocksparse/examples/transformer/enwik8_psy.py", line 498, in
train_loss, train_op, gn, ns = model(X, Y, loss_scale, train=True)
File "/storage/blocksparse/examples/transformer/enwik8_psy.py", line 365, in model
loss = bs.allreduce(loss)
File "/usr/local/lib/python3.6/dist-packages/blocksparse/nccl.py", line 42, in allreduce
ret = _op_module.allreduce_nccl(x, op_num=op_counter, sync_size=sync_size, num_comms=num_comms, prereduce=prereduce, logfile=logfile, name=name)
AttributeError: module 'b4313feb600581ca30dcf30777c2167e' has no attribute 'allreduce_nccl'

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

1 participant