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

"This should be unreachable" error message hard to interpret #1579

Closed
yaroslavvb opened this issue Feb 22, 2018 · 0 comments · Fixed by #1666
Closed

"This should be unreachable" error message hard to interpret #1579

yaroslavvb opened this issue Feb 22, 2018 · 0 comments · Fixed by #1666

Comments

@yaroslavvb
Copy link
Contributor

I've seen this when forgetting to call ray.init(), maybe it should say ..Unreachable...Did you call ray.init()?

    return func(*args, **kwargs)
  File "/home/ubuntu/Dropbox/git0/tensorpack/tensorpack/train/base.py", line 253, in main_loop
    self.run_step()  # implemented by subclass
  File "resnet_numpy_concat_ray_test.py", line 184, in run_step
    ps = ParameterServer.remote(grad_values_flat.size)
  File "/home/ubuntu/anaconda3/envs/mxnet_p36/lib/python3.6/site-packages/ray/actor.py", line 761, in remote
    ray.worker.global_worker)
  File "/home/ubuntu/anaconda3/envs/mxnet_p36/lib/python3.6/site-packages/ray/actor.py", line 387, in export_actor_class
    assert False, "This should be unreachable."
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

Successfully merging a pull request may close this issue.

1 participant