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

Align directories and codegen with stock PyTorch #310

Merged
merged 68 commits into from
Sep 26, 2024
Merged

Conversation

ZhiweiYan-96
Copy link
Contributor

@ZhiweiYan-96 ZhiweiYan-96 commented May 23, 2024

Draft version for now. Only for design review.

Can be built, can be tested with simple ut, like test_xpu.py.

Not tested with other uts

Added supports includes

  • REGISTER_XPU_DISPATCH(add_stub, add_kernel)
  • TORCH_IMPL_FUNC

Copy link
Contributor

@dvrogozh dvrogozh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you are aligning project structure with pytorch, do you plan to move the code to the pytorch tree at some point? or this project will remain separate? If it will be separate, will it be reused elsewhere outside pytorch?

@fengyuan14 fengyuan14 changed the title [Draft] Align codegen with other backend in PyTorch Align directories and codegen with stock PyTorch Jun 19, 2024
@fengyuan14 fengyuan14 marked this pull request as draft June 28, 2024 08:07
@fengyuan14
Copy link
Contributor

Please emend the description of the PR, to give formal description on the feature.

@ZhiweiYan-96 ZhiweiYan-96 added this pull request to the merge queue Sep 26, 2024
Merged via the queue into main with commit 229a887 Sep 26, 2024
3 checks passed
@ZhiweiYan-96 ZhiweiYan-96 deleted the zhiwei/codegen branch September 26, 2024 09:49
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.

9 participants