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

[autoparallel] add experimental permute handler #2029

Conversation

YuliangLiu0306
Copy link
Contributor

What does this PR do

  1. This PR integrates torch.reshape, torch.Tensor.reshape into view handler, and add related runtime passes for them.
  2. Complete the permute handler for torch.permute, torch.Tensor.permute, and transpose handler for torch.transpose, torch.Tensor.transpose.
  3. Fix a bug in _all_gahter, which leads to unreported bugs in non-contiguous tensors communication.
  4. Add unit test to test the numerical correctness for above handlers.

@feifeibear feifeibear merged commit 81330b0 into hpcaitech:main Nov 27, 2022
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 this pull request may close these issues.

None yet

2 participants