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

make_distributed_recv should accept ConvertibleToShape #394

Closed
kaushikcfd opened this issue Nov 23, 2022 · 0 comments · Fixed by #395
Closed

make_distributed_recv should accept ConvertibleToShape #394

kaushikcfd opened this issue Nov 23, 2022 · 0 comments · Fixed by #395

Comments

@kaushikcfd
Copy link
Collaborator

pt.make_distributed_recv(src_rank=0, comm_tag=42, shape=10, dtype=np.float64)

results in:

  File "/home/line/projects/pytato_env/src/pytato/pytato/distributed/nodes.py", line 266, in make_distributed_recv
    axes = _get_default_axes(len(shape))
                             ^^^^^^^^^^
TypeError: object of type 'int' has no len()
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