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

Can't run tutorial_parser.ipynb on GPU #4

Open
BarclayII opened this issue Mar 30, 2017 · 0 comments
Open

Can't run tutorial_parser.ipynb on GPU #4

BarclayII opened this issue Mar 30, 2017 · 0 comments

Comments

@BarclayII
Copy link

When I pasted all the contents into a single Python file and run the following:

python parser.py --dynet-gpus 1 --dynet-mem 10000

It throws the following Not Implemented error:

[dynet] initializing CUDA
Request for 1 GPU ...
[dynet] Device Number: 0
[dynet]   Device name: Tesla K80
[dynet]   Memory Clock Rate (KHz): 2505000
[dynet]   Memory Bus Width (bits): 384
[dynet]   Peak Memory Bandwidth (GB/s): 240.48
[dynet]   Memory Free (GB): 11.927/11.9956
[dynet]
[dynet] Device(s) selected: 0
[dynet] random seed: 3589591803
[dynet] allocating memory: 10000MB
[dynet] memory allocation done.
Traceback (most recent call last):
  File "parser.py", line 206, in <module>
    dev_loss += loss.scalar_value()
  File "_gdynet.pyx", line 947, in _gdynet.Expression.scalar_value (_gdynet.cpp:23604)
    cpdef scalar_value(self, recalculate=False):
  File "_gdynet.pyx", line 960, in _gdynet.Expression.scalar_value (_gdynet.cpp:23509)
    return c_as_scalar(self.cgp().get_value(self.vindex))
RuntimeError: RestrictedLogSoftmax not yet implemented for CUDA (contributions welcome!)

Does that mean this notebook can only run on CPU for now?

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